-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
256 lines (229 loc) · 6.82 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<!DOCTYPE html>
<html lang="cn">
<head>
<meta charset="utf-8" />
<title>easyface</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/app.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<link rel="shortcut icon" href="assets/img/favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body>
<header class="navbar navbar-inverse navbar-fixed-top" role="banner">
<div class="navbar-header">
<a href="../" class="navbar-brand">Interface</a>
</div>
<ul class="toolbar" role="navigation">
<li>
<span class="glyphicon glyphicon-floppy-disk"></span>
保存
</li>
<li>
<span class="glyphicon glyphicon-play"></span>
预览
</li>
</ul>
</header>
<section class="mod-pagebar">
<div class="title"><h3>页面</h3></div>
<div class="page-list">
<ul>
<li class="on" data-pageid="1">
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li data-pageid="2">
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li data-pageid="1">
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li data-pageid="1">
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
</ul>
</div>
<div class="add">
<span class="glyphicon glyphicon-plus"></span>
新增页面
</div>
<input id="fileupload" type="file" name="files[]" multiple>
</section>
<section class="mod-editarea">
<div class="webapp-container">
<div class="mobile-page" id="mobile-page">
</div>
</div>
</section>
<div class="modal fade" role="dialog" style="display:;" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">选择页面</h4>
</div>
<div class="modal-body">
<div class="mod-select mod-page-select">
<h3>选择需跳转的页面:</h3>
<ul class="clearfix">
<li class="on">
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
<li>
<div class="thumb">
<img src="http://placekitten.com/640/960">
</div>
</li>
</ul>
</div>
<div class="mod-select mod-animate-select">
<h3>请选择页面切换动画</h3>
<ul>
<li class="ani-slideleft on">
<div class="front">前</div>
<div class="back">后</div>
</li>
<li class="ani-slideright">
<div class="front">前</div>
<div class="back">后</div>
</li>
<li class="ani-covertop">
<div class="front">前</div>
<div class="back">后</div>
</li>
<li class="ani-coverbottom">
<div class="front">前</div>
<div class="back">后</div>
</li>
<li class="ani-fade">
<div class="front">前</div>
<div class="back">后</div>
</li>
<li class="ani-flip">
<div class="front">前</div>
<div class="back">后</div>
</li>
</ul>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<button type="button" class="btn btn-primary">确定</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<script src="assets/js/jquery-1.10.1.min.js" type="text/javascript"></script>
<script src="assets/js/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
<script src="assets/js/jquery.fileupload.js" type="text/javascript"></script>
<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>
<script src="assets/js/app.js"></script>
<script>
jQuery(document).ready(function() {
App.init();
// $('#myModal').modal('show')
});
$(function () {
'use strict';
// Change this to the location of your server-side upload handler:
$('#fileupload').fileupload({
url: 'upload.php?id=111',
dataType: 'json',
done: function (e, data) {
$.each(data.result.files, function (index, file) {
// $('<p/>').text(file.name).appendTo('#files');
});
},
progressall: function (e, data) {
var progress = parseInt(data.loaded / data.total * 100, 10);
}
}).prop('disabled', !$.support.fileInput)
.parent().addClass($.support.fileInput ? undefined : 'disabled');
});
</script>
</html>