github.com/databricks/cli@v0.203.0/libs/auth/page.tmpl (about)

     1  <!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
     2  
     3  <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
     4    <head>
     5      <title>{{if .Error }}{{ .Error | title }}{{ else }}Success{{end}}</title>
     6      <link rel="preconnect" href="https://fonts.gstatic.com" />
     7      <link href="https://fonts.googleapis.com/css2?family=DM+Sans&display=swap" rel="stylesheet" />
     8  
     9      <style>
    10        html,
    11        body {
    12          height: 100%;
    13        }
    14  
    15        body {
    16          font-family: "DM Sans";
    17          font-style: normal;
    18          font-size: 14px;
    19          margin: 0;
    20          padding: 0;
    21          height: 100%;
    22          width: 100%;
    23          background: #f5f6f6;
    24          align-items: center;
    25        }
    26  
    27        .root-container {
    28          display: flex;
    29          height: 100%;
    30          align-items: center;
    31          justify-content: center;
    32        }
    33  
    34        .info-container {
    35          width: 320px;
    36          box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1),
    37            0px 8px 25px rgba(0, 0, 0, 0.1);
    38          border-radius: 8px;
    39          display: flex;
    40          flex-direction: column;
    41          padding: 48px;
    42          background: #fff;
    43          justify-content: center;
    44          align-items: center;
    45          text-align: center;
    46          gap: 24px;
    47        }
    48  
    49        .title {
    50          font-weight: 600;
    51          font-size: 24px;
    52          line-height: 28px;
    53        }
    54  
    55        a {
    56          color: #C4CCD6;
    57        }
    58  
    59        a:hover {
    60          color: #90A5B1;
    61        }
    62  
    63        .content {
    64          width: 300px;
    65          font-size: 14px;
    66        }
    67  
    68        .button {
    69          display: flex;
    70          background: #1B3139;
    71          align-items: center;
    72          justify-content: center;
    73          height: 40px;
    74          width: 300px;
    75          border-radius: 4px;
    76          text-align: center;
    77          text-decoration: none;
    78          color: #ffffff !important;
    79        }
    80      </style>
    81    </head>
    82  
    83    <body>
    84      <div class="root-container">
    85        <div class="info-container">
    86          <img
    87            src="data:image/svg+xml;base64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42N2gtMTMuNDdhMS4xOSAxLjE5IDAgMCAxLTEuMjItMS4xOFYxNC4zNWgtMTMuNzJ2MTguMTRhMS4xOSAxLjE5IDAgMCAxLTEuMTkgMS4xOWgtOS42NFY0NWg5LjYzYTEuMTggMS4xOCAwIDAgMSAxLjE5IDEuMTh2MjkuMWMwIDIxLjg4IDE0LjYgMjEuODggMjAuMSAyMS44OCIvPjwvZz48L3N2Zz4="
    88          />
    89          <!-- {{ if .Error }} -->
    90          <div class="title">{{ .Error | title }}</div>
    91          <div class="content">{{ .ErrorDescription }}</div>
    92          <!-- {{ else }} -->
    93          <div class="title">Authenticated</div>
    94          <div class="content">Go to <a href="{{.Host}}">{{.Host}}</a></div>
    95          <!-- {{ end }} -->
    96          <div class="content">
    97            You can close this tab. Or go to <a href="https://docs.databricks.com/dev-tools/index-cli.html">documentation</a>
    98          </div>
    99        </div>
   100      </div>
   101    </body>
   102  </html>