-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
192 lines (169 loc) · 9.24 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
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" />
<meta name="renderer" content="webkit" />
<meta name="force-rendering" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>AnimePic</title>
<!-- MDUI CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/mdui.min.css" />
<!-- github-markdown-css -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@latest/github-markdown.min.css" />
<!-- FontAwesome CSS -->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha512-SfTiTlX6kk+qitfevl/7LibUOeJWlt9rbyDn92a1DqWOw9vWG2MFoays0sgObmWazO5BQPiFucnnEAjpAB+/Sw==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -->
<!-- JQuery -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<!-- markdown-it js -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/markdown-it.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-6NV7WFPHNF"></script> -->
<!-- <script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-6NV7WFPHNF");
</script> -->
<style type="text/css">
.mdui-collapse-item-body .mdui-list-item {
padding-left: 36px !important;
}
.mdui-menu-item > a {
display: grid !important;
}
.mdui-drawer .mdui-menu {
left: 10px !important;
}
.markdown-body {
--color-accent-fg: #4caf50;
--color-accent-emphasis: #4caf50;
}
.mdui-typo ul {
padding-left: 0 !important;
}
.mdui-list {
padding: 0 !important;
}
.mdui-panel-item-body {
padding: 0 !important;
}
</style>
</head>
<body class="mdui-theme-primary-green mdui-theme-accent-blue mdui-theme-layout-auto mdui-appbar-with-toolbar">
<div class="mdui-appbar mdui-appbar-fixed">
<div class="mdui-toolbar mdui-color-theme">
<a id="open-drawer" class="mdui-btn mdui-btn-icon">
<i class="mdui-icon material-icons">menu</i>
</a>
<a href="https://api.dnlab.net/animepic" class="mdui-typo-headline">AnimePic</a>
<div class="mdui-toolbar-spacer"></div>
<button class="mdui-textfield-icon mdui-btn mdui-btn-icon" mdui-dialog="{target: '#uploadDialog'}">
<i class="mdui-icon material-icons">file_upload</i>
</button>
</div>
</div>
<div class="mdui-container mdui-m-y-2">
<!-- <div class="mdui-container-fluid mdui-m-y-2 mdui-m-x-5"> -->
<div id="image-title" class="mdui-typo-title mdui-m-x-1"></div>
<div class="mdui-divider mdui-m-x-1"></div>
<div class="mdui-row">
<!-- 左边 -->
<div class="mdui-col-xs-12 mdui-col-md-8 mdui-m-y-1">
<!-- 图片区域 -->
<div id="image-area" class="mdui-grid-tile mdui-p-a-1 mdui-hidden">
<div class="mdui-card">
<!-- <image id="image" class="mdui-image-fluid" style="width: 100%; aspect-ratio: calc(16 / 9)" controls></image> -->
<img id="image" src="" class="mdui-img-fluid" alt="" />
</div>
</div>
<!-- 其他文件 -->
<!-- <div id="other-area" class="mdui-grid-tile mdui-p-a-1 mdui-hidden">
<div id="other-file" class="mdui-card" style="overflow: auto; max-height: 100vh"></div>
</div> -->
<!-- 介绍 -->
<div id="introduce-area" class="mdui-grid-tile mdui-p-a-1">
<!-- <div id="introduce-content" class="markdown-body mdui-p-a-4 mdui-card" style="border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 4px"></div> -->
<div id="introduce-content" class="markdown-body mdui-p-a-3 mdui-card"></div>
<div id="tags-content" class="mdui-panel mdui-p-y-2 mdui-typo mdui-hidden" mdui-panel>
<div id="system-tags" class="mdui-panel-item">
<div class="mdui-panel-item-header">
<div class="mdui-panel-item-title">System Tags</div>
<div class="mdui-panel-item-summary">安全性</div>
<i class="mdui-panel-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
</div>
<div class="mdui-panel-item-body">
<ul class="mdui-list"></ul>
</div>
</div>
<div id="character-tags" class="mdui-panel-item">
<div class="mdui-panel-item-header">
<div class="mdui-panel-item-title">Character Tags</div>
<div class="mdui-panel-item-summary">角色识别</div>
<i class="mdui-panel-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
</div>
<div class="mdui-panel-item-body">
<ul class="mdui-list"></ul>
</div>
</div>
<div id="general-tags" class="mdui-panel-item">
<div class="mdui-panel-item-header">
<div class="mdui-panel-item-title">General Tags</div>
<div class="mdui-panel-item-summary">其他标签</div>
<i class="mdui-panel-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
</div>
<div class="mdui-panel-item-body">
<ul class="mdui-list"></ul>
</div>
</div>
</div>
</div>
</div>
<!-- 右边 -->
<div class="mdui-col-xs-12 mdui-col-md-4 mdui-m-y-1">
<!-- 文件列表 -->
<!-- <div id="file-list-area" class="mdui-grid-tile mdui-p-a-1 mdui-hidden">
<div class="mdui-card">
<ul class="mdui-list" id="file-list" style="overflow: auto; max-height: 40vh"></ul>
</div>
</div> -->
<!-- <div class="mdui-divider mdui-m-x-1"></div> -->
<!-- 日志 -->
<div class="mdui-grid-tile mdui-p-a-1 mdui-hidden-sm-down">
<div class="mdui-card mdui-p-x-1" style="overflow: auto; min-height: 10vh; max-height: 28vh">
<div id="log">
<p>日志:</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Image Upload -->
<div class="mdui-dialog" id="uploadDialog">
<div class="mdui-dialog-title">图片上传</div>
<div id="upload-filename" class="mdui-dialog-content">还没选择文件</div>
<input accept="image/*" type="file" id="upload-image" class="mdui-hidden" />
<div class="mdui-dialog-actions">
<button id="upload-select" class="mdui-btn mdui-ripple">选择文件</button>
<button id="upload-submit" class="mdui-btn mdui-ripple" mdui-dialog-confirm>上传</button>
</div>
</div>
<!-- Copy Share Link -->
<!-- <div class="mdui-dialog" id="shareDialog">
<div class="mdui-dialog-title">点击按钮复制分享链接</div>
<div class="mdui-dialog-content">
<div class="mdui-textfield">
<input id="share-url" class="mdui-textfield-input" type="text" readonly mdui-dialog-confirm />
</div>
</div>
</div> -->
<!-- 隐藏区域 -->
<div id="introduce-markdown" class="mdui-hidden" mdtarget="#introduce-content" mdsource="./assets/md/index.md"></div>
<!-- MDUI JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/mdui.min.js"></script>
<script src="./assets/js/index.js"></script>
</body>
</html>