-
Notifications
You must be signed in to change notification settings - Fork 12
/
sample.html
81 lines (68 loc) · 2.47 KB
/
sample.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
<html>
<head>
<link rel="stylesheet"
href="bower_components/bootstrap/dist/css/bootstrap.css"/>
<link rel="stylesheet"
href="bower_components/angular-ui-tree/dist/angular-ui-tree.min.css"/>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap.min.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script src="bower_components/angular-ui-tree/dist/angular-ui-tree.js"></script>
<script src="static-bleve-mapping/js/mapping/index-mapping.js"></script>
<script src="static-bleve-mapping/js/mapping/type-mapping.js"></script>
<script src="static-bleve-mapping/js/mapping/analysis.js"></script>
<script src="static-bleve-mapping/js/mapping/analysis-analyzer.js"></script>
<script src="static-bleve-mapping/js/mapping/analysis-wordlist.js"></script>
<script src="static-bleve-mapping/js/mapping/analysis-charfilter.js"></script>
<script src="static-bleve-mapping/js/mapping/analysis-tokenizer.js"></script>
<script src="static-bleve-mapping/js/mapping/analysis-tokenfilter.js"></script>
<link rel="stylesheet" href="sample.css"/>
<script src="sample.js"></script>
</head>
<body ng-app="sampleApp">
<div ng-controller="SampleCtrl" class="sampleView">
<div class="row indexTopFields">
<div class="col-sm-4 name">
<label>Index Name</label>
<input type="text"/>
</div>
<div class="col-sm-4 name">
<label>Bucket Name</label>
<input type="text"/>
</div>
<div class="col-sm-4 bucket">
<label>View Only</label>
<input type="checkbox" ng-model="viewOnly"/>
</div>
</div>
<div ng-include="static_prefix + '/partials/mapping/index-mapping.html'"></div>
<div class="row indexCancelCreate">
<div class="col-sm-6">
<a class="showJSON">Show JSON</a>
</div>
<div class="col-sm-6">
<a class="cancel">Cancel</a>
<button class="create"
ng-disabled="!isValid() || viewOnly"
ng-click="done()">Create</button>
</div>
</div>
<hr/>
<div class="row">
<div class="col-sm-6">
indexMapping
<pre class="code">{{ indexMapping | json }}</pre>
</div>
<div class="col-sm-6">
mappings
<pre class="code">{{ mappings | json }}</pre>
</div>
</div>
</div>
</body>
<style>
.sampleView {
padding: 20px 20px 20px 20px;
}
</style>
</html>