forked from mtierltd/timetracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimelines.php
More file actions
102 lines (96 loc) · 4.26 KB
/
timelines.php
File metadata and controls
102 lines (96 loc) · 4.26 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<div id="timetracker-projects" class='theme-white'>
<h1 class='page-title'>Timelines</h1>
<div id="dialog-confirm" title="Confirmation Required" class='hidden'>
Are you sure you want to delete this timeline?
</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 id="dialog-send-email-form" title="Send timeline to email" class='hidden'>
<p class="validateTips">All form fields are required. Please make sure that your email settings are correct in your Nextcloud configuration.</p>
<br />
<form>
<fieldset>
<label for="email">Destination Email addresses (; separated):</label>
<div class="clearfix"> </div>
<input type="text" name="email" id="email-address" value="" class="text ui-widget-content ui-corner-all" style="width:250px;">
<div class="clearfix"> </div>
<label for="subject">Subject:</label>
<div class="clearfix"> </div>
<input type="text" name="subject" id="email-subject" value="" placehoder="Subject line" style="width:250px;" class="text ui-widget-content ui-corner-all">
<div class="clearfix"> </div>
<label for="content">Email Content:</label>
<div class="clearfix"> </div>
<textarea id="email-content" name="content" rows="4" cols="50" class="text ui-widget-content ui-corner-all" style="width:250px;"></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 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="project">Project</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>
</select>
</label>
<select id="group3" style="width: 200px;">
<option value="day">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="timeline-csv">Export Timeline 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>
<br />
<h1 class='page-title'>Exported Timelines Statuses</h1>
<br />
<div id="timelines">
</div>
</div>