From 062066075c8da6e095f87db5521071500a044860 Mon Sep 17 00:00:00 2001 From: Robin ALEXANDER Date: Mon, 31 Jan 2022 11:38:30 +0100 Subject: web design review Switching from static/style.css to W3.CSS for templates: + index.tpl + rcparam.tpl --- gui/views/index.tpl | 162 +++++++++++++++++++++++++++++--------------------- gui/views/rcparam.tpl | 31 +++++----- 2 files changed, 112 insertions(+), 81 deletions(-) (limited to 'gui') diff --git a/gui/views/index.tpl b/gui/views/index.tpl index 4538df8..479f734 100644 --- a/gui/views/index.tpl +++ b/gui/views/index.tpl @@ -1,73 +1,101 @@ - - + + ODR-DabMux Configuration - + + + - - -

Configuration for {{version}}

- - - -
-
-

General Multiplex Options

-
    -
  • Number of frames to encode: {{g.nbframes}}
  • -
  • Statistics server port: {{g.statsserverport}}
  • -
  • Write SCCA field: {{g.writescca}}
  • -
  • Write TIST timestamp: {{g.tist}}
  • -
  • DAB Mode: {{g.dabmode}}
  • -
  • Log to syslog: {{g.syslog}}
  • -
-
-
-

Services

-
    - % for s in services: -
  • {{s.name}}: {{s.label}} ({{s.shortlabel}}) — id = {{s.id}}
  • - % end -
-
-
-

Subchannels

-
    - % for s in subchannels: -
  • {{s.name}}: {{s.type}} — {{s.inputfile}}; {{s.bitrate}}kbps
  • - % end -
-
-
-

Components

-
    - % for s in components: -
  • {{s.name}}: {{s.label}} ({{s.shortlabel}}) — service {{s.service}}; subchannel {{s.subchannel}}; figtype {{s.figtype}}
  • - % end -
-
-
-

RC Modules

-
    - % for m in rcmodules: -
  • {{m.name}} -
      - % for p in m.parameters: -
    • {{p.param}} : {{p.value}}
    • - % end -
    -
  • - % end -
-
+ + + - - +

+
+
    +
  • General Multiplex Options

  • +
  • Number of frames to encode: {{g.nbframes}}
  • +
  • Statistics server port: {{g.statsserverport}}
  • +
  • Write SCCA field: {{g.writescca}}
  • +
  • Write TIST timestamp: {{g.tist}}
  • +
  • DAB Mode: {{g.dabmode}}
  • +
  • Log to syslog: {{g.syslog}}
  • +
+

+ + + + + + + + % for s in services: + + + + + + + % end +
ServiceIdLabelShort label
{{s.name}}{{s.id}}{{s.label}}{{s.shortlabel}}
+

+ + + + + + + + % for s in subchannels: + + + + + + + % end +
Sub channelTypeInput fileBit rate (Kbps)
{{s.name}}{{s.type}}{{s.inputfile}}{{s.bitrate}}
+

+ + + + + + + + + + % for s in components: + + + + + + + + + % end +
ComponentLabelShort labelServiceSub-channelFig type
{{s.name}}{{s.label}}{{s.shortlabel}}{{s.service}}{{s.subchannel}}{{s.figtype}}
+

+

    +
  • RC Modules

  • + % for m in rcmodules: +
  • {{m.name}} +
      + % for p in m.parameters: +
    • {{p.param}} : {{p.value}}
    • + % end +
    +
  • + % end +
+
+ + \ No newline at end of file diff --git a/gui/views/rcparam.tpl b/gui/views/rcparam.tpl index 5ae0e9e..3bf3e5c 100644 --- a/gui/views/rcparam.tpl +++ b/gui/views/rcparam.tpl @@ -1,22 +1,25 @@ - - + + ODR-DabMux Configuration - + + + - - -

Remote-Control of module {{module}}

+ -
-
- - + +

Remote-Control of module {{module}}

+
+ +

+ + +

+ +

- - + - - -- cgit v1.2.3