summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-04-06 21:54:36 -0400
committersostler <sbostler@gmail.com>2010-04-06 21:54:36 -0400
commit04b2606d251315d1816cadd01a7b9afb9d991f8c (patch)
treea0c5a0688aacf3137b8a68dff409c43e4789160f
parent1a8efb3c2d1ca298fd9b0de14b627766b544a323 (diff)
Add debug template
-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>
+
+
+