-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
94 lines (89 loc) · 3.39 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
<!DOCTYPE HTML>
<html xmlns:ng="http://angularjs.org" ng:app="formDrop">
<head>
<meta charset="utf-8">
<title>FormDrop, Beta</title>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<link href="css/prettify.css" type="text/css" rel="stylesheet" />
</head>
<body ng:controller="AppCtrl">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">FormDrop</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="#about">About</a></li>
<li><a href="#help">Help</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<div class="btn-toolbar">
<div class="btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-plus"></i> Form Control
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li ng:repeat="element in elements | filter:{'category':'controls'}"><a href="#/add/{{element.name}}">{{element.name}}</a></li>
</ul>
</div>
<div class="btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-plus"></i> Special Element
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li ng:repeat="element in elements | filter:{'category':'special'}" ng:cloak><a href="#/add/{{element.name}}">{{element.name}}</a></li>
</ul>
</div>
</div>
<!-- main view -->
<ng:view></ng:view>
<div class="row">
<div class="span6">
<h2>Output</h2>
<pre id="code" class="prettyprint linenums" ><?php
//Empty form :(
?></pre>
</div>
<div class="span6">
<h2>Form</h2>
<div id="tree">
</div>
<em>Drag to re-arrange form elements</em>
</div>
</div>
</div>
<script src="js/libs/underscore-min.js" type="text/javascript"></script>
<script src="js/libs/jquery/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="js/libs/jquery/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
<script src="js/libs/jquery/jquery.ui.nestedSortable.js" type="text/javascript"></script>
<script src="js/libs/bootstrap.min.js" type="text/javascript"></script>
<script src="js/libs/prettify/prettify.js" type="text/javascript"></script>
<script src="js/libs/angular-0.10.7.js" type="text/javascript"></script>
<script src="js/util.js" type="text/javascript"></script>
<script src="js/app.js" type="text/javascript"></script>
<script src="js/controllers.js" type="text/javascript"></script>
<script src="js/services.js" type="text/javascript"></script>
</body>
</html>