summaryrefslogtreecommitdiffstats
path: root/gui/views/services.tpl
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-14 20:27:25 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-14 20:27:25 +0100
commita36150d2305e93de9d0f58cb48273ed9909cab05 (patch)
tree03f0b75c178d6de9b05b83ee8954f1e3d6b63573 /gui/views/services.tpl
parente5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd (diff)
downloaddabmux-a36150d2305e93de9d0f58cb48273ed9909cab05.tar.gz
dabmux-a36150d2305e93de9d0f58cb48273ed9909cab05.tar.bz2
dabmux-a36150d2305e93de9d0f58cb48273ed9909cab05.zip
GUI: create a second page with a service table
Diffstat (limited to 'gui/views/services.tpl')
-rw-r--r--gui/views/services.tpl31
1 files changed, 31 insertions, 0 deletions
diff --git a/gui/views/services.tpl b/gui/views/services.tpl
new file mode 100644
index 0000000..7ca2f9f
--- /dev/null
+++ b/gui/views/services.tpl
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html><head>
+<title>ODR-DabMux Services</title>
+<style>
+body {
+ font-family: sans;
+}
+</style>
+</head>
+<body>
+ <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>
+