-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (120 loc) · 6.61 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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>LPS</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link rel="stylesheet" type="text/css" href="css/resize.css">
<link rel="stylesheet" type="text/css" href="css/button.css">
<link rel="stylesheet" type="text/css" href="css/box.css">
<script src="js/libs/require-min.js"></script>
</head>
<body>
<div data-component="arena" class="arena" aria-dropeffect="move">
<div class="outer-editable">
<div class="editable">
<div data-component="button" class="component-button" data-resizable="full" aria-disabled="false" aria-pressed="false" style="top:210px;left:123px;width:250px;height:75px;" draggable="true">
<div class="outer-editable">
<div class="editable">
<a href=""></a>
<button type="button" contenteditable="false">
<div>Button</div>
</button>
</div>
<div class="backdrop"></div>
</div>
</div>
<div data-component="box" data-resizable="full" aria-dropeffect="move" class="box" style="top:20px;left:400px;width:300px;height:300px;" draggable="true">
<div class="outer-editable">
<div class="editable">
<div data-component="button" class="component-button" data-locked="true" data-resizable="none" aria-disabled="false" aria-pressed="false" style="top:20px;left:20px;width:250px;height:75px;" draggable="true">
<div class="outer-editable">
<div class="editable">
<a href=""></a>
<button type="button" contenteditable="false">
<div>Locked Button</div>
</button>
</div>
<div class="backdrop"></div>
</div>
</div>
</div>
<div class="backdrop"></div>
</div>
</div>
<!-- Examples -->
<div data-component="box" data-resizable="vertical" aria-dropeffect="move" class="box" style="top:20px;left:20px;width:50px;height:50px;" draggable="true">
<div class="outer-editable">
<div class="editable">
VER
</div>
<div class="backdrop"></div>
</div>
</div>
<div data-component="box" data-resizable="horizontal" aria-dropeffect="move" class="box" style="top:20px;left:80px;width:50px;height:50px;" draggable="true">
<div class="outer-editable">
<div class="editable">
HOR
</div>
<div class="backdrop"></div>
</div>
</div>
<div data-component="box" data-resizable="centered-horizontal" aria-dropeffect="move" class="box" style="top:20px;left:140px;width:50px;height:50px;" draggable="true">
<div class="outer-editable">
<div class="editable">
CEN-HOR
</div>
<div class="backdrop"></div>
</div>
</div>
<div data-component="box" data-resizable="centered-vertical" aria-dropeffect="move" class="box" style="top:20px;left:200px;width:50px;height:50px;" draggable="true">
<div class="outer-editable">
<div class="editable">
CEN-VER
</div>
<div class="backdrop"></div>
</div>
</div>
<div data-component="box" data-resizable="full" aria-dropeffect="move" class="box" style="top:80px;left:20px;width:50px;height:50px;" draggable="true">
<div class="outer-editable">
<div class="editable">
FULL
</div>
<div class="backdrop"></div>
</div>
</div>
<div data-component="box" data-resizable="diagonal" aria-dropeffect="move" class="box" style="top:80px;left:80px;width:50px;height:50px;" draggable="true">
<div class="outer-editable">
<div class="editable">
DIAG
</div>
<div class="backdrop"></div>
</div>
</div>
<div data-component="box" data-resizable="full" data-minheight="50" data-minwidth="50" data-maxwidth="200" data-maxheight="200" aria-dropeffect="move" class="box" style="top:80px;left:140px;width:50px;height:50px;" draggable="true">
<div class="outer-editable">
<div class="editable">
MAX: H/W
</div>
<div class="backdrop"></div>
</div>
</div>
</div>
<div class="backdrop"></div>
</div>
</div>
<div class="info-box">
<ul>
<li>wiele mozliwosci resizingu</li>
<li>Drag drop wielu elementow na raz</li>
<li>Wskazywanie miejsc dla DROP-a</li>
<li>Wskaźnik wielkości elemetu resizowanego</li>
<li>Max/Min width/height elementow</li>
<li>Skalowanie elementow przy wsisnietym SHIFT</li>
<li>Blokowanie elemenów wewnątrz innych</li>
<li>Przesuwanie elementow za pomoca strzałek + CTRL/SHIFT</li>
</ul>
</div>
<script type="application/javascript" src="js/bootstrap.js"></script>
</body>
</html>