-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
45 lines (39 loc) · 1.51 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>databaseAdmin</title>
<!-- <link rel="shortcut icon" href="./assets/images/logo_favicon .ico" /> -->
<link rel="stylesheet" type="text/css" href="./assets/css/login.css">
<script type="text/javascript" src="./assets/js/vector.js"></script>
<script type="text/javascript" src="./node_modules/jquery/dist/jquery.min.js"></script>
</head>
<body>
<div id="container">
<div id="output">
<div class="containerT" style="position: absolute; top: 50%; left: 50%;">
<img src="./img/logo4.png" style="width: 100px;">
<h1 style="color: #ffffff; font-weight:bold; font-size:large;">databaseAdmin</h1>
<form class="form" id="entry_form" action="./assets/php/pages/login.php" method="POST">
<input type="text" placeholder="用户名" id="entry_name" name="userName" >
<input type="password" placeholder="密码" id="entry_password" name="password">
<button type="submit" id="entry_btn">登录</button>
</form>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
Victor("container", "output"); //登录背景函数
$("#entry_name").focus();
$(document).keydown(function (event) {
if (event.keyCode == 13) {
$("#entry_btn").click();
}
});
});
</script>
</body>
</html>