diff --git a/ait/gui/static/css/ait/gui/Field.css b/ait/gui/static/css/ait/gui/Field.css index 5dd020d5..be6e9b63 100644 --- a/ait/gui/static/css/ait/gui/Field.css +++ b/ait/gui/static/css/ait/gui/Field.css @@ -4,6 +4,10 @@ ait-field { cursor: pointer; } +ait-field name { + font-weight: bold; +} + ait-field[disable-tlm-popover] { cursor: default; } diff --git a/ait/gui/static/index.html b/ait/gui/static/index.html index 75ca7eab..b9a9c06d 100644 --- a/ait/gui/static/index.html +++ b/ait/gui/static/index.html @@ -103,10 +103,10 @@

1553 HS Voltages

-
Voltage_A: - Voltage_B: -
Voltage_C: - Voltage_D: +
+ +
+

@@ -129,7 +129,7 @@

1553 HS Voltages

1553 HS Currents

-
Current_A: +

diff --git a/ait/gui/static/js/ait/gui/Field.js b/ait/gui/static/js/ait/gui/Field.js index 26281c22..dac53ae6 100644 --- a/ait/gui/static/js/ait/gui/Field.js +++ b/ait/gui/static/js/ait/gui/Field.js @@ -363,7 +363,13 @@ const Field = } } - return m('ait-field', vnode.attrs, value) + let dname = "" + if (vnode.attrs.display_name) { + dname = vnode.attrs.display_name + ': ' + } + + return m('ait-field', vnode.attrs, [m('name', dname), + m('value', value)]) } }