From 7ea021b5bb47e28c9156c834f66d2cd49d7ac55f Mon Sep 17 00:00:00 2001 From: PsiOmega Date: Wed, 17 Sep 2014 08:29:19 +0200 Subject: [PATCH] NanoUI - Docking controller quick-fix Same quickfix as for the airlock controller, having buttons use the default template instead of stretching across the entire screen. I lack the web/NanoUI know-how for a long-term fix. --- nano/templates/docking_airlock_console.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nano/templates/docking_airlock_console.tmpl b/nano/templates/docking_airlock_console.tmpl index a14692a7c2..9dd1709c69 100644 --- a/nano/templates/docking_airlock_console.tmpl +++ b/nano/templates/docking_airlock_console.tmpl @@ -78,19 +78,19 @@ {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, 'disabled', null)}} {{else}} {{if data.interior_status.state == "open"}} - {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, 'redBackground')}} + {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, null)}} {{else}} - {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, data.processing ? 'yellowBackground' : null)}} + {{:helper.link('Force exterior door', 'alert', {'command' : 'force_ext'}, null, data.processing ? null : null)}} {{/if}} {{if data.exterior_status.state == "open"}} - {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, 'redBackground')}} + {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, null)}} {{else}} - {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, data.processing ? 'yellowBackground' : null)}} + {{:helper.link('Force interior door', 'alert', {'command' : 'force_int'}, null, data.processing ? null : null)}} {{/if}} {{/if}}
- {{:helper.link('Abort', 'cancel', {'command' : 'abort'}, (data.processing && !data.airlock_disabled) ? null : 'disabled', (data.processing && !data.airlock_disabled) ? 'redBackground' : null)}} + {{:helper.link('Abort', 'cancel', {'command' : 'abort'}, (data.processing && !data.airlock_disabled) ? null : 'disabled', (data.processing && !data.airlock_disabled) ? null : null)}}
\ No newline at end of file