-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
70 lines (67 loc) · 1.96 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
<!DOCTYPE html>
<html>
<head>
<title>Kanban - Status Popup</title>
<base target="_blank"/>
<link rel="stylesheet" type="text/css" href="lib/css/popup.css"/>
<script type="text/javascript" src="lib/js/vendor/zepto.js"></script>
<script type="text/javascript" src="lib/js/vendor/can.js"></script>
<script type="text/javascript" src="lib/js/vendor/can.view.mustache.js"></script>
<script type="text/javascript" src="lib/js/constants.js"></script>
<script type="text/javascript" src="lib/js/popup.js"></script>
<style>
/*
sadly implementing this animation
stops the dynamic refresh and stalls
the page in chrome 26.0.1410.65
Will try it again in a later build
#refreshIcon {
-webkit-animation-duration: 3s;
-webkit-animation-iteration-count: 0;
}
@-webkit-keyframes spin {
from {
-webkit-transform: rotate(0deg)
}
to {
-webkit-transform: rotate(360deg)
}
}
body.loading #refreshIcon {
-webkit-animation-name: spin;
}
*/
p.loading {
display: none;
text-align: center;
}
body.loading p.loading {
display: block;
}
body.loading #display {
display:none;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="refresh">
<span>Refresh</span><img id="refreshIcon" src="lib/i/reload19.png" alt="Refresh Button" />
</div>
<h1></h1>
<p class="loading"><img src="lib/i/anim-bar.gif"/></p>
<p class="message"></p>
<div id="display"></div>
</div>
<footer>
<nav>
<a href="kanban.html">Kanban</a>
| <a href="options.html">Configuration</a>
| <a class="login"></a>
| <a href="https://chrome.google.com/webstore/detail/kanban-me-jira" class="soft" id="extensionLink"></a>
</nav>
</footer>
<script id="template" type="text/mustache">
</script>
</body>
</html>