summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/error_template.html14
-rw-r--r--resources/external_link.svg1
-rw-r--r--resources/input_template.html16
-rw-r--r--resources/page_template.html13
-rw-r--r--resources/style.css29
5 files changed, 73 insertions, 0 deletions
diff --git a/resources/error_template.html b/resources/error_template.html
new file mode 100644
index 0000000..3daacb7
--- /dev/null
+++ b/resources/error_template.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="en">
+ <html>
+ <head>
+ <meta charset="$charset"/>
+ <style type="text/css">
+$css
+ </style>
+ </head>
+ <body>
+ <h1>$status</h1>
+ <p>$meta</p>
+ </body>
+ </html>
diff --git a/resources/external_link.svg b/resources/external_link.svg
new file mode 100644
index 0000000..ce9bd89
--- /dev/null
+++ b/resources/external_link.svg
@@ -0,0 +1 @@
+<svg width="16px" height="16px" viewBox="0 0 24 24" style="cursor:pointer"><g stroke-width="2.1" stroke="#666" fill="none" stroke-linecap="round" stroke-linejoin="round"><polyline points="17 13.5 17 19.5 5 19.5 5 7.5 11 7.5"></polyline><path d="M14,4.5 L20,4.5 L20,10.5 M20,4.5 L11,13.5"></path></g></svg>
diff --git a/resources/input_template.html b/resources/input_template.html
new file mode 100644
index 0000000..defbb7a
--- /dev/null
+++ b/resources/input_template.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+ <html>
+ <head>
+ <meta charset="$charset"/>
+ <style type="text/css">
+$css
+ </style>
+ </head>
+ <body>
+ <form action="" method="get">
+ <label for="input">$meta</label>
+ <input type="text" name="__client_internal_input" id="input" required>
+ <input type="submit">
+ </body>
+ </html>
diff --git a/resources/page_template.html b/resources/page_template.html
new file mode 100644
index 0000000..e049d56
--- /dev/null
+++ b/resources/page_template.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+ <html>
+ <head>
+ <meta charset="$charset"/>
+ <style type="text/css">
+$css
+ </style>
+ </head>
+ <body>
+$body
+ </body>
+ </html>
diff --git a/resources/style.css b/resources/style.css
new file mode 100644
index 0000000..6b06966
--- /dev/null
+++ b/resources/style.css
@@ -0,0 +1,29 @@
+html {
+ font-size: 18px;
+ font-family: Garamond, Georgia, sans-serif;
+}
+
+pre {
+ font-family: Courier, monospace;
+}
+
+blockquote {
+ border-left: 5px solid #ddd;
+ padding: 0.6em 0.6em 0.2em;
+ font-style: italic;
+}
+
+blockquote:before {
+ content: "\201C";
+ display: inline-block;
+ padding-right: 0.4rem;
+ font-size: 4em;
+ line-height: 0;
+ vertical-align: -0.4em;
+ color: lightgrey;
+ margin-right: 0.1em;
+}
+
+li.link::marker {
+ content: '⇒ ';
+}