-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathindex.php
executable file
·64 lines (44 loc) · 1.8 KB
/
index.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Shlomi Nissan">
<title>jQuery Form Builder v3.0</title>
<link rel="stylesheet" href="src/css/style.css">
</head>
<body>
<div style="margin-top: 20px">
<div id="formBuilder"></div>
<div id="footer">
<p>
“As we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously.”
</p>
<p style="margin-top: 0">
Fork it on <a target="_blank" href="http://1bytebeta.com">GitHub</a><br/><br/>
</p>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js"></script>
<script src="src/libraries/dust-js/dust-core-0.3.0.min.js"></script>
<script src="src/libraries/dust-js/dust-full-0.3.0.min.js"></script>
<script src="src/libraries/dust-js/dust-helpers.js"></script>
<script src="src/libraries/tabs.jquery.js"></script>
<script src="src/formBuilder.jquery.js"></script>
<script>
$('#formBuilder').formBuilder({
load_url: 'src/json/example.json',
save_url: 'demo/save.php',
onSaveForm: function() {
// redirect to demo page
window.location.href = 'demo/render.php';
}
});
</script>
</body>
</html>