forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoor_access_console.tmpl
42 lines (42 loc) · 1.28 KB
/
door_access_console.tmpl
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
<div class="item" style="padding-top: 10px">
<div class="item">
<div class="itemLabel" style="width: 150px">
Exterior Door Status:
</div>
<div class="statusValue">
{{if data.exterior_status.state == "closed"}}
Locked
{{else}}
Open
{{/if}}
</div>
</div>
<div class="item">
<div class="itemLabel" style="width: 150px">
Interior Door Status:
</div>
<div class="statusValue">
{{if data.interior_status.state == "closed"}}
Locked
{{else}}
Open
{{/if}}
</div>
</div>
</div>
<div class="item" style="padding-top: 10px">
<div class="item">
<div class="itemContent" style="width: 100%">
{{if data.exterior_status.state == "open"}}
{{:helper.link('Lock Exterior Door', 'exclamation-triangle', {'command' : 'force_ext'}, data.processing ? 'disabled' : null)}}
{{else}}
{{:helper.link('Cycle to Exterior', 'arrow-circle-o-left', {'command' : 'cycle_ext_door'}, data.processing ? 'disabled' : null)}}
{{/if}}
{{if data.interior_status.state == "open"}}
{{:helper.link('Lock Interior Door', 'exclamation-triangle', {'command' : 'force_int'}, data.processing ? 'disabled' : null)}}
{{else}}
{{:helper.link('Cycle to Interior', 'arrow-circle-right', {'command' : 'cycle_int_door'}, data.processing ? 'disabled' : null)}}
{{/if}}
</div>
</div>
</div>