added login page template, some other stuff

git-svn-id: http://yolanda.mister-muffin.de/svn@410 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2008-12-09 20:11:54 +00:00
parent 73a9695fc4
commit 81d7d09a4c
2 changed files with 123 additions and 35 deletions

View file

@ -0,0 +1,21 @@
<%inherit file="base.mako"/>
<%def name="title()">
account stuff
</%def>
<%def name="heading()">
account login / logout
</%def>
<p>The following information will be saved.</p>
<form action="${h.url_for('account/login')}" method="post">
<label for="username">OpenID:</label>
<input id="username" name="username" type="url"/>
<input type="submit" value="Login (OpenID)"/>
</form>

View file

@ -15,6 +15,7 @@
</form> </form>
<!--
<ul id="queries"> <ul id="queries">
<li id="important"> <li id="important">
@ -36,6 +37,7 @@
</li> </li>
</ul> </ul>
-->
</div> </div>
</%def> </%def>
@ -78,41 +80,104 @@ method="post">
<h1>Tagcloud</h1> <h1>Tagcloud</h1>
<a href="" class="tag6">Proin</a> <ul>
<a href="" class="tag5">lectus</a> <li>
<a href="" class="tag2">orci</a> <a href="" class="tag6">Proin</a>
<a href="" class="tag6">venenatis</a> </li>
<a href="" class="tag5">pharetra</a> <li>
<a href="" class="tag6">egestas</a> <a href="" class="tag5">lectus</a>
<a href="" class="tag1">id</a> </li>
<a href="" class="tag6">tincidunt</a> <li>
<a href="" class="tag5">vel</a> <a href="" class="tag2">orci</a>
<a href="" class="tag3">eros</a> </li>
<a href="" class="tag6">Integer</a> <li>
<a href="" class="tag6">risus</a> <a href="" class="tag6">venenatis</a>
<a href="" class="tag6">velit</a> </li>
<a href="" class="tag2">facilisis</a> <li>
<a href="" class="tag4">eget</a> <a href="" class="tag5">pharetra</a>
<a href="" class="tag5">viverra</a> </li>
<a href="" class="tag6">et</a> <li>
<a href="" class="tag6">leo</a> <a href="" class="tag6">egestas</a>
<a href="" class="tag1">Suspendisse</a> </li>
<a href="" class="tag3">potenti</a> <li>
<a href="" class="tag5">Phasellus</a> <a href="" class="tag1">id</a>
<a href="" class="tag4">auctor</a> </li>
<a href="" class="tag6">enim</a> <li>
<a href="" class="tag3">eget</a> <a href="" class="tag6">tincidunt</a>
<a href="" class="tag4">sem</a> </li>
<li>
<a href="" class="tag5">vel</a>
</li>
<li>
<a href="" class="tag3">eros</a>
</li>
<li>
<a href="" class="tag6">Integer</a>
</li>
<li>
<a href="" class="tag6">risus</a>
</li>
<li>
<a href="" class="tag6">velit</a>
</li>
<li>
<a href="" class="tag2">facilisis</a>
</li>
<li>
<a href="" class="tag4">eget</a>
</li>
<li>
<a href="" class="tag5">viverra</a>
</li>
<li>
<a href="" class="tag6">et</a>
</li>
<li>
<a href="" class="tag6">leo</a>
</li>
<li>
<a href="" class="tag1">Suspendisse</a>
</li>
<li>
<a href="" class="tag3">potenti</a>
</li>
<li>
<a href="" class="tag5">Phasellus</a>
</li>
<li>
<a href="" class="tag4">auctor</a>
</li>
<li>
<a href="" class="tag6">enim</a>
</li>
<li>
<a href="" class="tag3">eget</a>
</li>
<li>
<a href="" class="tag4">sem</a>
</li>
</ul>
</div> </div>
</%def> </%def>
<%def name="upload()"> <%def name="account_actions()">
<div id="upload"> <div id="account-actions">
<h1>Upload</h1> <h1>Account actions</h1>
<a href="${h.url_for('upload')}">Upload</a>
<ul>
<li id="upload">
<a href="${h.url_for('upload')}">Upload</a>
</li>
<li id="settings">
<a href="${h.url_for('account-settings')}">Settings</a>
</li>
<li id="logout">
<a href="${h.url_for('logout')}">Logout</a>
</li>
</ul>
</div> </div>
@ -151,20 +216,20 @@ method="post">
${self.login()} ${self.login()}
</%doc> </%doc>
${self.upload()}
${self.search()}
${self.tagcloud()}
<div id="header"> <div id="header">
<h1> <h1>
${self.heading()} ${self.heading()}
</h1> </h1>
</div> </div>
${self.search()}
${self.account_actions()}
${self.messagebox()} ${self.messagebox()}
${self.tagcloud()}
<div id="content"> <div id="content">
${self.body()} ${self.body()}
@ -172,11 +237,13 @@ method="post">
</div> </div>
<div id="copyright"> <div id="copyright">
<p>
${g.platform_name} is realized using <em>${g.application_name}</em> Copyright © 2007, 2008 ${g.developers} ${g.platform_name} is realized using <em>${g.application_name}</em> Copyright © 2007, 2008 ${g.developers}
${g.application_name} comes with <em>absolutely no warranty</em>; for details <a href="${h.url_for('license')}">click here</a>. ${g.application_name} comes with <em>absolutely no warranty</em>; for details <a href="${h.url_for('license')}">click here</a>.
${g.application_name} is <em>free software</em>, and you are welcome to redistribute it ${g.application_name} is <em>free software</em>, and you are welcome to redistribute it
under certain conditions; <a href="${h.url_for('license')}">click here</a> for details. under certain conditions; <a href="${h.url_for('license')}">click here</a> for details.
To view the source code, <a href="">click here</a>. Report bugs <a href="">here</a>. To view the source code, <a href="">click here</a>. Report bugs <a href="">here</a>.
</p>
</div> </div>
<ul id="badges"> <ul id="badges">