-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (102 loc) · 4.17 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
<!DOCTYPE html>
<html>
<head>
<title>Text Editor</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link href="css/select2.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="css/summernote.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<!-- <div class="row">
<div class="col-lg-12">
<div class="page-header">
<h2>Editor Multiple Row Content</h2>
</div>
</div>
</div>
-->
<div class="row">
<div class="col-lg-12">
<button type="button" onclick="addContent();" data-toggle="tooltip" data-placement="top" title="Add Content" class="btn btn-primary utterance"><i class="fa fa-plus-circle"></i> New Utterance</button>
</div>
</div>
<!-- <?php $content_row=0 ; ?> -->
<div id="content-row">
<div class="form-group">
<div id="textt" class="col-sm-6">
<textarea class="form-control" id="code_preview0" name="" style="height: 150px;"></textarea>
</div>
<div class="col-sm-6">
<input class="new-state" type="text" />
<button type="button" class="btn-add-state">Add category </button>
<br>
<br>
<span>Value:</span>
<select id="state" class="state js-example-basic-single" type="text" style="width:70%">
<option id= "sel-opt" value="">Number</option>
</select>
<div class="chat"></div>
<br>
<br>
<table class="table" id="tab">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Value</th>
<th scope="col">Field type</th>
<th scope="col">start point (location) </th>
<th scope="col">Length</th>
</tr>
</thead>
<tbody id="table">
</tbody>
</table>
</div>
</div>
</div>
<!-- <?php $content_row++; ?>
-->
</div>
<!-- Page - Content End -->
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<!-- <button type="button" class="close" data-dismiss="modal">×</button> -->
<!-- <h4 class="modal-title">Modal Header</h4> -->
</div>
<div class="modal-body">
<p>if you need assign this word to category</p>
<span>Value:</span>
<select id="state" class="state js-example-basic-single" type="text" style="width:70%">
<option id= "sel-opt" value="">Number</option>
</select>
</div>
<div class="modal-footer">
<button type="button" id="close" class="btn btn-default" data-dismiss="modal">Close</button>
<button class="btn btn-primary" type="submit" id="ok">ok</button>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/summernote.min.js"></script>
<script src="js/select2.min.js"></script>
<script src="js/script.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#code_preview0').summernote({height: 300});
});
</script>
</body>
</html>