-
Notifications
You must be signed in to change notification settings - Fork 4
/
bnpm.html
165 lines (163 loc) · 9.55 KB
/
bnpm.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<title>BNPM - BlocklyNukkit Package Manager</title>
<link rel="stylesheet" href="./layui/css/layui.css">
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="./social-share/share.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/hung1001/font-awesome-pro@0ac23ca/css/all.css">
<script src="./js/jquery.min.js"></script>
<script src="./js/utils.js"></script>
<script src="./layui/layui.js"></script>
<script src="./layui/velocity.js"></script>
<script src="./layui/velocity-ui.js"></script>
<script src="./layui/pinyin.js"></script>
<script src="./js/prism.js"></script>
<script src="./showdown/showdown.min.js"></script>
<script src="./js/md.js"></script>
<script src="https://imgcache.qq.com/qcloud/cloudbase-js-sdk/1.4.1/cloudbase.js"></script>
<script src="https://imgcache.qq.com/qcloud/cloudbase-js-sdk/1.4.1/cloudbase.auth.js"></script>
<script src="https://imgcache.qq.com/qcloud/cloudbase-js-sdk/1.4.1/cloudbase.functions.js"></script>
<script src="https://imgcache.qq.com/qcloud/cloudbase-js-sdk/1.4.1/cloudbase.storage.js"></script>
<script src="https://imgcache.qq.com/qcloud/cloudbase-js-sdk/1.4.1/cloudbase.database.js"></script>
<script src="./js/account.js"></script>
<script src="./js/cloudMd.js"></script>
<script src="./js/bnpm.js"></script>
</head>
<body>
<!-- HEADER 顶部区域 -->
<div class="layui-header header">
<ul class="layui-nav" lay-filter="">
<img src="./img/BlocklyNukkitLogo_flat.svg" class="layui-nav-img nav-logo">
<li class="nav-title">BNPM</li>
<li id="userNav" class="layui-nav-item nav-user">
<a href="#"><img src="./img/user.svg" class="layui-nav-img"><span id="userNavName" act="loginDialog">点击登录</span></a>
<dl id="userNavOption" class="layui-nav-child">
<dd><a id="userNavOptionAccountSetting" href="#" act="accountSettingDialog"><i class="fal fa-user-cog"> 用户中心 </i></a></dd>
<dd>
<hr>
</dd>
<dd><a id="userNavOptionLogOut" href="#"><i class="fal fa-sign-out-alt"> 退出登录 </i></a></dd>
</dl>
</li>
</ul>
</div>
<!-- 内容区 -->
<div class="layui-container layui-text">
<!-- 上空行 -->
<div class="layui-row">
<br />
<h1 class="bnpm-title">BNPM 插件管理器</h1>
<br />
</div>
<div class="layui-row">
<form class="layui-form-item layui-col-xs11 layui-col-sm11 layui-col-md11">
<label class="layui-form-label">搜索插件</label>
<div class="layui-input-block">
<input id="searchPluginInput" type="search" name="searchPlugin" required placeholder="输入插件名称" autocomplete="off"
class="layui-input">
</div>
</form>
</div>
<div class="layui-row">
<div id="pluginList" class="bnpm-pluginList layui-col-xs10 layui-col-xs-offset1 layui-col-sm10 layui-col-sm-offset1 layui-col-md10 layui-col-md-offset1">
</div>
</div>
</div>
<!-- 对话框区 -->
<div id="dialogBox">
<!-- 登录表单 -->
<div id="loginDialog" class="layui-form dialog-box">
<div class="layui-form-item">
<label class="layui-form-label"><span class="fal fa-user fa-lg"></span> 账号</label>
<div class="layui-input-block">
<input id="loginDialogAccount" type="text" name="account" required lay-verify="required"
placeholder="用户名/邮箱" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"><span class="fal fa-key fa-lg"></span> 密码</label>
<div class="layui-input-block">
<input id="loginDialogPassword" type="password" name="password" required lay-verify="required"
placeholder="密码" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block layui-text layer-login_reg-helptext">
<span class="fa fa-question-circle fa-lg"></span> 没有BNWiki账号? <a href="#" act="registerDialog">点此注册</a>
</div>
</div>
</div>
<!-- 注册表单 -->
<div id="registerDialog" class="layui-form dialog-box">
<div class="layui-form-item">
<label class="layui-form-label layer-login_reg-icons-email"><span class="fal fa-user-friends fa-lg"></span> 邮箱</label>
<div class="layui-input-block">
<input id="registerDialogEmail" type="email" name="email" required lay-verify="required"
placeholder="请输入注册邮箱" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"><span class="fal fa-key fa-lg"></span> 密码</label>
<div class="layui-input-block">
<input id="registerDialogPassword" type="password" name="password" required lay-verify="required"
placeholder="请输入注册密码" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"><span class="fal fa-badge-check fa-lg"></span> 验证</label>
<div class="layui-input-block">
<input id="registerDialogRepeatPassword" type="password" name="password" required lay-verify="required"
placeholder="请验证您输入的注册密码" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block layui-text layer-login_reg-reghelptext">
<span class="fa fa-question-circle fa-lg"></span> 已有BNWiki账号? <a href="#" act="loginDialog">点此登录</a>
</div>
</div>
</div>
<!-- 用户中心表单 -->
<div id="accountSettingDialog" class="layui-form dialog-box" lay-filter="accountSettingDialog">
<div class="layui-form-item">
<label class="layui-form-label"><i class="fal fa-id-card"></i> 注册邮箱</label>
<div class="layui-input-block">
<input id="accountSettingDialogUserEmail" type="text" name="useremail" disabled="disabled"
class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label layer-ucenter-uid-label"><i class="fal fa-tags"></i> 用户UID</label>
<div class="layui-input-block">
<input id="accountSettingDialogUID" type="text" name="uid" disabled="disabled" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label layer-ucenter-label"><i class="fal fa-user-tag"></i> 用户名</label>
<div class="layui-input-block">
<input id="accountSettingDialogUsername" type="text" name="username" required lay-verify="required"
placeholder="请输入您想要设置的用户名" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"><i class="fal fa-venus-mars"></i> 性别设置</label>
<div class="layui-input-block">
<input type="radio" name="sex" value="MALE" title="男">
<input type="radio" name="sex" value="FEMALE" title="女">
<input type="radio" name="sex" value="UNKNOWN" title="保密" checked>
</div>
</div>
</div>
<!-- 插件详情表单 -->
<div id="pluginDetailDialog" class="dialog-box bnpm-plugin-detail-content" lay-filter="pluginDetailDialog">
<iframe id="pluginContent" class="bnpm-plugin-detail-iframe" frameborder="0" seamless="seamless" scrolling="auto" sandbox="allow-scripts allow-same-origin">
<!-- 插件介绍 -->
</iframe>
</div>
</div>
<script src="./js/bnpm_main.js"></script>
<script src="./js/You%20Found%20it.js"></script>
</body>
</html>