mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 20:16:52 +00:00
hzgjq
This commit is contained in:
70
web/views/login/index.html
Executable file → Normal file
70
web/views/login/index.html
Executable file → Normal file
@@ -6,64 +6,86 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>nps admin login</title>
|
||||
<title langtag="title-login"></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="row border-bottom">
|
||||
<nav class="navbar navbar-static-top navbar-right" role="navigation" style="margin: 20px 40px">
|
||||
<div></div>
|
||||
<h1 style="margin:0px" class="navbar-header font-bold" langtag="application"></h1>
|
||||
<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="loginColumns animated fadeInDown">
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-md-offset-3 col-md-6">
|
||||
<h2 class="font-bold">nps</h2>
|
||||
<div class="col-md-6">
|
||||
|
||||
<p>
|
||||
A convenient proxy server
|
||||
</p>
|
||||
<h3 langtag="info-tagline"></h3>
|
||||
|
||||
<p>
|
||||
Using it, it can penetrate the intranet tcp、udp、socks5、http、p2p and so on
|
||||
</p>
|
||||
<li langtag="info-feature1"></li>
|
||||
<li langtag="info-feature2"></li>
|
||||
<li langtag="info-feature3"></li>
|
||||
<li langtag="info-feature4"></li>
|
||||
<li langtag="info-feature5"></li>
|
||||
<li langtag="info-feature6"></li>
|
||||
<li langtag="info-feature7"></li>
|
||||
<li langtag="info-feature8"></li>
|
||||
<li langtag="info-feature9"></li>
|
||||
|
||||
<p>
|
||||
and more?
|
||||
</p>
|
||||
|
||||
<p>
|
||||
goto <a href="//ehang.io/nps">nps</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="ibox-content">
|
||||
<form class="m-t" onsubmit="return false">
|
||||
<div class="form-group">
|
||||
<input name="username" class="form-control" placeholder="username" required="">
|
||||
<input name="username" class="form-control" placeholder="username" required="" langtag="word-username">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input name="password" type="password" class="form-control" placeholder="password" required="">
|
||||
<input name="password" type="password" class="form-control" placeholder="password" required="" langtag="word-password">
|
||||
</div>
|
||||
<button onclick="login()" class="btn btn-primary block full-width m-b">login</button>
|
||||
<button onclick="login()" class="btn btn-primary block full-width m-b" langtag="word-login"></button>
|
||||
{{if eq true .register_allow}}
|
||||
<a class="btn btn-sm btn-white btn-block" href="{{.web_base_url}}/login/register">register</a>
|
||||
<p class="text-muted text-center"><small langtag="info-noaccount"></small></p>
|
||||
<a class="btn btn-sm btn-white btn-block" href="{{.web_base_url}}/login/register" langtag="word-register"></a>
|
||||
{{end}}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<script src="{{.web_base_url}}/static/js/jquery-2.1.1.js"></script>
|
||||
</html>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
window.nps = { "web_base_url": {{.web_base_url}} }
|
||||
// Login Page Flipbox control
|
||||
function login() {
|
||||
$.ajax({
|
||||
|
Reference in New Issue
Block a user