This repository has been archived by the owner on May 7, 2021. It is now read-only.
/
popup.html
58 lines (57 loc) · 1.48 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
<style>
ul,ol {
padding:0;
margin:0;
}
li {
list-style: none;
padding:3px;
margin:0;
}
.hudson-highlight .positive {
font-weight: bold;
font-size: 25px;
background-color: #27ae1d;
}
.hudson-highlight .negative {
font-weight: bold;
font-size: 25px;
background-color: #ae1d1d;
}
.hudson-highlight .warn {
font-weight: bold;
font-size: 25px;
background-color: #d04919;
}
.hudson-highlight .highlight {
font-weight: bold;
font-size: 25px;
background-color: #d48e06;
color: #000;
}
</style>
<div class="hudson-highlight">
<ol>
<li><input type="text" id="k1" value="cannot,negative"/></li>
<li><input type="text" id="k2" value="done,positive"/></li>
<li><input type="text" id="k3" value="without errors,positive"/></li>
<li><input type="text" id="k4" value="error,negative"/></li>
<li><input type="text" id="k5" value="failure,negative"/></li>
<li><input type="text" id="k6" value="rpms,highlight"/></li>
<li><input type="text" id="k7" value="running,positive"/></li>
<li><input type="text" id="k8" value="success,positive"/></li>
<li><input type="text" id="k9" value="warning,warn"/></li>
<li><input type="text" id="k10" value="wrong,negative"/></li>
</ol>
<div style="width:115px">
<button id="button">Highlight</button>
</div>
<p>Legend</p>
<ul>
<li class="positive">positive</li>
<li class="negative">negative</li>
<li class="warn">warn</li>
<li class="highlight">highlight</li>
</ul>
</div>
<script type="text/javascript" src="popup.js"></script>