-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
57 lines (51 loc) · 1.88 KB
/
popup.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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/style.css" media="all" />
</head>
<body>
<div class="container">
<div class="col-lg-6">
<div class="input-group">
<input type="text" id="text" class="form-control" placeholder="translate for...">
<span class="input-group-btn">
<button id="translate" class="btn btn-primary" type="button">Go!</button>
</span>
</div><!-- /input-group -->
</div><!-- /.col-lg-6 -->
<br>
<div id="controls">
<div id="casings">
<label class="radio-inline">
<input type="radio" name="casing" value="camel">Camel</label>
<label class="radio-inline">
<input type="radio" name="casing" value="lower+underscore">Lower_</label>
<label class="radio-inline">
<input type="radio" name="casing" value="upper+underscore">Upper_</label>
<label class="radio-inline">
<input type="radio" name="casing" value="hyphen">Hyphen</label>
</div>
</div>
<div id="error" class="alert alert-danger" role="alert"></div>
<hr>
<div id="history">
<table class="table table-striped" style="table-layout: fixed">
<thead>
<tr>
<th style="width: 44%;">Original</th>
<th style="width: 44%;">Translated Text</th>
<th style="width: 12%;"></th>
</tr>
</thead>
<tbody id="history-row"></tbody>
</table>
</div>
</div>
<script src="js/lib/jquery.min.js"></script>
<script src="js/lib/bootstrap.min.js"></script>
<script src="js/common.js"></script>
<script src="js/translate.js"></script>
</body>
</html>