blob: a423cf22fe251f89564f601d31474c294c7566ed (
plain)
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
|
[%
SET bodyclass = bodyclass || 'fullwidthpage';
INCLUDE 'header.html' admin = 1, bodyclass = bodyclass _ ' admin';
states = {
'unconfirmed' = loc('Submitted'),
'confirmed' = loc('Open'),
'in progress' = loc('In progress'),
'planned' = loc('Planned'),
'fixed - council' = loc('Closed'),
'hidden' = loc('Hidden'),
'closed' = loc('Extern'),
'partial' = loc('Not contactable'),
'investigating' = loc('Wish'),
'unable to fix' = loc('Jurisdiction unknown'),
'fixed - council' = loc('Closed'),
}
%]
<style type="text/css">
.adminhidden { color: #666666; }
.active { background-color: #ffffee; cursor: pointer; }
.error { color: red; }
.overdue { background-color: #ffcccc; }
select { width: auto; }
.admin-report-edit select { max-width: 100%; }
</style>
<script>
$(function(){
$('.row-link').hover(function(){
$(this).toggleClass("active");
}).click(function(){
window.location = this.getElementsByTagName('a')[0];
}).find('td:last').hide();
$('th.edit').hide();
});
</script>
|