summaryrefslogtreecommitdiffstats
path: root/gui/views/services.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'gui/views/services.tpl')
-rw-r--r--gui/views/services.tpl54
1 files changed, 29 insertions, 25 deletions
diff --git a/gui/views/services.tpl b/gui/views/services.tpl
index 7af383f..42438a8 100644
--- a/gui/views/services.tpl
+++ b/gui/views/services.tpl
@@ -1,27 +1,31 @@
<!DOCTYPE html>
-<html><head>
-<title>ODR-DabMux Services</title>
-<link rel="stylesheet" href="static/style.css" />
-</head>
-<body>
+<html>
+ <head>
+ <title>ODR-DabMux Services</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
+ </head>
+ <body class="w3-container">
<h1>Services for {{version}}</h1>
- <table>
- <tr>
- <th>name</th>
- <th>id</th>
- <th>label</th>
- <th>pty</th>
- <th>language</th>
- </tr>
- % for s in services:
- <tr><td>{{s.name}}</td>
- <td>{{s.id}}</td>
- <td>{{s.label}} ({{s.shortlabel}})</td>
- <td>{{s.pty}}</td>
- <td>{{s.language}}</td>
- </tr>
- % end
- </ul>
-</body>
-</html>
-
+ <table class="w3-table w3-striped w3-bordered">
+ <tr class="w3-blue-grey">
+ <th>Service</th>
+ <th>Id</th>
+ <th>Label</th>
+ <th>Short label</th>
+ <th>Program type</th>
+ <th>Language</th>
+ </tr>
+ {% for s in services %}
+ <tr>
+ <td>{{s.name}}</td>
+ <td>{{s.id}}</td>
+ <td>{{s.label}}</td>
+ <td>{{s.shortlabel}}</td>
+ <td>{{s.pty}}</td>
+ <td>{{s.language}}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ </body>
+</html> \ No newline at end of file