summaryrefslogtreecommitdiffstats
path: root/test-data/web
diff options
context:
space:
mode:
authorGeorg2021-05-22 03:13:53 +0200
committerGeorg2021-05-22 03:13:53 +0200
commitcc4ef9b16bcc694bdf536adae00169f7dfb9507a (patch)
tree64e7c3deb176f0aef565e859511fa15a738bc50a /test-data/web
downloadmailcow-cc4ef9b16bcc694bdf536adae00169f7dfb9507a.tar.gz
mailcow-cc4ef9b16bcc694bdf536adae00169f7dfb9507a.tar.bz2
mailcow-cc4ef9b16bcc694bdf536adae00169f7dfb9507a.zip
Initial
Diffstat (limited to 'test-data/web')
-rw-r--r--test-data/web/default.css.example55
-rw-r--r--test-data/web/generic/error.html.example12
-rw-r--r--test-data/web/index.html.example14
-rw-r--r--test-data/web/robots.txt.example0
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