summaryrefslogtreecommitdiffstats
path: root/templates/login.tpl
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-06-01 18:46:12 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-06-01 18:46:12 +0200
commitaf6dd5f8f9844596e85db25a8e97df9e08cb795c (patch)
tree8408e754dd335571635bcde041bbce69213af592 /templates/login.tpl
parentbe50d9ed4ba2b844bbc29686cee46b1dc149372a (diff)
downloadCatalog-af6dd5f8f9844596e85db25a8e97df9e08cb795c.tar.gz
Catalog-af6dd5f8f9844596e85db25a8e97df9e08cb795c.zip
Port alls sites to smarty and use the inheritance model
Diffstat (limited to 'templates/login.tpl')
-rw-r--r--templates/login.tpl32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/login.tpl b/templates/login.tpl
new file mode 100644
index 0000000..c2bb0a2
--- /dev/null
+++ b/templates/login.tpl
@@ -0,0 +1,32 @@
+{extends file="layout.tpl"}
+{block name=title}Login{/block}
+{block name=navigation}
+<dl>
+ <dt><a href="contact.php">Contact us</a></dt>
+ <dt><a href="categories.php">Categories</a></dt>
+ <dt><a href=".">Home</a></dt>
+</dl>
+{/block}
+{block name=content}
+<form action="login.php" method="post">
+ <h1>{block name=title}{/block}</h1>
+ <div class="row">
+ <label for="username"><u>U</u>sername:</label>
+ <input class="formw" type="text"
+ placeholder="Username" id="username" name="username" accesskey="u"
+ maxlength="100">
+ </div>
+ <div class="row">
+ <label for="password"><u>P</u>assword:</label>
+ <input class="formw" type="password"
+ placeholder="Password" id="password" name="password" accesskey="p">
+ </div>
+ <div class="spacer">&nbsp;</div>
+ <button type="submit" accesskey="l">
+ <u>L</u>ogin
+ </button>
+ <button type="reset" accesskey="r">
+ <u>R</u>eset
+ </button>
+</form>
+{/block} \ No newline at end of file