diff options
Diffstat (limited to 'test-data/web')
| -rw-r--r-- | test-data/web/default.css.example | 55 | ||||
| -rw-r--r-- | test-data/web/generic/error.html.example | 12 | ||||
| -rw-r--r-- | test-data/web/index.html.example | 14 | ||||
| -rw-r--r-- | test-data/web/robots.txt.example | 0 |
4 files changed, 81 insertions, 0 deletions
diff --git a/test-data/web/default.css.example b/test-data/web/default.css.example new file mode 100644 index 0000000..09219ad --- /dev/null +++ b/test-data/web/default.css.example @@ -0,0 +1,55 @@ +body { + background-color: #F0F0F0; +} + +/************************************ + * Classes that plugins should use. * + ************************************/ + +/* Error pages */ +body.error { + text-align: center; +} +body.error p { + background-color: #FFE0E0; + border: 1px #FFA0A0 solid; +} + +/* Pages that only contain a list. */ +.purelisting { + text-align: center; +} +.purelisting ul { + margin: 0; + padding: 0; +} +.purelisting ul li { + margin: 0; + padding: 0; + list-style-type: none; +} + +/* Pages that only contain a table. */ +.puretable { + text-align: center; +} +.puretable table +{ + width: 100%; + border-collapse: collapse; + text-align: center; +} + +.puretable table th +{ + /*color: #039;*/ + padding: 10px 8px; + border-bottom: 2px solid #6678b1; +} + +.puretable table td +{ + padding: 9px 8px 0px 8px; + border-bottom: 1px solid #ccc; +} + diff --git a/test-data/web/generic/error.html.example b/test-data/web/generic/error.html.example new file mode 100644 index 0000000..9c7162a --- /dev/null +++ b/test-data/web/generic/error.html.example @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8" /> + <title>%(title)s</title> + <link rel="stylesheet" href="/default.css" /> + </head> + <body class="error"> + <h1>Error</h1> + <p>%(error)s</p> + </body> +</html>
\ No newline at end of file diff --git a/test-data/web/index.html.example b/test-data/web/index.html.example new file mode 100644 index 0000000..ff105c4 --- /dev/null +++ b/test-data/web/index.html.example @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8" /> + <title>Supybot Web server index</title> + <link rel="stylesheet" type="text/css" href="/default.css" media="screen" /> + </head> + <body class="purelisting"> + <h1>Supybot web server index</h1> + <p>Here is a list of the plugins that have a Web interface: + </p> + %(list)s + </body> +</html>
\ No newline at end of file diff --git a/test-data/web/robots.txt.example b/test-data/web/robots.txt.example new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test-data/web/robots.txt.example |
