login.vm

54 lines | 1.753 kB Blame History Raw Download
#*
 * Copyright 2012 LinkedIn Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
*#

<!DOCTYPE html>
<html lang="en">
  <head>

#parse("azkaban/webapp/servlet/velocity/style.vm")
#parse("azkaban/webapp/servlet/velocity/javascript.vm")

    <script type="text/javascript" src="${context}/js/azkaban/view/login.js"></script>
    <script type="text/javascript">
      var contextURL = "${context}";
    </script>
  </head>
  <body>

#set ($current_page = "all")
#set ($navbar_disabled = 1)
#parse ("azkaban/webapp/servlet/velocity/nav.vm")

    <div class="container-full">
      <div class="login">
        <div class="alert alert-danger" id="error-msg"></div>
        <div class="well">
          <form id="login-form" role="form">
            <fieldset>
              <legend>Login</legend>
              <input type="text" class="form-control" name="username" id="username" placeholder="Username">
              <input type="password" class="form-control" name="password" id="password" placeholder="${passwordPlaceholder}">
              <button type="button" class="btn btn-primary btn-lg btn-block" id="login-submit">Login</button>
            </fieldset>
          </form>
        </div><!-- /.well -->
      </div><!-- /.login -->

    </div><!-- /container -->
  </body>
</html>