mirror of
https://github.com/ehang-io/nps.git
synced 2025-10-21 12:33:29 +00:00
hzgjq
This commit is contained in:
@@ -6,41 +6,60 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>nps register</title>
|
||||
<title langtag="title-register"></title>
|
||||
|
||||
<!-- Mainly scripts -->
|
||||
<!-- Latest compiled and minified CSS -->
|
||||
<link href="{{.web_base_url}}/static/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="{{.web_base_url}}/static/css/solid.min.css" rel="stylesheet">
|
||||
<link href="{{.web_base_url}}/static/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="{{.web_base_url}}/static/font-awesome/css/font-awesome.css" rel="stylesheet">
|
||||
|
||||
<link href="{{.web_base_url}}/static/css/style.css" rel="stylesheet">
|
||||
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
<script src="{{.web_base_url}}/static/js/jquery-3.4.1.min.js"></script>
|
||||
<script src="{{.web_base_url}}/static/js/bootstrap.min.js"></script>
|
||||
<!-- Latest compiled and minified Locales -->
|
||||
<script src="{{.web_base_url}}/static/js/language.js" type="text/javascript"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="gray-bg">
|
||||
|
||||
<div class="middle-box text-center loginscreen animated fadeInDown">
|
||||
<div>
|
||||
<div class="row border-bottom">
|
||||
<nav class="navbar navbar-static-top navbar-right" role="navigation" style="margin: 20px 40px">
|
||||
<div></div>
|
||||
<span class="btn-group dropdown">
|
||||
<button id="languagemenu" class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-globe-asia fa-lg"></i><span></span></button>
|
||||
<ul class="dropdown-menu"></ul>
|
||||
</span>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="middle-box text-center loginscreen animated fadeInDown">
|
||||
<div>
|
||||
|
||||
<h1 class="logo-name">NPS</h1>
|
||||
|
||||
<h1 class="logo-name" langtag="application"></h1>
|
||||
</div>
|
||||
<h3>register NPS</h3>
|
||||
<h3 langtag="info-register"></h3>
|
||||
<p langtag="info-createaccount"></p>
|
||||
<form class="m-t" role="form" onsubmit="return false">
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" placeholder="username" name="username" required="">
|
||||
<input type="text" class="form-control" placeholder="username" name="username" required="" langtag="word-username">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="password" class="form-control" placeholder="password" name="password" required="">
|
||||
<input type="password" class="form-control" placeholder="password" name="password" required="" langtag="word-password">
|
||||
</div>
|
||||
<button onclick="register()" type="submit" class="btn btn-primary block full-width m-b">register</button>
|
||||
|
||||
<a class="btn btn-sm btn-white btn-block" href="{{.web_base_url}}/login/index">login</a>
|
||||
<button onclick="register()" type="submit" class="btn btn-primary block full-width m-b" langtag="word-register"></button>
|
||||
<p class="text-muted text-center"><small langtag="info-haveaccount"></small></p>
|
||||
<a class="btn btn-sm btn-white btn-block" href="{{.web_base_url}}/login/index" langtag="word-login"></a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="{{.web_base_url}}/static/js/jquery-2.1.1.js"></script>
|
||||
<hr/>
|
||||
<div class="footer">
|
||||
<div class="pull-right">
|
||||
<span langtag="word-readmore"></span> <strong><a href="https://ehang.io/nps" langtag="word-go"></a></strong>
|
||||
</div>
|
||||
<div><strong langtag="word-copyright"></strong> <span langtag="application"></span> © 2018-2019</div>
|
||||
</div>
|
||||
<script>
|
||||
window.nps = { "web_base_url": {{.web_base_url}} }
|
||||
function register() {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
|
Reference in New Issue
Block a user