aboutsummaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorBuchan Milne <buchan@mageia.org>2010-10-26 14:51:48 +0000
committerBuchan Milne <buchan@mageia.org>2010-10-26 14:51:48 +0000
commit601b41083cf7c2186ecce70ec07aebdb9310edd6 (patch)
tree23d14b17ec560316d94f0d840f47a4ae48e9d7b3 /root
parent195308dcc10a015aaae5fd1f1bd0be817c2127bd (diff)
downloadidentity-601b41083cf7c2186ecce70ec07aebdb9310edd6.tar
identity-601b41083cf7c2186ecce70ec07aebdb9310edd6.tar.gz
identity-601b41083cf7c2186ecce70ec07aebdb9310edd6.tar.bz2
identity-601b41083cf7c2186ecce70ec07aebdb9310edd6.tar.xz
identity-601b41083cf7c2186ecce70ec07aebdb9310edd6.zip
Clean up repo
Diffstat (limited to 'root')
-rw-r--r--root/favicon.icobin0 -> 2551 bytes
-rw-r--r--root/index.tt34
-rw-r--r--root/register/check.tt4
-rw-r--r--root/register/complete.tt16
-rw-r--r--root/register/index.tt45
-rw-r--r--root/static/images/btn_120x50_built.pngbin0 -> 3826 bytes
-rw-r--r--root/static/images/btn_120x50_built_shadow.pngbin0 -> 3681 bytes
-rw-r--r--root/static/images/btn_120x50_powered.pngbin0 -> 3862 bytes
-rw-r--r--root/static/images/btn_120x50_powered_shadow.pngbin0 -> 3673 bytes
-rw-r--r--root/static/images/btn_88x31_built.pngbin0 -> 2517 bytes
-rw-r--r--root/static/images/btn_88x31_built_shadow.pngbin0 -> 2274 bytes
-rw-r--r--root/static/images/btn_88x31_powered.pngbin0 -> 2542 bytes
-rw-r--r--root/static/images/btn_88x31_powered_shadow.pngbin0 -> 2304 bytes
-rw-r--r--root/static/images/catalyst_logo.pngbin0 -> 13710 bytes
14 files changed, 99 insertions, 0 deletions
diff --git a/root/favicon.ico b/root/favicon.ico
new file mode 100644
index 0000000..5ad723d
--- /dev/null
+++ b/root/favicon.ico
Binary files differ
diff --git a/root/index.tt b/root/index.tt
new file mode 100644
index 0000000..3b43806
--- /dev/null
+++ b/root/index.tt
@@ -0,0 +1,34 @@
+[% MACRO l(text, args) BLOCK;
+ c.localize(text, args);
+END; %]
+
+
+<h2>[% l('Login') %]</h2>
+
+<span class="error">
+[% FOREACH error IN errors %]
+[% error %]<br/>
+[% END %]
+</span>
+
+<form method=post action="/user">
+
+<table border=0>
+<tr>
+<td>[% l('Username') %]</td>
+<td><input type=text name="username" value=[% c.request.params.username %]></td>
+</tr>
+<tr>
+<td>[% l('Password') %]</td>
+<td><input type=password name='password'></td>
+</tr>
+<tr>
+<td></td>
+<td colspan=1>
+ <input type='Submit' value='[% l('Login') %]'> [% l('or') %]
+ <a href="/register">[% l('Register') %]</a>
+</td>
+</tr>
+</table>
+
+
diff --git a/root/register/check.tt b/root/register/check.tt
new file mode 100644
index 0000000..aab8e33
--- /dev/null
+++ b/root/register/check.tt
@@ -0,0 +1,4 @@
+<h2>Success</h2>
+<p>
+[% message %]
+
diff --git a/root/register/complete.tt b/root/register/complete.tt
new file mode 100644
index 0000000..a4f07e2
--- /dev/null
+++ b/root/register/complete.tt
@@ -0,0 +1,16 @@
+[% MACRO l(text, args) BLOCK;
+ c.localize(text, args);
+END; %]
+
+
+<h2>[% l('Registration completed') %]</h2>
+
+<span class="error">
+[% FOREACH error IN errors %]
+[% error %]<br/>
+[% END %]
+</span>
+
+<p>
+[% l('Registration was successful.') %]
+[% l('Check your mail for activation instructions') %]
diff --git a/root/register/index.tt b/root/register/index.tt
new file mode 100644
index 0000000..f509316
--- /dev/null
+++ b/root/register/index.tt
@@ -0,0 +1,45 @@
+[% MACRO l(text, args) BLOCK;
+ c.localize(text, args);
+END; %]
+
+
+<h2>[% l('Register') %]</h2>
+
+<span class="error">
+[% FOREACH error IN errors %]
+[% error %]<br/>
+[% END %]
+</span>
+
+<form method=POST action="/register/check">
+
+<table border=0>
+<tr>
+<td>[% l('Username') %]</td>
+<td><input type=text name="uid" value=[% c.request.params.uid %]></td>
+</tr>
+<tr>
+<td>[% l('First name') %]</td>
+<td><input type=text name='gn' value=[% c.request.params.gn %]></td>
+</tr>
+<tr>
+<td>[% l('Surname') %]</td>
+<td><input type=text name='sn' value=[% c.request.params.sn %]></td>
+</tr>
+<tr>
+<td>[% l('Email address') %]</td>
+<td><input type=text name='mail1' value=[% c.request.params.mail1 %]></td>
+</tr>
+<tr>
+<td>[% l('Confirm Email address') %]</td>
+<td><input type=text name='mail2' value=[% c.request.params.mail2 %]></td>
+</tr>
+<tr>
+<td><img src=/register/captcha></td>
+<td><input type=text name=validate>
+</tr>
+<tr>
+<td></td>
+<td colspan=1><input type='Submit' value='[% l('Register') %]'>
+</tr>
+</table>
diff --git a/root/static/images/btn_120x50_built.png b/root/static/images/btn_120x50_built.png
new file mode 100644
index 0000000..c709fd6
--- /dev/null
+++ b/root/static/images/btn_120x50_built.png
Binary files differ
diff --git a/root/static/images/btn_120x50_built_shadow.png b/root/static/images/btn_120x50_built_shadow.png
new file mode 100644
index 0000000..15142fe
--- /dev/null
+++ b/root/static/images/btn_120x50_built_shadow.png
Binary files differ
diff --git a/root/static/images/btn_120x50_powered.png b/root/static/images/btn_120x50_powered.png
new file mode 100644
index 0000000..7249b47
--- /dev/null
+++ b/root/static/images/btn_120x50_powered.png
Binary files differ
diff --git a/root/static/images/btn_120x50_powered_shadow.png b/root/static/images/btn_120x50_powered_shadow.png
new file mode 100644
index 0000000..e6876c0
--- /dev/null
+++ b/root/static/images/btn_120x50_powered_shadow.png
Binary files differ
diff --git a/root/static/images/btn_88x31_built.png b/root/static/images/btn_88x31_built.png
new file mode 100644
index 0000000..007b5db
--- /dev/null
+++ b/root/static/images/btn_88x31_built.png
Binary files differ
diff --git a/root/static/images/btn_88x31_built_shadow.png b/root/static/images/btn_88x31_built_shadow.png
new file mode 100644
index 0000000..ccf4624
--- /dev/null
+++ b/root/static/images/btn_88x31_built_shadow.png
Binary files differ
diff --git a/root/static/images/btn_88x31_powered.png b/root/static/images/btn_88x31_powered.png
new file mode 100644
index 0000000..8f0cd9f
--- /dev/null
+++ b/root/static/images/btn_88x31_powered.png
Binary files differ
diff --git a/root/static/images/btn_88x31_powered_shadow.png b/root/static/images/btn_88x31_powered_shadow.png
new file mode 100644
index 0000000..aa776fa
--- /dev/null
+++ b/root/static/images/btn_88x31_powered_shadow.png
Binary files differ
diff --git a/root/static/images/catalyst_logo.png b/root/static/images/catalyst_logo.png
new file mode 100644
index 0000000..21f1cac
--- /dev/null
+++ b/root/static/images/catalyst_logo.png
Binary files differ