diff options
author | Robin ALEXANDER <colisee@hotmail.com> | 2022-02-06 09:12:58 +0100 |
---|---|---|
committer | Robin ALEXANDER <colisee@hotmail.com> | 2022-02-06 09:12:58 +0100 |
commit | a9aadb35bdc03875b0f90e18fd2190aa19f8f58f (patch) | |
tree | 43f0210cc0649565828fe207ae00f8246527e351 /gui/views/services.tpl | |
parent | b6376fb8f1379bebd3241f29e356eb0076adfcbd (diff) | |
download | dabmux-a9aadb35bdc03875b0f90e18fd2190aa19f8f58f.tar.gz dabmux-a9aadb35bdc03875b0f90e18fd2190aa19f8f58f.tar.bz2 dabmux-a9aadb35bdc03875b0f90e18fd2190aa19f8f58f.zip |
Extend W3.CSS and Jinja2 to secondary templates
Diffstat (limited to 'gui/views/services.tpl')
-rw-r--r-- | gui/views/services.tpl | 54 |
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 |