github.com/bluestoneag/bluephish@v0.1.0/templates/login.html (about)

     1  {{ define "base" }}
     2  <!DOCTYPE html>
     3  <html lang="en">
     4  
     5  <head>
     6      <meta charset="utf-8">
     7      <meta http-equiv="X-UA-Compatible" content="IE=edge">
     8      <meta name="viewport" content="width=device-width, initial-scale=1.0">
     9      <meta name="description" content="Gophish - Open-Source Phishing Toolkit">
    10      <meta name="author" content="Jordan Wright (http://github.com/jordan-wright)">
    11      <link rel="shortcut icon" href="/images/favicon.ico">
    12  
    13      <title>BluePhish - {{ .Title }}</title>
    14  
    15      <link href="/css/dist/gophish.css" rel="stylesheet">
    16      <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,600,700' rel='stylesheet' type='text/css'>
    17  </head>
    18  
    19  <body>
    20      <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    21          <div class="container-fluid">
    22              <div class="navbar-header">
    23                  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
    24                      <span class="sr-only">Toggle navigation</span>
    25                      <span class="icon-bar"></span>
    26                      <span class="icon-bar"></span>
    27                      <span class="icon-bar"></span>
    28                  </button>
    29                  <img class="navbar-logo" src="/images/bluephish_logo_small_white.png" />
    30              </div>
    31              <div class="navbar-collapse collapse">
    32                  <ul class="nav navbar-nav navbar-right">
    33                      <li>
    34                          <a id="login-button" href="/login">
    35                              <button type="button" class="btn btn-primary">Login</button>
    36                          </a>
    37                      </li>
    38                  </ul>
    39              </div>
    40          </div>
    41      </div>
    42      <div class="container">
    43          <form class="form-signin" action="" method="POST">
    44              <img id="logo" src="/images/logo.png" />
    45              <h2 class="form-signin-heading">Please sign in</h2>
    46              {{template "flashes" .Flashes}}
    47              <input type="text" name="username" class="form-control top-input" placeholder="Username" required autofocus>
    48              <input type="password" name="password" class="form-control bottom-input" placeholder="Password" autocomplete="off" required>
    49              <input type="hidden" name="csrf_token" value="{{.Token}}" />
    50              <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
    51          </form>
    52      </div>
    53      <!-- Placed at the end of the document so the pages load faster -->
    54      <script src="/js/dist/vendor.min.js"></script>
    55  </body>
    56  
    57  </html>
    58  {{ end }}