This repository was archived by the owner on Aug 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
executable file
·159 lines (145 loc) · 4.97 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>微信公众号助手</title>
<link rel="stylesheet" href="./styles/index.css" />
<link rel="stylesheet" href="./styles/prism-tomorrow.css" id="prismTheme" />
<link rel="stylesheet" href="./lib/codemirror/lib/codemirror.css" />
<link rel="stylesheet" href="./styles/base16-light.css" />
<style>
.CodeMirror {
line-height: 1.6;
min-height: 100%;
}
</style>
</head>
<body>
<div class="header">
<div class="article-meta">
<span>作者:</span>
<input type="text" id="authorName" class="meta-author" />
<span>文章地址:</span>
<input type="text" id="articleURL" class="meta-url" />
</div>
<div class="btns">
<a href="#" id="jsNewBtn" title="重新选择文章">New</a>
<a href="#" id="jsChangeTheme" title="切换代码样式">Code Style</a>
<a href="#" id="jsWeekly" title="编辑奇舞周刊">Weekly</a>
<a href="#" id="jsJustCopy" title="仅复制到剪切板">Copy</a>
<a href="#" id="jsWxInjectBtn" title="注入到微信编辑器中">Inject</a>
</div>
</div>
<div class="container">
<div class="md-editor editor-wrapper">
<textarea id="jsMdEditor" class="md-editor"></textarea>
</div>
<div class="md-preview"><div class="statusbar"></div></div>
</div>
<div class="pop-mask">
<div class="pop-content">
<input
type="text"
id="jsURL"
class="url-input"
placeholder="请输入文章地址"
autofocus
/>
<div class="error-tip">
请输入正确格式的 url
</div>
<a class="submit-btn" href="#">确认抓取</a>
</div>
</div>
<div class="pop-form-mask">
<form id="weeklyForm" class="pop-form-content">
<div class="left-part">
<label>
期数
<i class="net-err">发生网络错误,抓取失败,请检查</i>
</label>
<input
type="number"
id="weeklyIndex"
placeholder="请输入周刊期数"
min="1"
required
/>
<label>作者</label>
<input
type="text"
id="weeklyAuthor"
placeholder="请输入编辑姓名"
value="文蔺"
maxlength="20"
required
/>
<label>封面</label>
<div class="file-group">
<input
type="text"
id="weeklyCoverURL"
placeholder="请输入有效图片地址"
/>
<label title="选择文件">
<input type="file" id="weeklyCoverFile" accept="image/*" />
</label>
</div>
<label>动图</label>
<div class="file-group">
<input
type="text"
id="weeklyAnimURL"
placeholder="请输入有效图片地址"
/>
<label title="选择文件">
<input type="file" id="weeklyAnimFile" accept="image/*" />
</label>
</div>
<label>动图作者</label>
<input
type="text"
id="weeklyAnimSrc"
placeholder="请输入动图作者"
maxlength="100"
/>
</div>
<div class="right-part">
<label>
摘要
<i id="randomAbstract">换换看</i>
</label>
<textarea id="weeklyAbstract"></textarea>
<label>
欢迎语
<i id="randomLeading">换换看</i>
</label>
<textarea id="weeklyLeading"></textarea>
<a id="weeklyDone" class="edit-done" href="#">周刊编辑完成</a>
</div>
</form>
</div>
<script src="./lib/prism.all.js"></script>
<script src="./lib/marked.min.js"></script>
<script src="./lib/to-markdown.js"></script>
<script src="./lib/codemirror/lib/codemirror.js"></script>
<script src="./lib/codemirror/overlay.js"></script>
<script src="./lib/codemirror/markdown/markdown.js"></script>
<script src="./lib/codemirror/gfm/gfm.js"></script>
<script src="./lib/codemirror/javascript/javascript.js"></script>
<script src="./lib/codemirror/css/css.js"></script>
<!--<script src="./lib/codemirror/xml/xml.js"></script>-->
<script src="./lib/codemirror/htmlmixed/htmlmixed.js"></script>
<script src="./lib/md5.js"></script>
<script src="./lib/beautify.js"></script>
<script src="./lib/beautify-css.js"></script>
<script src="./lib/beautify-html.js"></script>
<script src="./scripts/imgReduce.js"></script>
<script src="./scripts/common.js"></script>
<script src="./scripts/editor.js"></script>
<script src="./scripts/getContent.js"></script>
<script src="./scripts/weeklyInjector.js"></script>
<script src="./scripts/main.js"></script>
</body>
</html>