Stylesheet.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 13 Sep 2015 09:33:45 +0000 (11:33 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 13 Sep 2015 09:33:45 +0000 (11:33 +0200)
static/style.css [new file with mode: 0644]
templates/index.html
templates/output.html

diff --git a/static/style.css b/static/style.css
new file mode 100644 (file)
index 0000000..d909c29
--- /dev/null
@@ -0,0 +1 @@
+label.field {font-weight: bold;}
index 1302dc9..6227518 100644 (file)
@@ -3,6 +3,7 @@
 
 <head>
     <title>OCCI Compliance Tests</title>
+    <link rel="stylesheet" type="text/css" href="static/style.css"/>
     <script>
         function tests_all(state) {
             checkboxes = document.getElementsByName('tests')
         {{ form.hidden_tag() }}
         <table>
             <tr>
-                <td>{{ form.url.label }}</td><td>{{ form.url(size=30) }}</td>
+                <td>{{ form.url.label(class='field') }}</td><td>{{ form.url(size=30) }}</td>
             </tr>
             <tr>
-                <td>{{ form.user.label }}</td><td>{{ form.user(size=20) }}</td>
+                <td>{{ form.user.label(class='field') }}</td><td>{{ form.user(size=20) }}</td>
             </tr>
             <tr>
-                <td>{{ form.password.label }}</td><td>{{ form.password(size=20, password=True) }}</td>
+                <td>{{ form.password.label(class='field') }}</td><td>{{ form.password(size=20, password=True) }}</td>
             </tr>
             <tr>
-                <td>{{ form.tests.label }}</td>
+                <td>{{ form.tests.label(class='field') }}</td>
                 <td>
                     <table>
                         <tr>
@@ -44,7 +45,7 @@
                             </td>
                         </tr>
 {% for subfield in form.tests %}
-                        <tr><td>{{ subfield }}</td><td>{{ subfield.label }}</td></tr>
+                        <tr><td>{{ subfield(class='tests') }}</td><td>{{ subfield.label(class='tests') }}</td></tr>
 {% endfor %}
                     </table>
                 </td>
index 861a617..6d97a01 100644 (file)
@@ -3,6 +3,7 @@
 
 <head>
     <title>OCCI Compliance Tests</title>
+    <link rel="stylesheet" type="text/css" href="static/style.css"/>
 </head>
 
 <body>