forked from mtierltd/timetracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
71 lines (64 loc) · 2.92 KB
/
index.php
File metadata and controls
71 lines (64 loc) · 2.92 KB
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
<div id="timetracker-content">
<div id="top-work-bar">
<div id="work-input-container">
<form>
<input tabindex="1" type="text" spellcheck="false" autocomplete="off" class="" value="" placeholder="What have you done?" id="work-input">
</form>
</div>
<div id="top-work-bar-right">
<!-- <input type="text" id="datepicker-from">
<input type="text" id="datepicker-to"> -->
<div id="timer"></div>
<button id="start-tracking" class="ui-button ui-widget ui-corner-all ui-button-icon-only" title="Start">
<span class="my-icon play-button"></span>
</button>
</div>
</div>
<div class="ui-button ui-widget ui-corner-all" id="manual-entry-button">Manual entry</div>
<div id="dialog-confirm" title="Confirmation Required" class='hidden'>
Are you sure you want to delete this work item?
</div>
<div id="dialog-work-item-edit-form" title="Edit work item" class='hidden'>
<p class="validateTips">All form fields are required.</p>
<form>
<fieldset >
<label for="name">Name</label>
<input type="text" name="name" id="name" value="" class="text ui-widget-content ui-corner-all">
<div class="clear"></div>
<label for="details">Details</label>
<textarea style='vertical-align: middle;width:300px;' name="details" id="details" cols="40" rows="5" value="" id="details" class="text ui-widget-content ui-corner-all"></textarea>
<!-- Allow form submission with keyboard without duplicating the dialog button -->
<input type="submit" tabindex="-1" style="position:absolute; top:-1000px">
</fieldset>
</form>
</div>
<div id="dialog-manual-entry" title="Add work item" class='hidden'>
<p class="validateTips">All form fields are required.</p>
<form id='form-manual-entry'>
<fieldset>
<label for="name">Name</label>
<input type="text" name="name" id="name-manual-entry" value="" class="text ui-widget-content ui-corner-all">
<div class="clear"></div>
<label for="details">Details</label>
<textarea style='vertical-align: middle;width:250px;' name="details" cols="40" rows="5" value="" id="details-manual-entry" class="text ui-widget-content ui-corner-all"></textarea>
<!-- <div id='hours-manual-entry'> </div> -->
<label for="hours">Interval</label>
<input type="text" name="hours" id="hours-manual-entry" value="" class="text ui-widget-content ui-corner-all">
<!-- Allow form submission with keyboard without duplicating the dialog button -->
<input type="submit" tabindex="-1" style="position:absolute; top:-1000px">
</fieldset>
</form>
</div>
<div class="clearfix"> </div>
<br/>
<div class="time-controls">
<div id="report-range" style="cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
<i class="fa fa-calendar"></i>
<span></span> <i class="fa fa-caret-down"></i>
</div>
</div>
<br/>
<div class="clearfix"> </div>
<div id="work-intervals">
</div>
</div>