forked from mtierltd/timetracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreports.php
More file actions
80 lines (75 loc) · 2.62 KB
/
reports.php
File metadata and controls
80 lines (75 loc) · 2.62 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
72
73
74
75
76
77
78
79
80
<div id="timetracker-projects" class='theme-white'>
<h1 class='page-title'>Reports</h1>
<div id="dialog-confirm" title="Confirmation Required" class='hidden'>
Are you sure you want to delete this report?
</div>
<div id="dialog-project-edit-form" title="Edit Project" 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">
<!-- 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="group-controls">
<label for="group1">
Group by
<select id="group1" style="width: 200px;">
<option value="">None</option>
<option value="project" selected>Project</option>
<option value="userUid">User</option>
<option value="client">Client</option>
</select>
</label>
<label for="group2">
and by
<select id="group2" style="width: 200px;">
<option value="">None</option>
<option value="name">Time Entry</option>
<option value="userUid" selected>User</option>
<option value="project">Project</option>
</select>
</label>
<select id="group3" style="width: 200px;">
<option value="">None</option>
<option value="day" selected>Daily</option>
<option value="week">Weekly</option>
<option value="month">Monthly</option>
<option value="year">Yearly</option>
</select>
<!--<button id="download-xlsx">Download XLSX</button>
<button id="download-pdf">Download PDF</button> -->
</div>
<div class="filter-controls">
<label for="filter-project">
Filter projects
<select id="filter-project" style="width: 200px;">
</select>
</label>
<label for="filter-client">
Filter clients
<select id="filter-client" style="width: 200px;">
</select>
</label>
</div>
<div class="table-controls">
<button id="download-csv">Download CSV</button>
<button id="download-json">Download JSON</button>
<!--<button id="download-xlsx">Download XLSX</button>
<button id="download-pdf">Download PDF</button> -->
</div>
<div id="report">
</div>
</div>