Files
GS13NG/tgui/src/interfaces/holodeck.ract
Poojawa b1b4826c0c July 5th TG sync (#1883)
July 5th TG sync
2017-07-05 22:14:19 -05:00

22 lines
821 B
Plaintext

<ui-display title='Default Programs' button>
{{#partial button}}
<ui-button icon='{{data.emagged ? "un" : null}}lock' state='{{data.can_toggle_safety ? null : "disabled"}}' action='safety'>
Safeties: <span class='{{data.emagged ? "bad" : "good"}}'>{{data.emagged ? "OFF" : "ON"}}</span>
</ui-button>
{{/partial}}
{{#each data.default_programs}}
<ui-button action='load_program' params='{"type": {{type}}}' style='{{data.program == type ? "selected" : null}}'>
{{name}}
</ui-button><br>
{{/each}}
</ui-display>
{{#if data.emagged}}
<ui-display title='Dangerous Programs'>
{{#each data.emag_programs}}
<ui-button icon='warning' action='load_program' params='{"type": {{type}}}' style='{{data.program == type ? "selected" : null}}'>
{{name}}
</ui-button><br>
{{/each}}
</ui-display>
{{/if}}