forked from jdittrich/quickMockup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
910 lines (781 loc) · 37.8 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
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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
<!DOCTYPE html>
<!-- LICENSE: © Jan Dittrich & Contributors, 2015, MIT License (See LICENSE.md) -->
<html>
<head>
<title>quickMockup</title>
<meta charset="UTF-8">
<meta name="description" content="">
<meta name="keywords" content="">
<script src="scripts/jquery.js"></script>
<script src="scripts/jquery-ui.js"></script>
<script src="scripts/showdown.js"></script>
<script src="scripts/showdownUIExtensions.js"></script>
<script src="scripts/mousetrap.js"></script>
<script src="scripts/jqUiEditMD2HTML.js"></script>
<link href="styles/jquery-ui.css" rel="stylesheet">
<style>
#toolbar, #widgetCollectionWrap{display:none;}
body, div{
padding:0;
margin:0;
}
.mockElement {
width: 50px;
height: 50px;
position: absolute;
}
.editableArea>p{
margin: 0 0 0 0;
padding: 0 0 0 0;
}
#canvas .custom-selected.ui-resizable>.ui-resizable-handle{
pointer-events: auto;
background: rgba(0,0,0,0); /*the following stylesheet shows these again. If only html is saved (and the mockup not interactive thus, they are hidden)*/
}
</style>
<link href="styles/quickMockupInteractive.css" rel="stylesheet">
<!--elements -->
<style>
/*all*/
.newMockElement, .mockElement{
box-sizing: border-box;
font-family: 'Comic Sans MS', 'Comic Sans', cursive;
position: relative;
}
.newMockElement > div.editableArea, .mockElement > div.editableArea{
width: 100%;
box-sizing: border-box;
}
.newMockElement, .mockElement{
width:150px; /*if not specifies otherwise*/
}
/*buttons*/
.newMockElement.button, .mockElement.button{
justify-content: center;
align-items: center;
display: flex;
border:2px solid #333;
border-radius:3px;
background:white;
width: 8em;
width: 8em;
height:3em;
box-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}
/*Window*/
.newMockElement.dialogWindow, .mockElement.dialogWindow{
border:2px solid gray;
border-radius:3px;
width: 400px;
height:200px;
}
.newMockElement.dialogWindow > .dialogWindow-bar, .mockElement.dialogWindow > .dialogWindow-bar{
background-color:silver;
border-bottom: 2px solid #333;
border-radius: 3px;
padding:7px;
height:1.6em;
}
.newMockElement.dialogWindow > div > .dialogWindow-closeButton, .mockElement.dialogWindow > div > .dialogWindow-closeButton{
padding:4px;
font-size:1.5em;
margin-top: -0.4em;
float:right;
}
newMockElement.dialogWindow > div > editableArea, .mockElement.dialogWindow > div > editableArea{
float:left;
padding:4px;
}
/*tabs*/
.newMockElement.tabs, .mockElement.tabs{
background: rgba(0,0,0,0);
width:30em;
}
.newMockElement.tabs>.editableArea, .mockElement.tabs>.editableArea{
border-bottom: 2px solid gray;
background: rgba(0,0,0,0);
box-sizing: border-box;
width:100%;
margin:0;
}
.newMockElement.tabs>.editableArea a, .mockElement.tabs>.editableArea a{
pointer-events: none; /*prevent accidental navigation*/
}
.newMockElement.tabs>.editableArea>ul, .mockElement.tabs>.editableArea>ul{
box-sizing: border-box;
width:100%;
margin:0;
padding:0;
}
.newMockElement.tabs>.editableArea>ul>li, .mockElement.tabs> .editableArea>ul>li{
display: inline-block;
padding: 5px 16px;
border: 1px solid gray;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
margin: 0 0 -2px 0.3em;
font-family: 'Comic Sans MS', 'Comic Sans', cursive;
}
.mockElement.tabs>.editableArea>ul>li.item-highlighted{
background: #DDD;
}
.newMockElement.label .mockElement.label{
width:7em;
}
/*headline*/
.newMockElement.headline>h1, .mockElement.headline>h1{
margin:0;
}
/*paragraph*/
.newMockElement.paragraph>p{
margin:0;
}
/*table*/
.newMockElement.table, .mockElement.table{
width:10em;
}
.newMockElement.table table, .mockElement.table table{
width: 100%;
border-collapse: collapse;
}
.newMockElement.table table td, .mockElement.table table td, .newMockElement.table table th, .mockElement.table table th{
border: 1px solid gray;
}
.newMockElement.table table th, .mockElement.table table th{
border-bottom: 2px solid black;
}
/*just a rectangle*/
.newMockElement.rect , .mockElement.rect{
border:2px solid #333;
width:200px;
height:200px;
}
/*optionlist*/
.newMockElement.optionRadiobutton , .mockElement.optionRadiobutton{
box-sizing: border-box;
}
.newMockElement.optionRadiobutton .editableArea li, .mockElement.optionRadiobutton .editableArea li{
display: block;
}
.newMockElement.optionRadiobutton ul, .mockElement.optionRadiobutton ul{
margin:0;
padding: 0;
}
.newMockElement.optionRadiobutton .editableArea li::before, .mockElement.optionRadiobutton .editableArea li::before{
content:"○ "
}
.newMockElement.optionRadiobutton .editableArea li.item-highlighted::before, .mockElement.optionRadiobutton .editableArea li.item-highlighted::before{
content:"◉ "
}
/*Checkboxes*/
.newMockElement.optionCheckbox , .mockElement.optionCheckbox{
box-sizing: border-box;
}
.newMockElement.optionCheckbox .editableArea li, .mockElement.optionCheckbox .editableArea li{
display: block;
}
.newMockElement.optionCheckbox ul, .mockElement.optionCheckbox ul{
margin:0;
padding: 0;
}
.newMockElement.optionCheckbox .editableArea li::before, .mockElement.optionCheckbox .editableArea li::before{
content:"☐ "
}
.newMockElement.optionCheckbox .editableArea li.item-highlighted::before, .mockElement.optionCheckbox .editableArea li.item-highlighted::before{
content:"☑ ";
}
/*Dropdown*/
.dropdownList{
border:2px solid gray;
border-radius: 3px;
padding: 0px 0 0px 0.4em;
display: table;
}
.dropdownList .editableArea{
display: table-cell;
text-align: center;
height: 100%;
vertical-align: middle;
}
.dropdownList .mockelement-dropdown-arrow{
border-left: 1px solid rgb(128, 128, 128);
padding: 0px 0.4em;
display: table-cell;
text-align: center;
height: 100%;
vertical-align: middle;
background: #EEE;
}
/*spinner*/
.newMockElement.spinner, .mockElement.spinner{
border:2px solid gray;
justify-content: center;
align-items: center;
display: flex;
border:2px solid #333;
}
.newMockElement.spinner::before, .mockElement.spinner::before{
content: "▴";
position: absolute;
display: flex;
justify-content: center;
align-items: center;
right: 0;
top: 0;
width: 1.5em;
height: 50%;
background: lightgray;
font-size: 0.7em;
}
.newMockElement.spinner::after, .mockElement.spinner::after{
content:"▾";
position: absolute;
display: flex;
justify-content: center;
align-items: center;
right: 0px;
bottom: 0px;
width: 1.5em;
height: 50%;
background: lightgray ;
font-size: 0.7em;
box-sizing: border-box;
padding-bottom: 0.2em;
border-top: 1px solid gray;
}
/*slider*/
.newMockElement.slider,
.mockElement.slider{
align-items: center;
display:flex;
}
.newMockElement.slider:before,
.mockElement.slider::before{
content:" ";
height:0.5em;
width:0.5em;
background: white;
border: 3px solid #333;
border-radius: 10em;
position: relative;
left:3em;
}
.newMockElement.slider:after,
.mockElement.slider::after{
content:" ";
height: 2px;
background: #222;
width:100%;
}
/*loading indicator*/
.newMockElement.loadingIndicator,
.mockElement.loadingIndicator{
border: 1px solid gray;
border-radius: 2px;
background-color: white;
padding: 0;
justify-content: center;
align-items: center;
display: flex;
position: relative
}
.newMockElement.loadingIndicator .bar,
.mockElement.loadingIndicator .bar{
margin: 0;
background-color: rgba(0, 0, 0, 0.21);
width: 70%;
display: block;
position: absolute;
height: 100%;
top: 0;
left: 0;
text-align: center;
}
/*entries vertical*/
.newMockElement.entries-horizontal, .mockElement.entries-horizontal{
background: rgba(0,0,0,0);
width:15em;
}
.newMockElement.entries-horizontal .editableArea, .mockElement.entries-horizontal .editableArea{
background: rgba(0,0,0,0);
box-sizing: border-box;
width:100%;
height: 100%;
margin:0;
}
.newMockElement.entries-horizontal .editableArea ul, .mockElement.entries-horizontal .editableArea ul{
box-sizing: border-box;
width:100%;
height: 100%;
margin:0;
padding:0;
display: table;
border-collapse: collapse;
}
.newMockElement.entries-horizontal ul li, .mockElement.entries-horizontal ul li{
display: table-cell;
padding: 0.2em;
border: 1px solid gray;
border-collapse: collapse;
margin: 0;
font-family: 'Comic Sans MS', 'Comic Sans', cursive;
text-align: center;
vertical-align: middle;
}
.mockElement.entries-horizontal ul li.item-highlighted{
background: #DDD;
}
/*entries horizontal*/
.newMockElement.entries-vertical, .mockElement.entries-vertical{
background: rgba(0,0,0,0);
width:30em;
}
.newMockElement.entries-vertical .editableArea, .mockElement.entries-vertical .editableArea{
background: rgba(0,0,0,0);
box-sizing: border-box;
width:100%;
height: 100%;
margin:0;
}
.newMockElement.entries-vertical .editableArea ul, .mockElement.entries-vertical .editableArea ul{
box-sizing: border-box;
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
display: flex;
flex-direction: column;
}
.newMockElement.entries-vertical ul li, .mockElement.entries-vertical ul li{
margin: 0px;
font-family: "Comic Sans MS","Comic Sans",cursive;
width: 150px;
padding: 0.2em;
flex: 1 1 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
border: 1px solid rgb(128, 128, 128);
border-collapse: collapse;
margin-top: -1px;
}
.mockElement.entries-vertical ul li.item-highlighted{
background: #DDD;
}
/*boxes vertical*/
.newMockElement.boxes-horizontal, .mockElement.boxes-horizontal{
background: rgba(0,0,0,0);
width:15em;
}
.newMockElement.boxes-horizontal .editableArea, .mockElement.boxes-horizontal .editableArea{
background: rgba(0,0,0,0);
box-sizing: border-box;
width:100%;
height: 100%;
margin:0;
}
.newMockElement.boxes-horizontal .editableArea ul, .mockElement.boxes-horizontal .editableArea ul{
box-sizing: border-box;
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
display: flex;
flex-direction: row;
}
.newMockElement.boxes-horizontal ul li, .mockElement.boxes-horizontal ul li{
padding: 0.2em;
border: 1px solid rgb(128, 128, 128);
font-family: "Comic Sans MS","Comic Sans",cursive;
margin: 0.2em;
display: flex;
flex: 1 1 auto;
align-items: center;
justify-content: center;
}
.mockElement.boxes-horizontal ul li.item-highlighted{
background: #DDD;
}
/*boxes vertical*/
.newMockElement.boxes-vertical, .mockElement.boxes-vertical{
background: rgba(0,0,0,0);
width:10em;
}
.newMockElement.boxes-vertical .editableArea, .mockElement.boxes-vertical .editableArea{
background: rgba(0,0,0,0);
box-sizing: border-box;
width:100%;
height: 100%;
margin:0;
}
.newMockElement.boxes-vertical .editableArea ul, .mockElement.boxes-vertical .editableArea ul{
box-sizing: border-box;
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
display: flex;
flex-direction: column;
}
.newMockElement.boxes-vertical ul li, .mockElement.boxes-vertical ul li{
margin: 1.5% 0 0 0;
font-family: "Comic Sans MS","Comic Sans",cursive;
width: 99%;
padding: 0.2em;
flex: 1 1 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
border: 1px solid rgb(128, 128, 128);
border-collapse: collapse;
}
.mockElement.boxes-vertical ul li.item-highlighted{
background: #DDD;
}
/*iconbar*/
.newMockElement.boxes-iconbar-horizontal ul>li, .mockElement.boxes-iconbar-horizontal ul>li{
border: 2px solid rgb(128, 128, 128);
display: flex;
justify-content: center;
font-size: 1.7em;
align-items: center;
border-radius: 3px;
color: rgb(51, 51, 51);
flex: 1 1 0%;
margin: 0.1em;
padding: 0.1em 0.1em 0.2em;
}
.newMockElement.boxes-iconbar-horizontal ul>li{
min-width: 1em;
}
/*image placeholder*/
.newMockElement.imageplaceholder, .mockElement.imageplaceholder{
color:darkgray;
background-color: lightgray;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
height:5em;
}
/*meta: note*/
.newMockElement.note, .mockElement.note{
background: #f7ee9e;
background: linear-gradient(to bottom, #f7ee9e 0%,#e0d68f 99%);
border: 0px none;
box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.4);
transform: rotate(-3deg);
width:150px;
height:150px;
}
.newMockElement.note > *, .mockElement.note > *{
transform: rotate(3deg); /*so the text is not rotated*/
}
.newMockElement.note .editableArea, .mockElement.note .editableArea{
padding:0.5em;
}
/*Meta: arrow note*/
.newMockElement.arrownote, .mockElement.arrownote{
background: #f7ee9e;
border: 0px none;
box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.4);
width:150px;
height:30px;
}
.newMockElement.arrownote .editableArea, .mockElement.arrownote .editableArea{
padding:0.2em;
}
.newMockElement.arrownote::before, .mockElement.arrownote::before{
width: 0;
height: 0;
margin-left:-15px;
margin-top:0px;
border-style: solid;
border-width: 15px 15px 15px 0;
border-color: transparent #eae193 transparent transparent;
content:"";
position:absolute
}
.newMockElement.note .editableArea, .mockElement.note .editableArea{
padding:0.5em;
}
</style>
</head>
<body>
<div id="appContainer">
<div id="widgetCollectionWrap">
<ul id="widgetCollection">
<!--
Tentative Description for creating elements:
In each list Element goes a div. This Div is the Interface Element which can be dragged to the canvas.
Each element has the class "newMockElement". This is changed to "mockElement" when it is added to the cavas.
Also each element can have other classes.
In the Div there can be other nested elements.
One of these elements *can* hold text that can be edited. This is done by adding the attribute "data-editablearea" to this element.
The way the text is edited can be customized, by adding the attribute data-editable-mode= to it. The attribute can have the following values: "markdown", "uielements", "plain". If you set nothing, markdown is assumed.
markdown: Is markdown with a table extension and the possibility to create radiobuttons via "(x)" and checkboxes via [x]
uielements: for creating lists where the items are seperated by a ";". List items can highlighted (item-highlighted class is added to the <li> element) by adding a "*" in front: "normal; normal; *I am Active; normal item again; …"
plain: plain text
DO: give your element an additional (aside the newMockupElement) class: "newMockupElement fooBarClass".
DO: Use ">" (direct child) instead of the " " (descendant operator); If elements are nested it can have strange side effects since the nested element will have styles that it did not have before.
DONT:
* give the element an id. The id is set by the script.
-->
<li title="button">
<div class="newMockElement button" data-editable-content="OK" data-editable-mode="plain">
<span class="editableArea">OK</span>
</div>
</li>
<li title="simple OS window"><!-- Dialog Window -->
<div class="newMockElement dialogWindow" data-editable-content="myWindow" data-editable-mode="plain">
<div class="dialogWindow-bar" >
<span class="editableArea">Titel</span>
<span class="dialogWindow-closeButton">×</span>
</div>
</div>
</li>
<li title="tabs"><!-- Tabs -->
<div class="newMockElement tabs" data-editable-content="Tab1;*Tab2; Tab3" data-editable-mode="uielements">
<div class="editableArea" >
<ul>
<li>Tab1</li>
<li>Tab2</li>
</ul>
</div>
</div>
</li>
<li title="Short text label">
<div class="newMockElement label" data-editable-content="label" data-editable-mode="plain">
<div class="editableArea">Label</div>
</div>
</li>
<li>
<div class="newMockElement headline" data-editable-content="headline1" data-editable-mode="plain">
<h1 class="editableArea">Headline1</h1>
</div>
</li>
<li title="Markdown-editable paragraph">
<div class="newMockElement paragraph" data-editable-content="
Paragraph
(Markdown **Supported** !)">
<div class="editableArea">
Paragraph
(Markdown<strong> Supported</strong>!)
</div>
</div>
</li>
<li title="markdown table">
<div class="newMockElement table" data-editable-content="
| h1 | h2 | h3 |
|:------|:-------:|--------:|
| lorem | ipsum | dolor |
| first | second | third |
">
<!-- -->
<div class="editableArea">
<table>
<thead>
<tr>
<th style="text-align:left;">h1</th>
<th style="text-align:center;">h2</th>
<th style="text-align:right;">h3</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left;">lorem</td>
<td style="text-align:center;">ipsum</td>
<td style="text-align:right;">dolor</td>
</tr>
<tr>
<td style="text-align:left;">first</td>
<td style="text-align:center;">second</td>
<td style="text-align:right;">third</td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li title="a rectangle">
<div class="newMockElement rect">
</div>
</li>
<li title="checkbox list">
<div class="newMockElement optionCheckbox" data-editable-content="bla; bla; *basd" data-editable-mode="uielements">
<div class="editableArea">
<ul>
<li>option</li>
<li class="item-highlighted">other option</li>
</ul>
</div>
</div>
</li>
<li title="radio-button list">
<div class="newMockElement optionRadiobutton" data-editable-content="bla; bla; *basd" data-editable-mode="uielements">
<div class="editableArea">
<ul>
<li>option</li>
<li class="item-highlighted">other option</li>
</ul>
</div>
</div>
</li>
<li title="dropdown element">
<div class="newMockElement dropdownList" data-editable-content="DropdownTitle" data-editable-mode="plain">
<span class="editableArea">Dropdown Title</span><span class="mockelement-dropdown-arrow">▾</span>
</div>
</li>
<li title="spinner element">
<div class="newMockElement spinner" data-editable-content="10" data-editable-mode="plain">
<span class="editableArea">10</span>
</div>
</li>
<li title="slider element">
<div class="newMockElement slider" >
<span> </span>
</div>
</li>
<li>
<div class="newMockElement loadingIndicator" >
<div class="bar"></div>
70%
</div>
</li>
<li title="horizontal list">
<div class="newMockElement entries-horizontal" data-editable-content="Entry1;Entry2;*Entry3" data-editable-mode="uielements">
<div class="editableArea" >
<ul>
<li>Entry1</li>
<li>Entry2</li>
<li>Entry3</li>
</ul>
</div>
</div>
</li>
<li title="vertical list">
<div class="newMockElement entries-vertical" data-editable-content="Entry1;Entry2;*Entry3" data-editable-mode="uielements">
<div class="editableArea" >
<ul>
<li>Entry1</li>
<li>Entry2</li>
<li>Entry3</li>
</ul>
</div>
</div>
</li>
<li title="horizontal boxes list (e.g. for toolbars)">
<div class="newMockElement boxes-horizontal" data-editable-content="Entry1;Entry2;*Entry3" data-editable-mode="uielements">
<div class="editableArea" >
<ul>
<li>Entry1</li>
<li>Entry2</li>
<li>Entry3</li>
</ul>
</div>
</div>
</li>
<li title="vertical boxes list (e.g. for toolbars)">
<div class="newMockElement boxes-vertical" data-editable-content="Entry1;Entry2;*Entry3" data-editable-mode="uielements">
<div class="editableArea" >
<ul>
<li>Entry1</li>
<li>Entry2</li>
<li>Entry3</li>
</ul>
</div>
</div>
</li>
<li title="horizontal boxes for toolbars">
<div class="newMockElement boxes-horizontal boxes-iconbar-horizontal" data-editable-content="☰;⌂;⚑; ⚙; ✂;✐;✔;✘;↶;↷;◂;▸; ▴;▾" data-editable-mode="uielements">
<div class="editableArea" >
<ul>
<li>☰</li><li>⌂</li><li>⚑</li><li> ⚙</li><li> ✂</li><li>✐</li><li>✔</li><li>✘</li><li>↶</li><li>↷</li><li>◂</li><li>▸</li><li> ▴</li><li>▾</li>
</ul>
</div>
</div>
</li>
<li title="image placeholder">
<div class="newMockElement imageplaceholder" data-editable-content="Image" data-editable-mode="plain">
<div class="editableArea" >
Image
</div>
</div>
</li>
<li title="Markdown-editable sticky note">
<div class="newMockElement meta-element note" data-editable-content="Notes here!" data-editable-mode="markdown">
<div class="editableArea" >
</div>
</div>
</li>
<li title="editable sticky arrow-note">
<div class="newMockElement meta-element arrownote" data-editable-content="Notes here!" data-editable-mode="plain">
<div class="editableArea" >
note!
</div>
</div>
</li>
</ul>
</div>
<div id="canvasWrap">
<div style="height: 2000px; width: 2000px;" class="ui-droppable" id="canvas">
<!-- this is example content-->
<!-- this is example content-->
<div id="mockElement_18339765751247" style="position: absolute; top: 21px; left: 22px; z-index: auto; width: 201px; right: auto; height: 30px; bottom: auto;" class="meta-element arrownote ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="Drag these elements in!" data-editable-mode="plain">
<div id="editableArea_18339765751247" class="editableArea">Drag these elements in!</div>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div id="mockElement_26761610563949" style="position: absolute; top: 223px; left: 25px; z-index: auto; width: 788px; right: auto; height: 440px; bottom: auto;" class="rect ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable">
<div id="mockElement_20253848676149" style="position: absolute; top: 8px; left: 34px; width: 548px;" class="headline ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="I try to solve a problem" data-editable-mode="plain">
<h1 id="editableArea_20253848676149" class="editableArea">I try to solve a problem</h1>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div id="mockElement_21414535692512" class="dialogWindow ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="myWindow" data-editable-mode="plain" style="border: 2px solid gray; border-radius: 3px; width: 473px; height: 269px; font-family: "Comic Sans MS","Comic Sans",cursive; position: absolute; top: 132px; left: 28px; z-index: auto; right: auto; bottom: auto;">
<div style="
background-color:silver;
border-bottom: 2px solid #333;
border-radius: 3px;
padding:7px;
height:1.6em;
">
<span id="editableArea_21414535692512" class="editableArea" style="float:left; padding:4px;">myWindow</span>
<span style="padding:4px; font-size:1.5em; margin-top: -0.4em; float:right;">×</span>
</div>
<div id="mockElement_70594603030604" style="position: absolute; top: 59px; left: 27px; height: 167px; width: 396px; z-index: auto; right: auto; bottom: auto;" class="tabs ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="Tab1;*Tab2; Tab3" data-editable-mode="uielements">
<div id="editableArea_70594603030604" class="editableArea"><ul><li>Tab1</li><li class="item-highlighted">Tab2</li><li> Tab3</li></ul></div>
<div id="mockElement_58964013194714" style="position: absolute; top: 47.4333px; left: 17px; z-index: auto; width: 150px; right: auto; height: 50px; bottom: auto;" class="optionRadiobutton ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="bla;*basd" data-editable-mode="uielements">
<div id="editableArea_58964013194714" class="editableArea"><ul><li>bla</li><li class="item-highlighted">basd</li></ul></div>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div id="mockElement_97303047754418" style="position: absolute; top: 57.4333px; left: 167px; width: 144px; height: 32px; z-index: auto; right: auto; bottom: auto;" class="dropdownList ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="DropdownTitle" data-editable-mode="plain">
<span id="editableArea_97303047754418" class="editableArea">DropdownTitle</span><span class="mockelement-dropdown-arrow">▾</span>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div id="mockElement_99523679837529" class="ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" style="justify-content: center; align-items: center; display: flex; border: 2px solid rgb(51, 51, 51); border-radius: 3px; font-family: "Comic Sans MS","Comic Sans",cursive; width: 128px; height: 31px; position: absolute; top: 122px; left: 182px; z-index: auto; right: auto; bottom: auto;" data-editable-content="OK" data-editable-mode="plain">
<span id="editableArea_99523679837529" class="editableArea">OK</span>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div id="mockElement_29811917473514" style="position: absolute; top: 23px; left: 453px; z-index: auto; width: 276px; right: auto; height: 30px; bottom: auto;" class="meta-element arrownote ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="Move elements by drag'n'drop" data-editable-mode="plain">
<div id="editableArea_29811917473514" class="editableArea">Move elements by drag'n'drop</div>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div id="mockElement_15091327889588" style="position: absolute; top: 64px; left: 454px; width: 274px;" class="meta-element arrownote ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="Edit text via doubleclick" data-editable-mode="plain">
<div id="editableArea_15091327889588" class="editableArea">Edit text via doubleclick</div>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div id="mockElement_64002219983074" style="position: absolute; top: 118.567px; left: 515.233px; z-index: auto; width: 196px; right: auto; height: 268px; bottom: auto;" class="meta-element note ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="There is no stack/layer management nor multiple element selection.
Elements are grouped by dragging one element on/in another. Grouped elements move with their parent(s)" data-editable-mode="markdown">
<div id="editableArea_64002219983074" class="editableArea"><p>There is no stack/layer management nor multiple element selection.
Elements are grouped by dragging one element on/in another. Grouped elements move with their parent(s)</p></div>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div>
<!-- example content end -->
<div id="mockElement_44991636269813" style="position: absolute; top: 14.2px; left: 238.9px; z-index: auto; width: 227px; right: auto; height: 146px; bottom: auto;" class="meta-element note ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="Delete elements using the del-Key or the toolbar button. Call up the resize canvas dialog by clicking on the button, when you run out of space" data-editable-mode="markdown">
<div id="editableArea_44991636269813" class="editableArea"><p>Delete elements using the del-Key or the toolbar button. Call up the resize canvas dialog by clicking on the button, when you run out of space</p></div>
<div style="z-index: 90;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90;" class="ui-resizable-handle ui-resizable-nw"></div></div><div id="mockElement_8514643096204" style="position: absolute; top: 222.6px; left: 793.467px; z-index: auto; width: 256px; right: auto; height: 266px; bottom: auto;" class="meta-element note ui-draggable ui-draggable-handle mockElement ui-resizable ui-droppable" data-editable-content="Saving: use your browser’s save function. If you save the "complete webpage", all code for editing is saved along; re-open and carry on designing! If you save "only html", you get a view-only version. " data-editable-mode="markdown">
<div id="editableArea_8514643096204" class="editableArea"><p>Saving: use your browser’s save function. If you save the "complete webpage", all code for editing is saved along; re-open and carry on designing! If you save "only html", you get a view-only version. </p></div>
<div style="z-index: 90; display: block;" class="ui-resizable-handle ui-resizable-n"></div><div style="z-index: 90; display: block;" class="ui-resizable-handle ui-resizable-e"></div><div style="z-index: 90; display: block;" class="ui-resizable-handle ui-resizable-s"></div><div style="z-index: 90; display: block;" class="ui-resizable-handle ui-resizable-w"></div><div style="z-index: 90; display: block;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div><div style="z-index: 90; display: block;" class="ui-resizable-handle ui-resizable-sw"></div><div style="z-index: 90; display: block;" class="ui-resizable-handle ui-resizable-ne"></div><div style="z-index: 90; display: block;" class="ui-resizable-handle ui-resizable-nw"></div></div>
<!-- example content end -->
</div>
</div>
<div id="toolbar">
<button class="delete-element-button" title="deletes the currently selected element">Delete Element</button>
<button class="undelete-element-button" title="undeletes most recently deleted element">↶</button>
<button class="change-canvasize-button" title="change size of the area you place elements on">Change Canvas Size</button>
</div>
<div id="changeCanvasSizeDialog" class="dialog">
<p>Change the size of the Canvas</p>
<label>Width:<br><input type="text" name="width"></label><br>
<label>Height:<br><input type="text" name="height"></label>
</div>
</div>
<script src="scripts/webedit.js"></script>
</body>
</html>