src/utils_cgi.c: Display the package name and version on generated pages.
authorFlorian Forster <ff@octo.it>
Tue, 6 Jul 2010 07:17:10 +0000 (09:17 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 6 Jul 2010 07:17:10 +0000 (09:17 +0200)
share/style.css
src/utils_cgi.c

index 3f2cf59..9f78f22 100644 (file)
@@ -1,6 +1,7 @@
 body
 {
        font-family: sans-serif;
+       margin: 0;
 }
 
 a
@@ -18,6 +19,7 @@ a:hover
 #layout-table
 {
        width: 100%;
+       margin: 1ex;
 }
 
 #layout-top-left,
@@ -221,3 +223,13 @@ div.graph-img:hover div.graph-buttons
        margin-bottom: 1px;
 }
 
+div.footer
+{
+       margin-left: auto;
+       margin-right: auto;
+       padding: 0 1em;
+       border-top: 1px solid gray;
+       font-size: 80%;
+       font-style: italic;
+       text-align: right;
+}
index 47a531f..3fe7e18 100644 (file)
@@ -643,6 +643,7 @@ int html_print_page (const char *title, /* {{{ */
   printf ("</td>\n"
       "      </tr>\n"
       "    </table>\n"
+      "    <div class=\"footer\">"PACKAGE_STRING"</div>\n"
       "  </body>\n"
       "</html>\n");