-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.html
73 lines (61 loc) · 2.84 KB
/
tag.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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>标注系统 Demo </title>
<link rel="stylesheet" href="css/foundation.css" />
<link rel="stylesheet" href="css/toastr.css" />
<link rel="stylesheet" href="css/app_tag.css" />
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body>
<div class="row">
<div class="col-md-2"></div>
<div id="words" class="col-md-8">
<div class="attr_layer">
<table class="table" id="word_table">
<caption id="text_container"></caption>
<thead>
<tr><th>词语</th><th>类型</th><th>操作</th></tr>
</thead>
<tbody class="word_table_body"></tbody>
</table>
</div>
<button type="button" class="btn btn-success" onclick="save_table()" id="save_edit">保存修改</button>
</div>
<div class="col-md-2"></div>
</div>
<!-- 重新分词 -->
<div id="fenci" class="reveal-modal" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
<h2 id="">请用空格重新进行分词</h2>
<form>
<div class="row">
<div class="large-12 columns">
<label>分词实体:
<textarea cols=100 rows=2 type="text" class="words" ></textarea>
<label>
</div>
</div>
<div class="row">
<div class="large-8 columns">
</div>
<div class="large-4 columns">
<a href="#" class="button info" onclick="$(document).foundation('reveal', 'close');">取消</a>
<a href="#" class="button success" onclick="re_fenci()">保存</a>
</div>
</div>
</form>
</div>
<script src="js/vendor/underscore-min.js"></script>
<script src="js/vendor/fastclick.js"></script>
<script src="js/vendor/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script src="js/tag.js"></script>
<script src="js/vendor/toastr.js"></script>
<script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script>
$(document).foundation();
</script>
</body>
</html>