]> Joshua Wise's Git repositories - netwatch.git/blob - net/http/fsdata.c
Make the loader a little less verbose.
[netwatch.git] / net / http / fsdata.c
1 static const char data_404_html[] =
2   "<html><head><title>404 Not Found</title></head>"
3   "<body><h1>404 Not Found</h1><p>This is probably not the machine you're looking for...</p></body>"
4   "</html>";
5
6 static const char data_index_html[] =
7   "<html><head><title>NetWatch</title></head>"
8   "<body><h1>NetWatch</h1><table cellpadding=0 cellspacing=0 border=0><tr valign=top><td>"
9   "<iframe src=\"registers.html\" height=500 width=300></iframe></td><td>"
10   "<iframe src=\"backtrace.html\" height=250 width=150></iframe></td></tr></table>"
11   "<form action=reboot type=post><input type=submit value=\"Reboot!\"></form>"
12   "</body></html>";
13
14 const struct fsdata_file file_404_html[] = {{NULL, "/404.html", data_404_html, sizeof(data_404_html)}};
15 const struct fsdata_file file_index_html[] = {{file_404_html, "/index.html", data_index_html, sizeof(data_index_html)}};
16
17 #define FS_ROOT file_index_html
This page took 0.028373 seconds and 4 git commands to generate.