forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatmos_mixer.tmpl
51 lines (48 loc) · 1.5 KB
/
atmos_mixer.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
43
44
45
46
47
48
49
50
51
<div class="item">
<div class="itemLabel">
Power:
</div>
<div class="itemContent">
{{:~link(on? 'On' : 'Off', null, {'power' : 1})}}
</div>
</div>
<div class="item">
<div class="itemLabel">
Output pressure:
</div>
<div class="itemContent">
<div style="clear: both; padding-top: 4px;">
{{:~link('MAX', null, {'set_press' : 'max'}, null)}}
{{:~link('SET', null, {'set_press' : 'set'}, null)}}
<div style="float: left; width: 80px; text-align: center;"> {{:(pressure_set/100)}} kPa </div>
</div>
</div>
</div>
<div class="item">
<div class="itemLabel">
Node 1 Concentration:
</div>
<div class="itemContent">
<div style="clear: both; padding-top: 4px;">
{{:~link('-', null, {'node1_c' : '-0.1'}, null)}}
{{:~link('-', null, {'node1_c' : '-0.01'}, null)}}
<div style="float: left; width: 80px; text-align: center;"> {{:node1_concentration}} % </div>
{{:~link('+', null, {'node1_c' : '0.01'}, null)}}
{{:~link('+', null, {'node1_c' : '0.1'}, null)}}
</div>
</div>
</div>
<div class="item">
<div class="itemLabel">
Node 2 Concentration:
</div>
<div class="itemContent">
<div style="clear: both; padding-top: 4px;">
{{:~link('-', null, {'node2_c' : '-0.1'}, null)}}
{{:~link('-', null, {'node2_c' : '-0.01'}, null)}}
<div style="float: left; width: 80px; text-align: center;"> {{:node2_concentration}} % </div>
{{:~link('+', null, {'node2_c' : '0.01'}, null)}}
{{:~link('+', null, {'node2_c' : '0.1'}, null)}}
</div>
</div>
</div>