forked from kuvandjiev/Bootstrap-Form-Builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (62 loc) · 2.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap 3 Form Builder</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/css/lib/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/custom.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script src="//oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="row clearfix">
<!-- Building Form. -->
<div class="col-md-8 clearfix">
<div class="row build-form-row">
<div class="col-md-12">
<h2>Your Form</h2>
<hr>
<div id="build">
<div id="target">
</div>
</div>
</div>
</div>
</div>
<!-- / Building Form. -->
<!-- Components -->
<div class="col-md-4">
<h2>Drag & Drop components</h2>
<hr>
<div class="tabbable">
<ul class="nav nav-tabs" id="formtabs">
<!-- Tab nav -->
</ul>
<form id="components" class="form-horizontal" role="form">
<fieldset>
<div class="tab-content">
<!-- Tabs of snippets go here -->
</div>
</fieldset>
</form>
</div>
</div>
<!-- / Components -->
</div>
</div> <!-- /container -->
<script type="text/javascript" src="assets/js/lib/jquery.js"></script>
<script type="text/javascript">
window.form_builder_baseUrl = "assets/js/lib/";
window.form_builder_temp_container = "body";
window.form_fields_resource = "data/input.json";
// INIT FORM WITH FIELDS
window.form_builder_initial_data = eval("[" +localStorage.rendered_json + ']');
</script>
<script data-main="assets/js/main.js" src="assets/js/lib/require.js" ></script>
</body>
</html>