-
Notifications
You must be signed in to change notification settings - Fork 0
/
time_entries.html
269 lines (212 loc) · 12.1 KB
/
time_entries.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title>Spent time - Details - Exiv2</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="Redmine" />
<meta name="keywords" content="issue,bug,tracker" />
<meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="6VGQC46PLg8E/Xn4vZugKIsGbUkzsW+W8SswPPmqfWcLHDvk/PXiD1GZZvQCTKwbtJQ5MMJSziwMC6C0upOaCA==" />
<link rel='shortcut icon' href='/favicon.ico?1550767427' />
<link rel="stylesheet" media="all" href="/stylesheets/jquery/jquery-ui-1.11.0.css?1550767427" />
<link rel="stylesheet" media="all" href="/stylesheets/application.css?1550767427" />
<link rel="stylesheet" media="all" href="/stylesheets/responsive.css?1550767427" />
<script src="/javascripts/jquery-1.11.1-ui-1.11.0-ujs-4.3.1.js?1550767427"></script>
<script src="/javascripts/application.js?1550767427"></script>
<script src="/javascripts/responsive.js?1550767427"></script>
<script>
//<![CDATA[
$(window).load(function(){ warnLeavingUnsaved('The current page contains unsaved text that will be lost if you leave this page.'); });
//]]>
</script>
<!-- page specific tags -->
<script>
//<![CDATA[
var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: 0, showOn: 'button', buttonImageOnly: true, buttonImage: '/images/calendar.png?1550767426', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true, changeMonth: true, changeYear: true, beforeShow: beforeShowDatePicker};
//]]>
</script> <link rel="alternate" type="application/atom+xml" title="Spent time" href="https://dev.exiv2.org/time_entries.atom" />
</head>
<body class="has-main-menu controller-timelog action-index avatars-off">
<div id="wrapper">
<div class="flyout-menu js-flyout-menu">
<div class="flyout-menu__search">
<form action="/search" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
<label class="search-magnifier search-magnifier--flyout" for="flyout-search">⚲</label>
<input type="text" name="q" id="flyout-search" class="small js-search-input" placeholder="Search" />
</form> </div>
<h3>Project</h3>
<span class="js-project-menu"></span>
<h3>General</h3>
<span class="js-general-menu"></span>
<span class="js-sidebar flyout-menu__sidebar"></span>
<h3>Profile</h3>
<span class="js-profile-menu"></span>
</div>
<div id="wrapper2">
<div id="wrapper3">
<div id="top-menu">
<div id="account">
<ul><li><a class="login" href="/login">Sign in</a></li></ul> </div>
<ul><li><a class="home" href="/">Home</a></li><li><a class="projects" href="/projects">Projects</a></li><li><a class="help" href="https://www.redmine.org/guide">Help</a></li></ul></div>
<div id="header">
<a href="#" class="mobile-toggle-button js-flyout-menu-toggle-button"></a>
<div id="quick-search">
<form action="/search" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
<input type="hidden" name="scope" />
<label for='q'>
<a accesskey="4" href="/search">Search</a>:
</label>
<input type="text" name="q" id="q" size="20" class="small" accesskey="f" />
</form> <div id="project-jump" class="drdn"><span class="drdn-trigger">Jump to a project...</span><div class="drdn-content"><div class="quick-search"><input type="text" name="q" id="projects-quick-search" value="" class="autocomplete" data-automcomplete-url="/projects/autocomplete.js?jump=time_entries" autocomplete="off" /></div><div class="drdn-items projects selection"></div><div class="drdn-items all-projects selection"><a class="selected" href="/projects?jump=time_entries">All Projects</a></div></div></div>
</div>
<h1>Exiv2</h1>
<div id="main-menu" class="tabs">
<ul><li><a class="projects" href="/projects">Projects</a></li><li><a class="activity" href="/activity">Activity</a></li><li><a class="issues" href="/issues">Issues</a></li><li><a class="time-entries selected" href="/time_entries">Spent time</a></li><li><a class="gantt" href="/issues/gantt">Gantt</a></li><li><a class="calendar" href="/issues/calendar">Calendar</a></li><li><a class="news" href="/news">News</a></li></ul>
<div class="tabs-buttons" style="display:none;">
<button class="tab-left" onclick="moveTabLeft(this); return false;"></button>
<button class="tab-right" onclick="moveTabRight(this); return false;"></button>
</div>
</div>
</div>
<div id="main" class="nosidebar">
<div id="sidebar">
</div>
<div id="content">
<div class="contextual">
</div>
<h2>Spent time</h2>
<form id="query_form" action="/time_entries" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
<input type="hidden" name="set_filter" id="set_filter" value="1" />
<input type="hidden" name="type" id="query_type" value="TimeEntryQuery" disabled="disabled" />
<input type="hidden" name="sort" value="spent_on:desc" />
<div id="query_form_with_buttons" class="hide-when-print">
<div id="query_form_content">
<fieldset id="filters" class="collapsible ">
<legend onclick="toggleFieldset(this);">Filters</legend>
<div style="">
<script>
//<![CDATA[
var operatorLabels = {"=":"is","!":"is not","o":"open","c":"closed","!*":"none","*":"any","\u003e=":"\u003e=","\u003c=":"\u003c=","\u003e\u003c":"between","\u003ct+":"in less than","\u003et+":"in more than","\u003e\u003ct+":"in the next","t+":"in","t":"today","ld":"yesterday","w":"this week","lw":"last week","l2w":"last 2 weeks","m":"this month","lm":"last month","y":"this year","\u003et-":"less than days ago","\u003ct-":"more than days ago","\u003e\u003ct-":"in the past","t-":"days ago","~":"contains","!~":"doesn't contain","=p":"any issues in project","=!p":"any issues not in project","!p":"no issues in project","*o":"any open issues","!o":"no open issues"};
var operatorByType = {"list":["=","!"],"list_status":["o","=","!","c","*"],"list_optional":["=","!","!*","*"],"list_subprojects":["*","!*","=","!"],"date":["=","\u003e=","\u003c=","\u003e\u003c","\u003ct+","\u003et+","\u003e\u003ct+","t+","t","ld","w","lw","l2w","m","lm","y","\u003et-","\u003ct-","\u003e\u003ct-","t-","!*","*"],"date_past":["=","\u003e=","\u003c=","\u003e\u003c","\u003et-","\u003ct-","\u003e\u003ct-","t-","t","ld","w","lw","l2w","m","lm","y","!*","*"],"string":["~","=","!~","!","!*","*"],"text":["~","!~","!*","*"],"integer":["=","\u003e=","\u003c=","\u003e\u003c","!*","*"],"float":["=","\u003e=","\u003c=","\u003e\u003c","!*","*"],"relation":["=","=p","=!p","!p","*o","!o","!*","*"],"tree":["=","~","!*","*"]};
var availableFilters = {"spent_on":{"type":"date_past","name":"Date","values":null},"project_id":{"type":"list","name":"Project","remote":true},"issue_id":{"type":"tree","name":"Issue","values":null},"issue.tracker_id":{"type":"list","name":"Issue's Tracker","remote":true},"issue.status_id":{"type":"list","name":"Issue's Status","remote":true},"issue.fixed_version_id":{"type":"list","name":"Issue's Target version","remote":true},"user_id":{"type":"list_optional","name":"User","remote":true},"activity_id":{"type":"list","name":"Activity","values":[["Design","8"],["Development","9"]]},"project.status":{"type":"list","name":"Project's Status","remote":true},"comments":{"type":"text","name":"Comment","values":null},"hours":{"type":"float","name":"Hours","values":null}};
var labelDayPlural = "days";
var filtersUrl = "\/queries\/filter?type=TimeEntryQuery";
$(document).ready(function(){
initFilters();
addFilter("spent_on", "*", []);
});
//]]>
</script>
<table id="filters-table">
</table>
<div class="add-filter">
<label for="add_filter_select">Add filter</label>
<select id="add_filter_select"><option value=""> </option>
<option value="project_id">Project</option>
<option value="issue_id">Issue</option>
<option value="user_id">User</option>
<option value="activity_id">Activity</option>
<option value="comments">Comment</option>
<option value="hours">Hours</option>
<option value="spent_on">Date</option><optgroup label="Issue"><option value="issue.tracker_id">Issue's Tracker</option>
<option value="issue.status_id">Issue's Status</option>
<option value="issue.fixed_version_id">Issue's Target version</option></optgroup><optgroup label="Project"><option value="project.status">Project's Status</option></optgroup></select>
</div>
<input type="hidden" name="f[]" id="f_" value="" />
</div>
</fieldset>
<fieldset id="options" class="collapsible collapsed">
<legend onclick="toggleFieldset(this);">Options</legend>
<div style="display: none;">
<table>
<tr>
<td class="field">Columns</td>
<td>
<span class="query-columns">
<span>
<label for="available_c">Available Columns</label>
<select name="available_columns[]" id="available_c" multiple="multiple" size="10" ondblclick="moveOptions(this.form.available_c, this.form.selected_c);"><option value="created_on">Created</option>
<option value="tweek">Week</option>
<option value="issue.tracker">Tracker</option>
<option value="issue.status">Status</option>
<option value="issue.category">Category</option></select>
</span>
<span class="buttons">
<input type="button" value="→" class="move-right"
onclick="moveOptions(this.form.available_c, this.form.selected_c);" />
<input type="button" value="←" class="move-left"
onclick="moveOptions(this.form.selected_c, this.form.available_c);" />
</span>
<span>
<label for="selected_c">Selected Columns</label>
<select name="c[]" id="selected_c" multiple="multiple" size="10" ondblclick="moveOptions(this.form.selected_c, this.form.available_c);"><option value="project">Project</option>
<option value="spent_on">Date</option>
<option value="user">User</option>
<option value="activity">Activity</option>
<option value="issue">Issue</option>
<option value="comments">Comment</option>
<option value="hours">Hours</option></select>
</span>
<span class="buttons">
<input type="button" value="⇈" onclick="moveOptionTop(this.form.selected_c);" />
<input type="button" value="↑" onclick="moveOptionUp(this.form.selected_c);" />
<input type="button" value="↓" onclick="moveOptionDown(this.form.selected_c);" />
<input type="button" value="⇊" onclick="moveOptionBottom(this.form.selected_c);" />
</span>
</span>
<script>
//<![CDATA[
$(document).ready(function(){
$('.query-columns').closest('form').submit(function(){
$('#selected_c option').prop('selected', true);
});
});
//]]>
</script></td>
</tr>
<tr>
<td class="field"><label for='group_by'>Group results by</label></td>
<td><select name="group_by" id="group_by"><option value=""> </option>
<option value="project">Project</option>
<option value="spent_on">Date</option>
<option value="user">User</option>
<option value="activity">Activity</option></select></td>
</tr>
<tr>
<td>Totals</td>
<td><label class="inline"><input type="checkbox" name="t[]" value="hours" checked="checked" /> Hours</label><input type="hidden" name="t[]" id="t_" value="" /></td>
</tr>
</table>
</div>
</fieldset>
</div>
<p class="buttons">
<a href="#" onclick="$("#query_form").submit(); return false;" class="icon icon-checked">Apply</a>
<a class="icon icon-reload" href="/time_entries?set_filter=1&sort=">Clear</a>
</p>
</div>
<div class="tabs hide-when-print">
<ul>
<li><a class="selected" href="/time_entries">Details</a></li>
<li><a href="/time_entries/report">Report</a></li>
</ul>
</div>
</form>
<p class="nodata">No data to display</p>
<div style="clear:both;"></div>
</div>
</div>
</div>
<div id="ajax-indicator" style="display:none;"><span>Loading...</span></div>
<div id="ajax-modal" style="display:none;"></div>
<div id="footer">
<div class="bgl"><div class="bgr">
Powered by <a href="https://www.redmine.org/">Redmine</a> © 2006-2018 Jean-Philippe Lang
</div></div>
</div>
</div>
</div>
</body>
</html>