summaryrefslogtreecommitdiff
path: root/GroLUG/root/src
diff options
context:
space:
mode:
Diffstat (limited to 'GroLUG/root/src')
-rw-r--r--GroLUG/root/src/error.tt210
-rw-r--r--GroLUG/root/src/message.tt216
-rw-r--r--GroLUG/root/src/ttsite.css45
-rw-r--r--GroLUG/root/src/welcome.tt29
4 files changed, 80 insertions, 0 deletions
diff --git a/GroLUG/root/src/error.tt2 b/GroLUG/root/src/error.tt2
new file mode 100644
index 0000000..2ba47e3
--- /dev/null
+++ b/GroLUG/root/src/error.tt2
@@ -0,0 +1,10 @@
+[% META title = 'Catalyst/TT Error' %]
+<p>
+ An error has occurred. We're terribly sorry about that, but it's
+ one of those things that happens from time to time. Let's just
+ hope the developers test everything properly before release...
+</p>
+<p>
+ Here's the error message, on the off-chance that it means something
+ to you: <span class="error">[% error %]</span>
+</p>
diff --git a/GroLUG/root/src/message.tt2 b/GroLUG/root/src/message.tt2
new file mode 100644
index 0000000..e72a468
--- /dev/null
+++ b/GroLUG/root/src/message.tt2
@@ -0,0 +1,16 @@
+[% META title = 'Catalyst/TT View!' %]
+<p>
+ Yay! You're looking at a page generated by the Catalyst::View::TT
+ plugin module.
+</p>
+<p>
+ We have a message for you: <span class="message">[% message %]</span>.
+</p>
+<p>
+ Why not try updating the message? Go on, it's really exciting, honest!
+</p>
+<form action="[% site.url.message %]"
+ method="POST" enctype="application/x-www-form-urlencoded">
+ <input type="text" name="message" value="[% message %]" />
+ <input type="submit" name="submit" value=" Update Message "/>
+</form>
diff --git a/GroLUG/root/src/ttsite.css b/GroLUG/root/src/ttsite.css
new file mode 100644
index 0000000..e946a43
--- /dev/null
+++ b/GroLUG/root/src/ttsite.css
@@ -0,0 +1,45 @@
+
+html {
+ height: 100%;
+}
+
+body {
+ background-color: [% site.col.page %];
+ color: [% site.col.text %];
+ margin: 0px;
+ padding: 0px;
+ height: 100%;
+}
+
+#header {
+ background-color: [% site.col.head %];
+ border-bottom: 1px solid [% site.col.line %];
+}
+
+#footer {
+ background-color: [% site.col.head %];
+ text-align: center;
+ border-top: 1px solid [% site.col.line %];
+ position: absolute;
+ bottom: 0;
+ left: 0px;
+ width: 100%;
+ padding: 4px;
+}
+
+#content {
+ padding: 10px;
+}
+
+h1.title {
+ padding: 4px;
+ margin: 0px;
+}
+
+.message {
+ color: [% site.col.message %];
+}
+
+.error {
+ color: [% site.col.error %];
+}
diff --git a/GroLUG/root/src/welcome.tt2 b/GroLUG/root/src/welcome.tt2
new file mode 100644
index 0000000..26f3d89
--- /dev/null
+++ b/GroLUG/root/src/welcome.tt2
@@ -0,0 +1,9 @@
+[% META title = 'Catalyst/TT View!' %]
+<p>
+ Yay! You're looking at a page generated by the Catalyst::View::TT
+ plugin module.
+</p>
+<p>
+ This is the welcome page. Why not try the equally-exciting
+ <a href="[% site.url.message %]">Message Page</a>?
+</p>