-
Notifications
You must be signed in to change notification settings - Fork 10
/
popup.html
92 lines (81 loc) · 3.78 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html>
<head>
<title>Simple Time Tracking aplication</title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="SHORTCUT ICON" type="image/ico" href="timer32x32.png" />
</head>
<body>
<div id="holder">
<div id="bar">
<a href="#" class="create button"><span></span> New task</a>
<a href="#" class="remove-all button"><span></span> Delete all</a>
<a href="#" class="export-all button"><span></span> Export all</a>
</div>
<div id="content">
<!-- list of tasks -->
<div id="form-list" class="form"></div>
<!-- create form -->
<div id="form-create" class="form" style="display: none">
<p>
<label for="task-project-name">Project name</label>
<input type="text" name="task-project-name" id="task-project-name" class="text" />
</p>
<p>
<label for="task-name">Task name</label>
<input type="text" name="task-name" id="task-name" class="text" />
</p>
<p class="buttons">
<input type="button" id="button-create" value="Save" />
<input type="button" id="form-create.cancel-button" class="cancel" rel="form-create" value="Cancel" />
</p>
<p style="display: none" id="create-status"></p>
</div>
<!-- update form -->
<div id="form-update" class="form" style="display: none">
<input type="hidden" name="task-id" id="task-id" value="" />
<p>
<label for="task-project-name">Project name</label>
<input type="text" name="task-project-name" id="task-project-name" class="text" />
</p>
<p>
<label for="task-name">Task name</label>
<input type="text" name="task-name" id="task-name" class="text" />
</p>
<p>
<label for="task-time">Task time (sec)</label>
<input type="text" name="task-time" id="task-time" class="text" />
</p>
<p class="buttons">
<input type="button" id="button-update" value="Update" />
<input type="button" id="form-update.cancel-button" class="cancel" rel="form-update" value="Cancel" />
</p>
<p style="display: none" id="update-status"></p>
</div>
<!-- remove confirm -->
<div id="form-remove" class="form" style="display: none">
<p id="remove-confirm" class="remove-confirm"></p>
<p class="buttons">
<input type="button" id="button-remove" value="Delete" />
<input type="button" id="form-remove.cancel-button" class="cancel" rel="form-remove" value="Cancel" />
</p>
</div>
<!-- Delete all confirm -->
<div id="form-remove-all" class="form" style="display: none">
<p id="remove-all-confirm" class="remove-confirm">Are you sure you want to <strong>delete all tasks</strong>?</p>
<p class="buttons">
<input type="button" id="button-remove-all" value="Yes" />
<input type="button" id="form-remove-all.cancel-button" class="cancel" rel="form-remove-all" value="Cancel" />
</p>
</div>
</div>
<div id="footer">
By <a href="http://www.omdesign.cz/" title="" target="_blank">Roman Ožana</a> | <a href="http://twitter.com/#!/OzzyCzech" target="_blank">@OzzyCzech</a> v 2.6.3
</div>
</div>
<script type="text/javascript" src="js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="js/tasks.js"></script>
<script type="text/javascript" src="js/init.js"></script>
</body>
</html>