forked from infinitered/rmq_grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid.html
60 lines (60 loc) · 2.8 KB
/
grid.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
<html>
<head>
<link rel="stylesheet" href="grid_demo_small.css"/>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/themes/cupertino/jquery-ui.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.11.0/jquery-ui.min.js"></script>
<script type="text/javascript" src="grid_demo.js"></script>
</head>
<body>
<div>
<div id="demo_code" class="grid_container"></div>
<div id="demo_grid" class="grid_container"></div>
</div>
<div class="control_container">
<label for="bg_upload">Add Background Image:</label>
<input type="file" id="bg_upload"/>
<div id="bg_image_controls" class="inactive">
<label for="bg_leftx">Background Left Position:</label>
<input type="number" id="bg_left" min="0" value="0" class="bg_dimension num_input"/>
<br/>
<label for="bg_top">Background Top Position:</label>
<input type="number" id="bg_top" min="0" value="0" class="bg_dimension num_input"/>
<br/>
<label for="bg_width">Background Width (%):</label>
<input type="number" id="bg_width" min="0" value="100" class="bg_dimension num_input"/>
<br/>
<label for="bg_height">Background Height (%):</label>
<input type="number" id="bg_height" min="0" value="100" class="bg_dimension num_input"/>
<br/>
</div>
</div>
<div class="control_container">
<label for="num_columns">Number of Columns</label>
<input type="number" id="num_columns" class="grid_dimension num_input" min="1" max="40"/>
<br/>
<label for="num_rows">Number of Rows</label>
<input type="number" id="num_rows" class="grid_dimension num_input" min="1" max="40"/>
<br/>
<label for="column_gutter">Column Gutter</label>
<input type="number" id="column_gutter" class="grid_dimension num_input" min="1" max="40"/>
<br/>
<label for="row_gutter">Row Gutter</label>
<input type="number" id="row_gutter" class="grid_dimension num_input" min="0" max="40"/>
<br/>
<label for="content_left_margin">Left Margin</label>
<input type="number" id="content_left_margin" class="grid_dimension num_input" min="0" max="100"/>
<br/>
<label for="content_right_margin">Right Margin</label>
<input type="number" id="content_right_margin" class="grid_dimension num_input" min="0" max="100"/>
<br/>
<label for="content_top_margin">Top Margin</label>
<input type="number" id="content_top_margin" class="grid_dimension num_input" min="0" max="100"/>
<br/>
<label for="content_bottom_margin">Bottom Margin</label>
<input type="number" id="content_bottom_margin" class="grid_dimension num_input" min="0" max="100"/>
<br/>
</div>
<div id="dialog-confirm" title="Remove Selected Frame?"></div>
</body>
</html>