-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-edit.php
323 lines (256 loc) · 12.5 KB
/
content-edit.php
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<?php include("templates/html-header.php"); ?>
<!-- main pages -->
<div id="pt-main" class="pt-perspective m-content m-content-edit">
<!-- navbar -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#" data-layer="offcanavas">XOV</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="#"><i class="fa fa-copy"></i></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-circle-o"></i> Draft <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#"><i class="fa fa-circle-o"></i> Draft</a></li>
<li><a href="#"><i class="fa fa-adjust"></i> Ready for edit</a></li>
<li><a href="#"> <i class="fa fa-circle"></i> Complete</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-circle-o"></i> Unpublished <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#" data-layer="open" data-animation="1" data-layer-target=".modal-publish"><i class="fa fa-circle"></i> Publish now</a></li>
<li><a href="#" data-layer="open" data-animation="1" data-layer-target=".modal-schedule"><i class="fa fa-calendar"></i> Schedule</a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-right">
<li class="navbar-text"><i class="fa fa-save"></i> SAVED 2 SECS AGO</li>
<li class="navbar-text"><i class="fa fa-clock-o"></i> 2.2 MINUTES</li>
<li class="navbar-text"><i class="fa fa-align-left"></i> 504 WORDS</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!-- navbar end-->
<div class="pt-layer scrollable has-navbar">
<!-- page 0 content -->
<div class="container m-content-edit--main">
<div class="row">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
ARTICLE TITLE
</div>
<div class="title col-xs-9 col-sm-9 autoresize">
<textarea name="" id="" cols="30" rows="3">The Caffeinated, Cruelty-Free Eye Cream That Makes It Easier To Pretend I Slept Well</textarea>
</div>
</div>
<div class="row ">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
ABSTRACT
</div>
<div class="abstract col-xs-9 col-sm-7 autoresize">
<textarea name="" id="" cols="30">I don't drink coffee, but putting it on my face is another story.</textarea>
</div>
</div>
<div class="row dashed">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
CONTENT
</div>
<div class="content col-xs-9 col-sm-7 autoresize">
<textarea name="" id="" cols="60" rows="10">My idea of beauty is simple: be healthy, and beauty is pretty much taken care of. That starts with lots of water, a good diet, exercise, laughing a bunch, avoiding things that I know mess up my face, and getting a solid eight every night. Hours of sleep, you guys. Heavens!
</textarea>
</div>
</div>
<div class="row ">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
Author
</div>
<div class="author col-xs-9 col-sm-7">
<input type="text" id="" value="Marci Robin" placeholder="author name">
</div>
</div>
<div class="row">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
Promo Title
</div>
<div class="promo-title col-xs-9 col-sm-7 autoresize">
<textarea name="" id="" cols="30" rows="3">The Caffeinated, Cruelty-Free Eye Cream That Makes It Easier To Pretend I Slept Well</textarea>
</div>
</div>
<div class="row">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
Promo Image
</div>
<div class="promo-title col-xs-9 col-sm-7">
image
<button type="submit" data-layer="open" data-animation="2" data-layer-target=".modal-media-library"> Select image</button>
</div>
</div>
<div class="row">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
Section name
</div>
<div class="promo-title col-xs-9 col-sm-7">
<input type="text" name="" id="" value="Skin" placeholder="section name"/>
</div>
</div>
<div class="row">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
Slug
</div>
<div class="promo-title col-xs-9 col-sm-7">
<input type="text" name="" id="" value="page-slug.html" placeholder="slug"/>
</div>
</div>
<div class="row">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
Tags
</div>
<div class="promo-title col-xs-9 col-sm-7">
<input class="search" type="text" name="" id="mytags" placeholder="add new tag"
value="Articles,Products" data-role="tagsinput">
</div>
</div>
<div class="row">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
Article type
</div>
<div class="promo-title col-xs-9 col-sm-7">
<select class="form-control">
<option value="">standard</option>
<option value="">featured</option>
</select>
</div>
</div>
<div class="row">
<div class="m-label col-xs-3 col-sm-3 col-md-3 col-lg-3">
Card type
</div>
<div class="promo-title col-xs-9 col-sm-7">
<select class="form-control">
<option value="">image</option>
<option value="">text</option>
<option value="">standard</option>
</select>
</div>
</div>
</div> <!-- page 0 content end -->
</div> <!-- end base page 0-->
<div class="pt-layer pt-layer-1 modal-fullscreen modal-delete">
<!-- layer content-->
<div class="modal-body">
<form role="form">
<div class="modal-body-content">
<div class="modal--hed">Are you sure you want to DELETE this item? You cannot undo this
action.
</div>
<div class="modal--copy">
<div><i class="fa fa-shopping-cart"></i></div>
<div>I Decree Your Thread Open! Anne-Marie</div>
<div>
<div><i class="fa fa-circle"></i>Draft</div>
<div><i class="fa fa-circle"></i>Unpublished</div>
</div>
<div class="row modal--confirm">
<div class="form-group">
<label for="iConfirm">If so, type DELETE in the field below.</label>
<input id="iConfirm" class="form-control" type="text" placeholder="type DELETE here"/>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-cancel" data-layer="dimmis">Cancel</button>
<button type="button" class="btn btn-action" data-layer="dimmis">Delete</button>
</div>
</form>
</div>
<!-- end of layer content-->
</div>
<div class="pt-layer pt-layer-2 modal-fullscreen modal-publish">
<!-- layer content-->
<div class="modal-body">
<form role="form">
<div class="modal-body-content center">
<div class="modal--hed">Are you sure you want to publish now?</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-cancel" data-layer="dimmis">Cancel</button>
<button type="button" class="btn btn-action" data-layer="open" data-animation="1" data-layer-target=".modal-published">Publish</button>
</div>
</form>
</div>
<!-- end of layer content-->
</div>
<div class="pt-layer pt-layer-3 modal-fullscreen modal-schedule">
<!-- layer content-->
<div class="modal-body">
<form role="form">
<div class="modal-body-content center">
<div class="modal--hed">Schedule Publish Date/Time</div>
<div> calednar/widget here</div>
<div> set to publish at:</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-cancel" data-layer="dimmis">Cancel</button>
<button type="button" class="btn btn-action" data-layer="open" data-animation="1" data-layer-target=".modal-scheduled">Schedule it!</button>
<div class="help">ESC to cancel</div>
</div>
</form>
</div>
<!-- end of layer content-->
</div>
<div class="pt-layer pt-layer-4 modal-fullscreen modal-scheduled">
<!-- layer content-->
<div class="modal-body">
<form role="form">
<div class="modal-body-content center">
<div class="modal--hed"><i class="fa fa-clock-o"></i> Scheduled!</div>
<div> Your article has been scheduled to publish on xoVain at:</div>
<div> 03/14/2014 - 1:34 PM - PST</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-cancel" data-layer="dimmis-all">Close</button>
</div>
</form>
</div>
<!-- end of layer content-->
</div>
<div class="pt-layer modal-fullscreen modal-published">
<!-- layer content-->
<div class="modal-body">
<form role="form">
<div class="modal-body-content center">
<div class="modal--hed"><i class="fa fa-trophy"></i> Awesome!</div>
<div> Your article has been published on xoVain at:</div>
<div> 03/14/2014 - 1:34 PM - PST</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-cancel" data-layer="dimmis-all">Close</button>
</div>
</form>
</div>
<!-- end of layer content-->
</div>
<?php include("templates/modal-content--create-content.php"); ?>
<?php include("templates/media-library.php"); ?>
</div>
<!-- offcanavas menu -->
<?php include("templates/html-offcanavas-menu.php"); ?>
<?php include("templates/html-scripts-global.php"); ?>
<script>
$(function () {
// LayerTransitions.showSinglePage(2, '.modal-media-library');
});
</script>
<?php include("templates/html-footer.php"); ?>