4311f05ebb165e045265076f4947769dfdc2ae3e
[darkstat] / html.h
1 /* darkstat 3
2 *
3 * html.h: HTML header/footer for web interface.
4 * copyright (c) 2006 Ben Stewart.
5 *
6 * You may use, modify and redistribute this file under the terms of the
7 * GNU General Public License version 2. (see COPYING.GPL)
8 */
9 #ifndef __DARKSTAT_HTML_H
10 #define __DARKSTAT_HTML_H
11
12 #include "config.h" /* for PACKAGE_STRING */
13
14 static const char html_header_1[] =
15 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n"
16 " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"
17 "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
18 "<head>\n"
19 " <link rel=\"stylesheet\" href=\"/style.css\" type=\"text/css\"/>\n";
20
21 static const char html_header_2[] =
22 "</head>\n"
23 "<body>\n"
24 "<div class=\"menu\">\n"
25 "<ul class=\"menu\">\n"
26 "<li class=\"label\">" PACKAGE_STRING "</li>"
27 "<li><a href=\"/\">graphs</a></li>"
28 "<li><a href=\"/hosts/\">hosts</a></li>"
29 "<li><a href=\"http://dmr.ath.cx/net/darkstat/\">homepage</a></li>"
30 "</ul>\n"
31 "</div>\n"
32 "<div class=\"content\">\n";
33
34 static const char html_footer[] =
35 "</div>\n"
36 "</body>\n"
37 "</html>\n";
38
39 #endif
40 /* vim:set ts=3 sw=3 tw=78 expandtab: */