-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
119 lines (108 loc) · 2.95 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Getting Started Extension's Popup</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<script src="jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="bootstrap.min.js"></script>
<script src="awesomplete.min.js"></script>
<script src="scripts/jHtmlArea-0.8.min.js"></script>
<script src="scripts/jHtmlArea.ColorPickerMenu-0.8.min.js"></script>
<link rel="stylesheet" href="awesomplete.css">
<link rel="stylesheet" href="style/jHtmlArea.css">
<link rel="stylesheet" href="style/ColorPickerMenu.css">
<style>
body
{
width:800px;
}
.dictionary
{
margin-top:20px;
}
.search
{
}
.field
{
width:100%;
height:150px;
}
.anki
{
}
</style>
<script src="popup.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-xs-6 anki">
<div class="row">
<h2 class="col-xs-12">AnkiConnect</h2>
</div>
<div class="row">
<div class="form-group col-xs-6">
<label for="sel1">Deck</label>
<select class="form-control" id="sel_deck">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</div>
<div class="form-group col-xs-6">
<label for="sel2">Model</label>
<select class="form-control" id="sel_model">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</div>
</div>
<div class="row">
<div id="fields" class="col-xs-12">
</div>
</div>
<div class="row">
<div class="col-xs-12">
<button class = "btn btn-block btn-lg btn-primary" id = "btn_add">Add</button>
</div>
</div>
</div>
<div class = "col-xs-6 dictionary">
<div class="row">
<div class="col-xs-12" id="div_mess">
</div>
</div>
<div class="row">
<div class="col-xs-1 search">
<button type="button" class="btn btn-default" id="search">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
</button>
</div>
<div class="col-xs-11">
<input id="hwd" class="form-control"/>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div id="definition">
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>