-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
85 lines (77 loc) · 3.28 KB
/
index.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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8"/>
<title>Pomodoro</title>
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="css/main.css">
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery.timers.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<a href="https://github.com/horsley/pomodoro">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub">
</a>
<div class="container">
<div>
<div id="reminderContainer" class="well hide">ÌáʾÐÅÏ¢</div>
</div>
<div>
<div id="mainTimeCounter">25:00</div>
</div>
<div>
<div class="progress progress-striped">
<div class="bar" id="mainTimeProgress" style="width: 100%;"></div>
</div>
</div>
<div style="margin-top: 2em" class="clearfix well">
<button class="btn btn-large btn-primary" id="startBtn">Start Pomodoro</button>
<button class="btn btn-large disabled" id="stopBtn">Stop</button>
<span class="pull-right">
<button class="btn btn-large" id="reminderBtn" data-toggle="modal" data-target="#txtModal">Set Reminder</button>
<button class="btn btn-large" id="timerBtn" data-toggle="modal" data-target="#txtModal2">Set Timer</button>
</span>
</div>
<div style="text-align: center">
Pomodoro v1.1 | Powered by Horsley
</div>
</div>
<div id="txtModal" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">¡Á</button>
<h3 id="myModalLabel">Set task reminder text</h3>
</div>
<div class="modal-body">
<input type="text" name="reminderText" style="width: 95%" placeholder="Remind yourself what you should do during the pomodoro...">
</div>
<div class="modal-footer">
<button class="btn btn-primary" id="setReminderBtn">Save</button>
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
</div>
</div>
<div id="txtModal2" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">¡Á</button>
<h3 id="myModalLabel">Set timer interval</h3>
</div>
<div class="modal-body">
<div class="progress">
<div class="bar bar-success" id="pomodoroDuration" style="width: 35%;"></div>
<div class="bar bar-warning" id="restDuration" style="width: 20%;"></div>
</div>
<form class="form-inline">
<input type="number" name="pomodoroDuration" placeholder="The working time duration...">
<span>min</span>
<input type="number" name="restDuration" placeholder="The rest time duration...">
<span>min</span>
</form>
</div>
<div class="modal-footer">
<button class="btn btn-primary" id="setTimerBtn">Save</button>
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
</div>
</div>
</body>
</html>