-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
93 lines (91 loc) · 4.75 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
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>BoJSON测试页面</title>
<link href="http://cdn.staticfile.org/twitter-bootstrap/3.0.3/css/bootstrap.min.css"
rel="stylesheet">
<style type="text/css" media="all">
.navbar {
border-radius: 0px;
}
.container.nav-container{
text-align:center;
margin:0 auto;
}
.nav-container iframe{
vertical-align: middle;
}
.container textarea{
width:100%;
height:100%;
}
.tmpl-helper-con{
margin-bottom:10px;
}
</style>
</head>
<body>
<div class="navbar navbar-inverse" role="navigation">
<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="/">BoJSON</a>
</div>
<div class="container nav-container">
<form class="navbar-form" role="search">
<button type="button" class="btn btn-success" id="parseBtn" >Generate</button>
<a target="_blank" class="btn btn-primary btn-sm" href="https://github.com/jserme/BoJSON/#bojson">Help</a>
<button type="button" class="btn btn-default btn-sm" id="resetBtn">Reset</button>
<iframe
src="http://ghbtns.com/github-btn.html?user=jserme&repo=BoJSON&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="131" height="20"></iframe>
</form>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12 tmpl-helper-con">
<!--
<button title="循环输出" type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
<button type="button" class="btn btn-primary btn-sm tmpl-helper">{{repeat}}</button>
-->
</div>
<div class="col-md-6">
<textarea id="tmpl" class="form-control"></textarea>
</div>
<div class="col-md-6">
<textarea id="rst" class="form-control"></textarea>
</div>
</div>
</div>
<script src="http://cdn.staticfile.org/jquery/2.0.3/jquery.min.js" type="text/javascript"></script>
<script src="http://cdn.staticfile.org/twitter-bootstrap/3.0.3/js/bootstrap.min.js" type="text/javascript"></script>
<script src="http://mockjs.com/dist/mock.js" type="text/javascript"></script>
<script src="bojson.js" type="text/javascript"></script>
<script src="bojson.helpers.js" type="text/javascript"></script>
<script src="bojson.site.js" type="text/javascript"></script>
<script type="text/javascript">
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'hm.baidu.com/h.js?f628d86243daf05c564aa17f55e27b02';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>