Skip to content

Commit 81e6251

Browse files
committed
Timer popup screen html finished.
1 parent 45df925 commit 81e6251

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
"browser_action": {
99
"default_icon": "icon.png",
10-
"default_popup": "popup.html",
10+
"default_popup": "timer.html",
1111
"default_title": "Tomato: Your Pomodoro Timer"
1212
},
1313
"permissions": [

timer.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<!--
5+
- JavaScript and HTML must be in separate files: see our Content Security
6+
- Policy documentation[1] for details and explanation.
7+
-
8+
- [1]: https://developer.chrome.com/extensions/contentSecurityPolicy
9+
-->
10+
<script src="popup.js"></script>
11+
</head>
12+
<body>
13+
<div id="container">
14+
<h1>Tomato</h1><small>Your Pomodoro Helper</small>
15+
<div id="current-state">
16+
<h2>22:00</h2>
17+
</div>
18+
<div id="next-state">
19+
<p>short break in <span>3:00</span></p>
20+
</div>
21+
<div id="controls">
22+
<div class="controls-buttons-group">
23+
<button type="button">stop</button>
24+
<button type="button">pause</button>
25+
<button type="button">next</button>
26+
</div>
27+
</div>
28+
</div>
29+
</body>
30+
</html>
31+

0 commit comments

Comments
 (0)