-
Notifications
You must be signed in to change notification settings - Fork 42
/
index.html
118 lines (106 loc) · 4.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap V3 Form Builder</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link href="assets/css/custom.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
</head>
<body>
<a href="https://github.com/tonytan4ever/Bootstrap-Form-Builder-V3V4"><img style="z-index: 100000; position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<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="#">Bootstrap Form Builder V3.x and V4</a>
</div>
<ul class="nav navbar-brand navbar-right github">
<li><iframe src="http://ghbtns.com/github-btn.html?user=tonytan4ever&type=follow"
allowtransparency="true" frameborder="0" scrolling="0" width="143px" height="20px"></iframe></li>
</ul>
</div>
</nav>
<div class="container">
<div class="row clearfix">
<!-- Building Form. -->
<div class="col-md-6">
<div class="clearfix">
<h2>Your Form</h2>
<div class="input-group">
<div class="input-group-btn">
<button type="button" class="form-control btn btn-default dropdown-toggle" data-toggle="dropdown">
Select Form Layout <span class="caret"></span>
</button>
<ul class="dropdown-menu" id="form-layout" role="menu">
<li value=1><a href="#">1 Column</a></li>
<li value=2><a href="#">2 Columns</a></li>
</ul>
</div>
<input id="form-layout-text" class="form-control input-md" placeholder="Form Layout: 1 column(s)" type="text" readonly>
</div>
<hr/>
<div id="build">
<form id="target" class="form-horizontal">
</form>
</div>
<div class="btn-group pull-right" style="margin-top: 5px">
<button type="button" class="btn btn-default" id="saveForm">Save Current Form Layout</button>
<label class="btn btn-primary">Load Form Layout From File <input type="file" id="loadForm" style="display: none;"> </button>
</div>
</div>
</div>
<!-- / Building Form. -->
<!-- Components -->
<div class="col-md-6">
<h2>Drag & Drop components</h2>
<hr>
<div class="tabbable">
<ul class="nav nav-tabs" id="formtabs">
<!-- Tab nav -->
</ul>
<form class="form-horizontal" id="components">
<fieldset>
<div class="tab-content">
<!-- Tabs of snippets go here -->
</div>
</fieldset>
</form>
</div>
</div>
<!-- / Components -->
</div>
<div class="row clearfix">
<div class="span12">
<hr>
By Tony Tan (<a href="https://twitter.com/tonytan4ever" >@tonytan4ever</a>).<br/>
Source on (<a href="https://github.com/tonytan4ever/Bootstrap-Form-Builder-V3V4" >Github</a>).
</div>
</div>
</div> <!-- /container -->
<script data-main="assets/js/main.js" src="https://rawgithub.com/jrburke/requirejs/master/require.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-13083323-14', 'tonytan4ever.github.io');
ga('send', 'pageview');
</script>
</body>
</html>