more template goodness

git-svn-id: http://yolanda.mister-muffin.de/svn@412 7eef14d0-6ed0-489d-bf55-20463b2d70db
main
erlehmann 16 years ago
parent ae328b9f10
commit 3e5ae50fd5

@ -8,13 +8,21 @@
account login / logout
</%def>
<p>The following information will be saved.</p>
<div class="privacy">
<img src="${h.url_for('/images/privacy/username.png')}" alt="username"/>
<img src="${h.url_for('/images/privacy/saved.png')}" alt="will be saved"/>
<img src="${h.url_for('/images/privacy/forever.png')}" alt="forever"/>
</div>
<form action="${h.url_for('account/login')}" method="post">
<form action="${h.url_for('/account/login')}" method="post">
<label for="username">OpenID:</label>
<input id="username" name="username" type="url"/>
<input id="username" name="openid_identifier" type="url" value="http://"/>
<a href="http://openid.net/what/">What is OpenID ?</a>
<label>Remember me</label>
<input id="rememberme" type="checkbox" tabindex="90" value="forever" name="rememberme"/>
<input type="submit" value="Login (OpenID)"/>

@ -62,8 +62,8 @@ method="post">
%if c.message:
<div id="messagebox" class="${c.message['type']}">
<h1>Message (${c.message['type']})</h1>
<span id="message">${c.message['text']}</span>
<h1>${c.message['type']}</h1>
<strong>${c.message['text']}</strong>
</div>
%endif
@ -216,20 +216,20 @@ method="post">
${self.login()}
</%doc>
${self.search()}
${self.account_actions()}
${self.tagcloud()}
<div id="header">
<h1>
${self.heading()}
</h1>
</div>
${self.search()}
${self.account_actions()}
${self.messagebox()}
${self.tagcloud()}
<div id="content">
${self.body()}
@ -242,7 +242,7 @@ method="post">
${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
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>.
</p>
</div>

@ -14,59 +14,53 @@
method="POST"
>
<ol>
<li id="title">
<label for="title">title</label>
<input name="title" type="text"/>
</li>
<li id="alternative">
<label for="alternative">alternative title</label>
<input name="alternative" type="text"/>
</li>
<li id="abstract">
<label for="abstract">abstract</label>
<textarea name="abstract"/>
</li>
<li id="spatial">
<label for="spatial">spatial</label>
<input name="spatial" type="text"/>
</li>
<li id="subject">
<label for="subject">subject</label>
<input name="subject" type="text"/>
</li>
<li id="temporal">
<label for="temporal">temporal</label>
<input name="temporal" type="datetime"/>
</li>
<li id="language">
<label for="language">language</label>
<select name="language">
<option value="deu">German</option>
<option value="eng">English</option>
</select>
</li>
<li>
<label for="creator">creator</label>
<input id="creator" name="creator" type="text"/>
</li>
<li>
<span id="contributor" repeat="template">
<label for="contributor.[contributor]">Contributor</label>
<input name="contributor.[contributor]" type="text"/>
<button type="remove">Remove</button>
</span>
<button type="add" template="contributor">Add contributor</button>
</li>
<div>
<label for="dc_title">title</label>
<input name="dc_title" type="text"/>
</div>
<div>
<label for="dc_alternative">alternative title</label>
<input name="dc_alternative" type="text"/>
</div>
<div>
<label for="dc_abstract">abstract</label>
<textarea name="dc_abstract"/>
</div>
<div>
<label for="dc_spatial">spatial</label>
<input name="dc_spatial" type="text"/>
</div>
<div>
<label for="dc_subject">keywords (tags), delimited by commas</label>
<input name="dc_subject" type="text"/>
</div>
<div>
<label for="dc_temporal">temporal</label>
<input name="dc_temporal" type="datetime"/>
</div>
<div>
<label for="dc_language">language</label>
<select name="dc_language">
<option value="deu">German</option>
<option value="eng">English</option>
</select>
</div>
<div>
<label for="dc_creator">creator</label>
<input name="dc_creator" type="text"/>
</div>
<div>
<label for="dc_contributor">contributors, delimited by commas</label>
<input name="dc_contributor" type="text"/>
</div>
<!--
$video->appendChild( getElementDC( "contributor", "xsd:normalizedString") );
@ -83,51 +77,45 @@ $video->appendChild( getElementDC( "rightsHolder", "xsd:normalizedString") );
$video->appendChild( getElementDC( "source", "xsd:normalizedString") );
$video->appendChild( getElementDC( "license", "xsd:normalizedString") );
-->
<li>
<fieldset>
<legend>
Remix ?
</legend>
<label for="remix">
<input id="remix" type="radio" name="modification" value="remix" />
remix
</label>
<label for="sharealike">
<input id="sharealike" type="radio" name="modification" value="sharealike" />
sharealike
</label>
<label for="noderivatives">
<input id="noderivatives" type="radio" name="modification" value="noderivatives" />
noderivatives
</label>
</fieldset>
</li>
<li>
<fieldset>
<legend>
Commercial ?
</legend>
<label for="commercial">
<input id="commercial" type="radio" name="commercial" value="commercial" />
commercial
</label>
<label for="noncommercial">
<input id="noncommercial" type="radio" name="commercial" value="noncommercial" />
noncommercial
</label>
</fieldset>
</li>
<li>
<label for="file">file</label>
<input id="file" name="file" type="file"/>
</li>
<li>
<input name="commit" type="submit" value="Upload"/>
</li>
</ol>
<fieldset>
<legend>
Remix ?
</legend>
<label for="cc_remix">
<input id="cc_remix" type="radio" name="modification" value="remix" />
remix
</label>
<label for="cc_sharealike">
<input id="cc_sharealike" type="radio" name="modification" value="sharealike" />
sharealike
</label>
<label for="cc_noderivatives">
<input id="cc_noderivatives" type="radio" name="modification" value="noderivatives" />
noderivatives
</label>
</fieldset>
<fieldset>
<legend>
Commercial ?
</legend>
<label for="cc_commercial">
<input id="cc_commercial" type="radio" name="commercial" value="commercial" />
commercial
</label>
<label for="cc_noncommercial">
<input id="cc_noncommercial" type="radio" name="commercial" value="noncommercial" />
noncommercial
</label>
</fieldset>
<div>
<label for="file">file</label>
<input id="file" name="file" type="file"/>
</div>
<div>
<input name="commit" type="submit" value="Upload"/>
</div>
</form>

Loading…
Cancel
Save