forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathntnet_relay.tmpl
19 lines (18 loc) · 989 Bytes
/
ntnet_relay.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<h2>Relay</h2>
{{if data.dos_crashed}}
<h2>NETWORK BUFFERS OVERLOADED</h2>
<h3>Overload Recovery Mode</h3>
<i>This system is suffering temporary outage due to overflow of traffic buffers. Until buffered traffic is processed, all further requests will be dropped. Frequent occurences of this error may indicate insufficient hardware capacity of your network. Please contact your network planning department for instructions on how to resolve this issue.</i>
<h3>ADMINISTRATIVE OVERRIDE</h3>
<b> CAUTION - Data loss may occur</b>
{{:helper.link('Purge buffered traffic', 'signal', {'action' : 'restart'})}}
{{else}}
<div class='item'>
<div class='itemLabel'>Relay status</div>
<div class='itemContent'>{{:helper.link(data.enabled ? "ENABLED" : "DISABLED", 'power-off', {'action' : 'toggle'})}}</div>
</div>
<div class='item'>
<div class='itemLabel'>Network buffer status</div>
<div class='itemContent'>{{:data.dos_overload}}/{{:data.dos_capacity}} GQ</div>
</div>
{{/if}}