mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-10 07:30:26 +00:00
197 lines
9.9 KiB
HTML
197 lines
9.9 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
|
|
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
|
|
<!--[if !IE]><!-->
|
|
<html lang="en">
|
|
<!--<![endif]-->
|
|
<!-- BEGIN HEAD -->
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>DNS Management System | Login</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<meta content="" name="description"/>
|
|
<meta content="" name="author"/>
|
|
<!-- BEGIN GLOBAL MANDATORY STYLES -->
|
|
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
|
|
<link href="{{ url_for('static', filename='global/plugins/font-awesome/css/font-awesome.min.css') }}" rel="stylesheet" type="text/css"/>
|
|
<link href="{{ url_for('static', filename='global/plugins/simple-line-icons/simple-line-icons.min.css') }}" rel="stylesheet" type="text/css"/>
|
|
<link href="{{ url_for('static', filename='global/plugins/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css"/>
|
|
<link href="{{ url_for('static', filename='global/plugins/uniform/css/uniform.default.css') }}" rel="stylesheet" type="text/css"/>
|
|
<!-- END GLOBAL MANDATORY STYLES -->
|
|
<!-- BEGIN PAGE LEVEL STYLES -->
|
|
<link href="{{ url_for('static', filename='admin/pages/css/login.css') }}" rel="stylesheet" type="text/css"/>
|
|
<!-- END PAGE LEVEL SCRIPTS -->
|
|
<!-- BEGIN THEME STYLES -->
|
|
<link href="{{ url_for('static', filename='global/css/components-md.css') }}" id="style_components" rel="stylesheet" type="text/css"/>
|
|
<link href="{{ url_for('static', filename='global/css/plugins-md.css') }}" rel="stylesheet" type="text/css"/>
|
|
<link href="{{ url_for('static', filename='admin/layout/css/layout.css') }}" rel="stylesheet" type="text/css"/>
|
|
<link href="{{ url_for('static', filename='admin/layout/css/themes/default.css') }}" rel="stylesheet" type="text/css" id="style_color"/>
|
|
<link href="{{ url_for('static', filename='admin/layout/css/custom.css') }}" rel="stylesheet" type="text/css"/>
|
|
<!-- END THEME STYLES -->
|
|
<link rel="shortcut icon" href="favicon.ico"/>
|
|
</head>
|
|
<!-- END HEAD -->
|
|
<!-- BEGIN BODY -->
|
|
<body class="page-md login">
|
|
<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
|
|
<div class="menu-toggler sidebar-toggler">
|
|
</div>
|
|
<!-- END SIDEBAR TOGGLER BUTTON -->
|
|
<!-- BEGIN LOGO -->
|
|
<div class="logo">
|
|
<a href="#">
|
|
<img src="{{ url_for('static', filename='global/img/be-logo.png') }}" width="15%" height="15%">
|
|
</a>
|
|
</div>
|
|
<!-- END LOGO -->
|
|
<!-- BEGIN LOGIN -->
|
|
<div class="content">
|
|
<!-- BEGIN LOGIN FORM -->
|
|
<form class="login-form" action="" method="post">
|
|
<h3 class="form-title">Sign In</h3>
|
|
{% if error %}
|
|
<div class="alert alert-danger">
|
|
<button class="close" data-close="alert"></button>
|
|
<span>
|
|
{{ error }} </span>
|
|
</div>
|
|
{% endif %}
|
|
<div class="alert alert-danger display-hide">
|
|
<button class="close" data-close="alert"></button>
|
|
<span>
|
|
Enter any username and password. </span>
|
|
</div>
|
|
<div class="form-group">
|
|
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
|
|
<label class="control-label visible-ie8 visible-ie9">Username</label>
|
|
<input class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="username" value="{{ request.form.username }}"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label visible-ie8 visible-ie9">Password</label>
|
|
<input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password" value="{{ request.form.password }}"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<select class="form-control" name="auth_method">
|
|
<option value="LOCAL">Default Authentication</option>
|
|
{% if ldap_enabled %}
|
|
<option value="LDAP">LDAP Authentication</option>
|
|
{% endif %}
|
|
</select>
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-success uppercase">Login</button>
|
|
<label class="rememberme check">
|
|
<input type="checkbox" name="remember" value="1"/>Remember </label>
|
|
<a href="javascript:;" id="forget-password" class="forget-password">Forgot Password?</a>
|
|
</div>
|
|
<div class="create-account">
|
|
<p>
|
|
<a href="javascript:;" id="register-btn" class="uppercase">Create an account</a>
|
|
</p>
|
|
</div>
|
|
</form>
|
|
<!-- END LOGIN FORM -->
|
|
<!-- BEGIN FORGOT PASSWORD FORM -->
|
|
<form class="forget-form" action="index.html" method="post">
|
|
<h3>Forget Password ?</h3>
|
|
<p>
|
|
Enter your e-mail address below to reset your password.
|
|
</p>
|
|
<div class="form-group">
|
|
<input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="Email" name="email"/>
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="button" id="back-btn" class="btn btn-default">Back</button>
|
|
<button type="submit" class="btn btn-success uppercase pull-right">Submit</button>
|
|
</div>
|
|
</form>
|
|
<!-- END FORGOT PASSWORD FORM -->
|
|
<!-- BEGIN REGISTRATION FORM -->
|
|
<form class="register-form" action="" method="post">
|
|
<h3>Sign Up</h3>
|
|
<p class="hint">
|
|
Enter your personal details below:
|
|
</p>
|
|
<div class="form-group">
|
|
<label class="control-label visible-ie8 visible-ie9">First Name</label>
|
|
<input class="form-control placeholder-no-fix" type="text" placeholder="First Name" name="firstname"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label visible-ie8 visible-ie9">Last Name</label>
|
|
<input class="form-control placeholder-no-fix" type="text" placeholder="Last Name" name="lastname"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
|
|
<label class="control-label visible-ie8 visible-ie9">Email</label>
|
|
<input class="form-control placeholder-no-fix" type="text" placeholder="Email" name="email"/>
|
|
</div>
|
|
<p class="hint">
|
|
Enter your account details below:
|
|
</p>
|
|
<div class="form-group">
|
|
<label class="control-label visible-ie8 visible-ie9">Username</label>
|
|
<input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="username"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label visible-ie8 visible-ie9">Password</label>
|
|
<input class="form-control placeholder-no-fix" type="password" autocomplete="off" id="register_password" placeholder="Password" name="password"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label visible-ie8 visible-ie9">Re-type Your Password</label>
|
|
<input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="Re-type Your Password" name="rpassword"/>
|
|
</div>
|
|
<div class="form-group margin-top-20 margin-bottom-20">
|
|
<label class="check">
|
|
<input type="checkbox" name="tnc"/> I agree to the <a href="javascript:;">
|
|
Terms of Service </a>
|
|
& <a href="javascript:;">
|
|
Privacy Policy </a>
|
|
</label>
|
|
<div id="register_tnc_error">
|
|
</div>
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="button" id="register-back-btn" class="btn btn-default">Back</button>
|
|
<button type="submit" id="register-submit-btn" class="btn btn-success uppercase pull-right">Submit</button>
|
|
</div>
|
|
</form>
|
|
<!-- END REGISTRATION FORM -->
|
|
</div>
|
|
<div class="copyright">
|
|
2015 © Khanh Ngo
|
|
</div>
|
|
<!-- END LOGIN -->
|
|
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
|
|
<!-- BEGIN CORE PLUGINS -->
|
|
<!--[if lt IE 9]>
|
|
<script src="{{ url_for('static', filename='global/plugins/respond.min.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='global/plugins/excanvas.min.js') }}"></script>
|
|
<![endif]-->
|
|
<script src="{{ url_for('static', filename='global/plugins/jquery.min.js') }}" type="text/javascript"></script>
|
|
<script src="{{ url_for('static', filename='global/plugins/jquery-migrate.min.js') }}" type="text/javascript"></script>
|
|
<script src="{{ url_for('static', filename='global/plugins/bootstrap/js/bootstrap.min.js') }}" type="text/javascript"></script>
|
|
<script src="{{ url_for('static', filename='global/plugins/jquery.blockui.min.js') }}" type="text/javascript"></script>
|
|
<script src="{{ url_for('static', filename='global/plugins/uniform/jquery.uniform.min.js') }}" type="text/javascript"></script>
|
|
<script src="{{ url_for('static', filename='global/plugins/jquery.cokie.min.js') }}" type="text/javascript"></script>
|
|
<!-- END CORE PLUGINS -->
|
|
<!-- BEGIN PAGE LEVEL PLUGINS -->
|
|
<script src="{{ url_for('static', filename='global/plugins/jquery-validation/js/jquery.validate.min.js') }}" type="text/javascript"></script>
|
|
<!-- END PAGE LEVEL PLUGINS -->
|
|
<!-- BEGIN PAGE LEVEL SCRIPTS -->
|
|
<script src="{{ url_for('static', filename='global/scripts/metronic.js') }}" type="text/javascript"></script>
|
|
<script src="{{ url_for('static', filename='admin/layout/scripts/layout.js') }}" type="text/javascript"></script>
|
|
<script src="{{ url_for('static', filename='admin/pages/scripts/login.js') }}" type="text/javascript"></script>
|
|
<!-- END PAGE LEVEL SCRIPTS -->
|
|
<script>
|
|
jQuery(document).ready(function() {
|
|
Metronic.init(); // init metronic core components
|
|
Layout.init(); // init current layout
|
|
Login.init();
|
|
});
|
|
</script>
|
|
<!-- END JAVASCRIPTS -->
|
|
</body>
|
|
<!-- END BODY -->
|
|
</html> |