more template goodness
git-svn-id: http://yolanda.mister-muffin.de/svn@412 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
ae328b9f10
commit
3e5ae50fd5
3 changed files with 97 additions and 101 deletions
|
@ -8,13 +8,21 @@
|
||||||
account login / logout
|
account login / logout
|
||||||
</%def>
|
</%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>
|
<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)"/>
|
<input type="submit" value="Login (OpenID)"/>
|
||||||
|
|
||||||
|
|
|
@ -62,8 +62,8 @@ method="post">
|
||||||
|
|
||||||
%if c.message:
|
%if c.message:
|
||||||
<div id="messagebox" class="${c.message['type']}">
|
<div id="messagebox" class="${c.message['type']}">
|
||||||
<h1>Message (${c.message['type']})</h1>
|
<h1>${c.message['type']}</h1>
|
||||||
<span id="message">${c.message['text']}</span>
|
<strong>${c.message['text']}</strong>
|
||||||
</div>
|
</div>
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -216,20 +216,20 @@ method="post">
|
||||||
${self.login()}
|
${self.login()}
|
||||||
</%doc>
|
</%doc>
|
||||||
|
|
||||||
|
${self.search()}
|
||||||
|
|
||||||
|
${self.account_actions()}
|
||||||
|
|
||||||
|
${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()}
|
||||||
|
@ -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} 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>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -14,59 +14,53 @@
|
||||||
method="POST"
|
method="POST"
|
||||||
>
|
>
|
||||||
|
|
||||||
<ol>
|
<div>
|
||||||
|
<label for="dc_title">title</label>
|
||||||
|
<input name="dc_title" type="text"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<li id="title">
|
<div>
|
||||||
<label for="title">title</label>
|
<label for="dc_alternative">alternative title</label>
|
||||||
<input name="title" type="text"/>
|
<input name="dc_alternative" type="text"/>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li id="alternative">
|
<div>
|
||||||
<label for="alternative">alternative title</label>
|
<label for="dc_abstract">abstract</label>
|
||||||
<input name="alternative" type="text"/>
|
<textarea name="dc_abstract"/>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li id="abstract">
|
<div>
|
||||||
<label for="abstract">abstract</label>
|
<label for="dc_spatial">spatial</label>
|
||||||
<textarea name="abstract"/>
|
<input name="dc_spatial" type="text"/>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li id="spatial">
|
<div>
|
||||||
<label for="spatial">spatial</label>
|
<label for="dc_subject">keywords (tags), delimited by commas</label>
|
||||||
<input name="spatial" type="text"/>
|
<input name="dc_subject" type="text"/>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li id="subject">
|
<div>
|
||||||
<label for="subject">subject</label>
|
<label for="dc_temporal">temporal</label>
|
||||||
<input name="subject" type="text"/>
|
<input name="dc_temporal" type="datetime"/>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li id="temporal">
|
<div>
|
||||||
<label for="temporal">temporal</label>
|
<label for="dc_language">language</label>
|
||||||
<input name="temporal" type="datetime"/>
|
<select name="dc_language">
|
||||||
</li>
|
|
||||||
|
|
||||||
<li id="language">
|
|
||||||
<label for="language">language</label>
|
|
||||||
<select name="language">
|
|
||||||
<option value="deu">German</option>
|
<option value="deu">German</option>
|
||||||
<option value="eng">English</option>
|
<option value="eng">English</option>
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li>
|
<div>
|
||||||
<label for="creator">creator</label>
|
<label for="dc_creator">creator</label>
|
||||||
<input id="creator" name="creator" type="text"/>
|
<input name="dc_creator" type="text"/>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li>
|
<div>
|
||||||
<span id="contributor" repeat="template">
|
<label for="dc_contributor">contributors, delimited by commas</label>
|
||||||
<label for="contributor.[contributor]">Contributor</label>
|
<input name="dc_contributor" type="text"/>
|
||||||
<input name="contributor.[contributor]" type="text"/>
|
</div>
|
||||||
<button type="remove">Remove</button>
|
|
||||||
</span>
|
|
||||||
<button type="add" template="contributor">Add contributor</button>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
$video->appendChild( getElementDC( "contributor", "xsd:normalizedString") );
|
$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( "source", "xsd:normalizedString") );
|
||||||
$video->appendChild( getElementDC( "license", "xsd:normalizedString") );
|
$video->appendChild( getElementDC( "license", "xsd:normalizedString") );
|
||||||
-->
|
-->
|
||||||
<li>
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
Remix ?
|
Remix ?
|
||||||
</legend>
|
</legend>
|
||||||
<label for="remix">
|
<label for="cc_remix">
|
||||||
<input id="remix" type="radio" name="modification" value="remix" />
|
<input id="cc_remix" type="radio" name="modification" value="remix" />
|
||||||
remix
|
remix
|
||||||
</label>
|
</label>
|
||||||
<label for="sharealike">
|
<label for="cc_sharealike">
|
||||||
<input id="sharealike" type="radio" name="modification" value="sharealike" />
|
<input id="cc_sharealike" type="radio" name="modification" value="sharealike" />
|
||||||
sharealike
|
sharealike
|
||||||
</label>
|
</label>
|
||||||
<label for="noderivatives">
|
<label for="cc_noderivatives">
|
||||||
<input id="noderivatives" type="radio" name="modification" value="noderivatives" />
|
<input id="cc_noderivatives" type="radio" name="modification" value="noderivatives" />
|
||||||
noderivatives
|
noderivatives
|
||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
Commercial ?
|
Commercial ?
|
||||||
</legend>
|
</legend>
|
||||||
<label for="commercial">
|
<label for="cc_commercial">
|
||||||
<input id="commercial" type="radio" name="commercial" value="commercial" />
|
<input id="cc_commercial" type="radio" name="commercial" value="commercial" />
|
||||||
commercial
|
commercial
|
||||||
</label>
|
</label>
|
||||||
<label for="noncommercial">
|
<label for="cc_noncommercial">
|
||||||
<input id="noncommercial" type="radio" name="commercial" value="noncommercial" />
|
<input id="cc_noncommercial" type="radio" name="commercial" value="noncommercial" />
|
||||||
noncommercial
|
noncommercial
|
||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
<div>
|
||||||
<label for="file">file</label>
|
<label for="file">file</label>
|
||||||
<input id="file" name="file" type="file"/>
|
<input id="file" name="file" type="file"/>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
<li>
|
<div>
|
||||||
<input name="commit" type="submit" value="Upload"/>
|
<input name="commit" type="submit" value="Upload"/>
|
||||||
</li>
|
</div>
|
||||||
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue