]>
Commit | Line | Data |
---|---|---|
1 | static const unsigned 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 unsigned char data_index_html[] = | |
7 | "<html><head><title>NetWatch</title></head>" | |
8 | "<body><h1>NetWatch</h1>" | |
9 | "<iframe src=\"registers.html\" height=100 width=600></iframe><br>" | |
10 | "<iframe src=\"backtrace.html\" height=250 width=150></iframe>" | |
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 |