-
Notifications
You must be signed in to change notification settings - Fork 0
/
create-content.html
340 lines (273 loc) · 13.1 KB
/
create-content.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
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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="description" content="create different designs from the same info without coding">
<meta name="author" content="shachar oz">
<title>Item Visualizer</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="css/freelancer.css" rel="stylesheet" type="text/css">
<!-- slideshow cycle CSS -->
<link href="slideshow/css/extend-cycle2-slideshow.css" rel="stylesheet" type="text/css">
<!-- editor styles -->
<style type="text/css">
.any-item-spacing .item-caption-hover
{
position: absolute;
top: 10px;
background-color: rgba(0,0,0,0.5);
width: 87%;
height: 95%;
padding: 10px;
display: none;
}
.button-existed-list
{
color:yellow;
cursor: pointer;
}
.button-existed-list:hover
{
color:yellow;
text-decoration: underline;
cursor: pointer;
}
#load-previous-list , #create-new-list, #upload-list-from-raw-code {
visibility: hidden;
}
#add-one-more-item-bt {
visibility: hidden;
}
</style>
</head>
<body id="page-top" class="index black-theme" >
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<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="index.html">item visualizer</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 navbar-right">
<li class="hidden">
<a href="#page-top"></a>
</li>
<li class="page-scroll active">
<a href="#">add data</a>
</li>
<li class="page-scroll ">
<a href="design-variety.html">select design</a>
</li>
<li class="page-scroll">
<a href="#">edit design</a>
</li>
<li class="page-scroll">
<a href="http://www.otherreality.org/people/shacharoz/">who</a>
</li>
<!--li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Portfolio <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="portfolio-1-col.html">1 Column Portfolio</a>
</li>
<li><a href="portfolio-2-col.html">2 Column Portfolio</a>
</li>
<li><a href="portfolio-3-col.html">3 Column Portfolio</a>
</li>
<li><a href="portfolio-4-col.html">4 Column Portfolio</a>
</li>
<li><a href="portfolio-item.html">Single Portfolio Item</a>
</li>
</ul>
</li-->
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<br><br><br>
<section style="background-color:black; color:white; height: 50%; padding-top: 5%;">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="col-md-12">
<h1 class="text-center">1. create your content</h1>
<hr>
</div>
<div class="col-md-12">
<div class="col-md-2">
<button id="start-new-list-bt" type="button" class="btn btn-success btn-md" title="Create new list" style="width:100%">
+ New
</button>
</div>
<div class="col-md-2">
<button id="load-previous-list-bt" type="button" class="btn btn-success btn-md" title="Load previous list" style="width:100%">
+ Load
</button>
</div>
<div class="col-md-2">
<button id="upload-list-object-bt" type="button" class="btn btn-success btn-md" title="Upload your list data" style="width:100%">
+ Upload
</button>
</div>
</div>
<div id="create-new-list">
<div class="col-md-12">
<div class="col-md-4">
<p>Give your list a title: </p>
</div>
<div class="col-md-4">
<h3 id="storage-list-name" contenteditable="true" style="margin:0; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"></h3>
</div>
<div class="col-md-10">
i.e. "projects", "lectures", "photos_from_trip_to_spain"
</div>
</div>
</div>
<div id="load-previous-list">
<div class="col-md-12">
<div class="col-md-4">
<p>Choose from existed lists:</p>
</div>
<div class="col-md-4">
<div id="existed-lists"> </div>
</div>
</div>
</div>
<div id="upload-list-from-raw-code">
<div class="col-md-8">
<form class="form-horizontal">
<fieldset>
<div class="form-group">
<div class="col-md-12">
<textarea class="form-control" id="full-raw-list-object-code" name="raw-object-textarea">paste your code in here</textarea>
</div>
</div>
</fieldset>
</form>
</div>
<div class="col-md-2">
<button id="upload-object-bt" type="button" class="btn btn-success btn-md" title="Upload data" style="width:100%; height:65px">
+ Upload
</button>
</div>
</div>
<div class="col-md-12">
<!--div class="dropdown">
<a data-toggle="dropdown" data-target="#" href="/create-content.html">Dropdown trigger</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li>sdfsdflksdjf
</li>
<li>sdfsdflksdjf
</li>
<li>sdfsdflksdjf
</li>
</ul>
</div>
</div-->
</div>
<div class="col-md-12">
<div id="result-gallery">
<!--
Gallery code
<div class="col-md-6 col-md-offset-3">
<div class='cycle-slideshow' data-cycle-fx='scrollHorz' data-cycle-loader='true' data-cycle-auto-height='4:3' data-cycle-timeout='5000' data-cycle-pause-on-hover='true' data-cycle-overlay-template='<h4>{{title}}</h4><span>{{desc}}</span>' data-cycle-slides='li' style="min-height:250px;">
<div class='cycle-prev'>left</div>
<div class='cycle-next'>right</div>
<div class='cycle-overlay custom'></div>
<li data-cycle-title='project A title, year' data-cycle-desc=''> <a href='#' target='_blank'> <img src='http://dummyimage.com/600x400/aaaaaa/ffff00.jpg'> </a></li>
<li data-cycle-title='project V title, year' data-cycle-desc=''> <a href='#' target='_blank'> <img src='http://dummyimage.com/600x400/aaaaaa/ffff00.jpg'> </a></li>
<li data-cycle-title='project C title, year' data-cycle-desc=''> <a href='#' target='_blank'> <img src='http://dummyimage.com/600x400/aaaaaa/ffff00.jpg'> </a></li>
</div>
</div>
-->
</div>
<div class="col-md-6">
<button id="add-one-more-item-bt" type="button" class="btn btn-success btn-lg" style="width: 95%; height: 200px; margin-left: 2%; margin-top: 10px;">
+ Add one more
</button>
</div>
</div>
</div>
<div class="col-md-4" style="background-color:#111111;">
<h1 class="text-center">2. switch design</h1>
<button id="update-visualization-gallery-bt" type="button" class="btn btn-primary btn-lg">
+ Gallery
</button>
<button id="update-visualization-standard-items-bt" type="button" class="btn btn-primary btn-lg">
+ Items
</button>
<br><br>
<hr>
<br>
<h1 class="text-center">3. like it?</h1>
<button id="update-code-bt" type="button" class="btn btn-primary btn-lg">-> Generate Code</button>
<form class="form-horizontal">
<fieldset>
<!-- Textarea -->
<div class="form-group">
<label class="col-md-4 control-label" for="item-result-code">Result Code</label>
<div class="col-md-12">
<textarea class="form-control" readonly id="item-result-code" name="textarea">resulted code to copy</textarea>
</div>
</div>
</fieldset>
</form>
<hr>
<p>Think you might edit the content again? <a download="hello.txt" href="data:text/plain;charset=UTF-8,Hello%2C%20File!">
Save your raw data</a></p>
<p>Premium account would offer you space online, so you could manage your lists easier.</p>
<form class="form-horizontal">
<fieldset>
<div class="form-group">
<div class="col-md-12">
<textarea class="form-control" readonly id="full-list-object-code" name="object-textarea">raw data</textarea>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</section>
<br><br>
<!-- Footer -->
<footer class="text-center">
<div class="footer-below">
<div class="container">
<div class="row">
<div class="col-lg-12">
Copyright © 2014 - shachar oz
<br> thanks to Omer Goshen
</div>
</div>
</div>
</div>
</footer>
<div class="scroll-top page-scroll visible-xs visble-sm">
<a class="btn btn-primary" href="#page-top">
<i class="fa fa-chevron-up"></i>
</a>
</div>
<!-- Load JavaScript -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- jQuery always comes first. every other script needs it -->
<script src="js/jquery-1-10-2.js" type="text/javascript"></script>
<!-- slideshow from http://jquery.malsup.com/cycle2/demo/basic.php -->
<script src="http://malsup.github.com/jquery.cycle2.js" type="text/javascript"></script>
<!-- bootstrap
<script src="http://otherreality.org/people/shacharoz/js/bootstrap.min.js" type="text/javascript"></script> -->
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/print-content-object.js" type="text/javascript"></script>
</body>
</html>