summaryrefslogtreecommitdiff
path: root/template/debug.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/debug.st')
-rw-r--r--template/debug.st56
1 files changed, 56 insertions, 0 deletions
diff --git a/template/debug.st b/template/debug.st
new file mode 100644
index 0000000..c9bbcdb
--- /dev/null
+++ b/template/debug.st
@@ -0,0 +1,56 @@
+<html>
+ <head>
+ <title>dump.fm DEBUG</title>
+ $head()$
+ <style>
+ #main {
+ padding: 100px 2em 0px 2em;
+ }
+ #flash {
+ border: 2px solid red;
+ margin: 0 auto;
+ padding: 1em;
+ width: 75%
+ }
+ label {
+ float: left;
+ width: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ $banner()$
+ <div id="main">
+
+ $if(flash)$
+ <div id="flash">$flash$</div>
+ <br><br><br>
+ $endif$
+
+ <form action="/debug" method="POST">
+ <h1>Registration Email</h1>
+ <br>
+ <label>To:</label>
+ <input name="to" value="$user_email$">
+ <br>
+ <label>Nick:</label>
+ <input name="nick" value="$user_nick$">
+ <br>
+ <label>Template:</label>
+ <div>
+ $mailtemps: { t |
+ <input type="radio" name="template" value="$t.template$"
+ $if(t.selected)$checked="checked"$endif$> $t.template$
+ }$
+ </div>
+ <br>
+ <input type="submit" value="Send Email">
+ <input type="hidden" name="action" value="regemail">
+ <br>
+ <form/>
+ </div>
+ </body>
+</html>
+
+
+