source: MILK/trunk/milk_server/milk_server/templates/login.kid @ 2882

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/templates/login.kid@4984
Revision 2882, 1.1 KB checked in by spascoe, 13 years ago (diff)

Changed the way ndgPage.kid:pagehead works to make it easier to include
<head> children on each page.

Visualise is getting closer :-)

Line 
1<html py:extends="'ndgPage.kid'" xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#">
2   
3    <div py:def="loginForm()" class="loginForm">
4        <form action="$g.getCredentials" method="POST">
5            <input type="hidden" name="r" value="${c.returnTo}"/>
6            <table cellspacing="0" border="0" cellpadding="5">
7                <tr>
8                    <td>Username:</td>
9                    <td><input type="text" name="username" value=""/></td>
10                </tr><tr>
11                    <td>Pass-phrase:</td>
12                    <td><input type="password" name="passphrase"/></td>
13                </tr><tr>
14                    <td colspan="2" align="right">
15                    <input type="submit" value="Login"/></td>
16                </tr>
17            </table>
18        </form>
19    </div>
20   
21    <head>
22    <replace py:replace="pagehead()"/>
23    </head>
24    <body>
25        <div py:replace="header()"/>
26        <div class="loginContent">       
27            <h4>Login</h4>
28            <div py:replace="loginForm()"/>
29            ${c.xml}
30        </div>
31        <div py:replace="footer()"/>
32    </body>
33
34</html>
Note: See TracBrowser for help on using the repository browser.