login.vm

67 lines | 1.973 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.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">
			<div class="row az-login">
				<div class="col-lg-4">
				</div>
				<div class="col-lg-4">
					<div class="alert alert-danger" id="error-msg"></div>
					<div class="well">
						<form role="form" id="login-form">
							<fieldset>
								<legend>Login</legend>
								<div class="form-group">
									<input type="text" class="form-control" name="username" id="username" placeholder="username">
								</div>
								<div class="form-group">
									<input type="password" class="form-control" name="password" id="password" placeholder="password">
								</div>
								<div class="form-group">
									<button type="button" class="btn btn-primary btn-lg btn-block" id="login-submit">Login</button>
								</div>
							</fieldset>
						</form>
					</div><!-- /well -->
				</div>
				<div class="col-lg-4"></div>
			</div><!-- /row -->
  
#parse("azkaban/webapp/servlet/velocity/footer.vm")

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