Adds custom lighting support to modular computers, and a flashlight to tablets
This commit is contained in:
@@ -11,4 +11,9 @@
|
||||
<td><ui-button state='{{running ? null : "disabled"}}' icon='close' action='PC_killprogram' params='{"name": "{{name}}"}'></ui-button>
|
||||
{{/each}}
|
||||
</table>
|
||||
<br><br>
|
||||
{{#if data.has_light}}
|
||||
<ui-button action='PC_toggle_light' style='{{data.light_on ? "selected" : null}}'>Toggle Flashlight</ui-button><br>
|
||||
<ui-button action='PC_light_color'>Change Flashlight Color <span style='border:1px solid #161616; background-color: {{data.comp_light_color}};'> </span></ui-button>
|
||||
{{/if}}
|
||||
</ui-display>
|
||||
Reference in New Issue
Block a user