]> Joshua Wise's Git repositories - netwatch.git/blobdiff - net/http/fsdata.c
add GUIDE
[netwatch.git] / net / http / fsdata.c
index 7195a700f3c071558c5a5fa1c5ffda2e164202b5..066f058b2582c73cf7b63cf1abb6253589f9a238 100644 (file)
@@ -1,12 +1,15 @@
-static const unsigned char data_404_html[] =
+static const char data_404_html[] =
   "<html><head><title>404 Not Found</title></head>"
   "<body><h1>404 Not Found</h1><p>This is probably not the machine you're looking for...</p></body>"
   "</html>";
 
   "<html><head><title>404 Not Found</title></head>"
   "<body><h1>404 Not Found</h1><p>This is probably not the machine you're looking for...</p></body>"
   "</html>";
 
-static const unsigned char data_index_html[] =
-  "<html><head><title>NetWatch!</title></head>"
-  "<body><h1>NetWatch!</h1><iframe src=\"registers.html\" height=300></body>"
-  "</html>";
+static const char data_index_html[] =
+  "<html><head><title>NetWatch</title></head>"
+  "<body><h1>NetWatch</h1>"
+  "<iframe src=\"registers.html\" height=100 width=600></iframe><br>"
+  "<iframe src=\"backtrace.html\" height=250 width=150></iframe>"
+  "<form action=reboot type=post><input type=submit value=\"Reboot!\"></form>"
+  "</body></html>";
 
 const struct fsdata_file file_404_html[] = {{NULL, "/404.html", data_404_html, sizeof(data_404_html)}};
 const struct fsdata_file file_index_html[] = {{file_404_html, "/index.html", data_index_html, sizeof(data_index_html)}};
 
 const struct fsdata_file file_404_html[] = {{NULL, "/404.html", data_404_html, sizeof(data_404_html)}};
 const struct fsdata_file file_index_html[] = {{file_404_html, "/index.html", data_index_html, sizeof(data_index_html)}};
This page took 0.020534 seconds and 4 git commands to generate.