This repository was archived by the owner on Aug 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
64 lines (64 loc) · 2.77 KB
/
popup.html
File metadata and controls
64 lines (64 loc) · 2.77 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
</head>
<body>
<section class="hero is-fullheight is-medium is-primary is-bold">
<div class="hero-body">
<div class="container">
<div class="columns is-centered">
<article class="card is-rounded">
<div class="card-content">
<div id="login-panel">
<h1 id="title" class="title has-text-grey">
网络学堂登录
</h1>
<div class="field">
<div class="control has-icons-left">
<input id="username" class="input" type="text" placeholder="请输入账号">
<span class="icon is-medium is-left">
<i class="fas fa-user"></i>
</span>
</div>
</div>
<div class="field">
<div class="control has-icons-left">
<input id="password" class="input" type="password" placeholder="请输入密码">
<span class="icon is-medium is-left">
<i class="fas fa-lock"></i>
</span>
</div>
</div>
<div class="control">
<button id="login" class="button is-primary is-medium is-fullwidth">
登录
</button>
</div>
</div>
<div id="logout-panel" style="display:none">
<span class="icon is-large" style="float:left">
<i id="user-icon" class="fas fa-user" style="color:darkgray"></i>
</span>
<h1 id='username-online' class="title has-text-grey">
</h1>
<div class="control">
<button id="logout" class="button is-primary is-medium is-fullwidth">
注销
</button>
</div>
</div>
</div>
</article>
</div>
</div>
</div>
</section>
<script type="text/javascript" src="js/util.js"></script>
<script type="text/javascript" src="js/popup.js"></script>
</body>
</html>