forked from GavinThompson/jiralabels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
67 lines (63 loc) · 1.29 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>Jira Labels Options</title>
<style>
body {
line-height: 2em;
font-size: 18px;
}
input, button {
line-height: 1.5em;
font-size: 18px;
}
.hidden {
display: none;
}
.color {
position: relative;
height: 20px;
width: 20px;
border: 1px solid #888;
line-height: 18px;
display: inline-block;
margin: 0;
padding: 2px;
border: 0;
text-align: center;
vertical-align: middle;
font-size: 90%;
font-family: arial,sans-serif;
cursor: pointer;
margin: 2px;
}
</style>
<link href="css/inject/inject.css" rel="stylesheet">
</head>
<body>
<div id="new">
<h2>Add a new label color:</h2>
<div>
<label>
Label name:
<input type="text" id="labelName">
</label>
</div>
<div>
<label id="palette">
Color (hex):
#<input type="text" id="labelColor" size="6" maxlength="6">
</label>
</div>
</div>
<div>
<button id="save">Save</button>
<span id="status"></span>
</div>
<h2 id="labelHeader" class="hidden">Existing label colors:</h2>
<p id="labelDescription" class="hidden">Reload your tracker to see these labels</p>
<div id="labels"></div>
<script src="options.js">
</script>
</body>
</html>