Source

lukeplant_python / lukeplant_me_uk / bibleverses / templates / base.html

Full commit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Bible memorisation schemes :: {{ title }}</title>
<link rel="StyleSheet" href="{{ mediaprefix }}/css/style.css" type="text/css" />
<script type="text/javascript" src="{{ mediaprefix }}/js/MochiKit/MochiKit.js"></script>
<script type="text/javascript" src="{{ mediaprefix }}/js/bibleverses.js"></script>
<script type="text/javascript" src="{{ mediaprefix }}/js/webtoolkit.sha1.js"></script>
<meta name="description" content="{{ description }}" />
<meta name="keywords" content="Bible, memorisation, memorization, memorising, memorizing, scripture" />
</head>
<body>
<div id="container">
  <div id="header">
    <div id="headertext">Bible Memorisation Schemes</div>
    <div id="navbarcont">
      {% spaceless %}
      <ul id="navbar">
	{% for page in menupages %}
	<li {% ifequal page.name pagename %}class="here"{% endifequal %}><a href="{{ mediaprefix }}/{{ page.name }}">{{ page.title }}</a></li>
	{% endfor %}
      </ul>
      {% endspaceless %}
      <br class="floatclear"/>
    </div>
    <div id="userbar1" class="hidden offscreenrel">
      <input name="register1" id="register1" type="submit" value="Register" />
      <input name="login1" id="login1" type="submit" value="Login" />
    </div>

    <div id="userbar2" class="hidden offscreenrel">
      <span id="username"></span>
      <input name="logout" id="logout" type="submit" value="Logout" />
    </div>


  </div>
  <div id="body">
    {% block title %}<h1>{{ title }}</h1>{% endblock %}
    {% block content %}{% endblock %}
  </div>
</div>
<div id="footer">
 Site by <a href="http://lukeplant.me.uk">Luke Plant</a>
</div>

<div id="registerblock" class="hidden offscreen">
<h2>Register</h2>
<p>Enter your email address and choose a password.  This is used to
  identify and protect your data -- it does not have to be a working
  email address, as long as you can remember it.</p>

<p class="formrow"><label for="id_reg_email">Email: </label>
  <input class="reginput" type="text" name="reg_email" id="id_reg_email" /></p>
<p class="formrow"><label for="id_reg_password">Password: </label>
  <input class="reginput" type="password" name="reg_password" id="id_reg_password" /></p>
<p id="regresultok" class="hidden success">Email address registered!</p>
<p id="regresultfail" class="hidden fail"></p>
<p id="regbuttonsdiv" class="buttonrow"><input type="submit" name="register2" id="register2" value="Register" />&nbsp;
   <input type="submit" name="cancelreg" id="cancelreg" value="Cancel" /></p>
<p id="regclosediv" class="buttonrow hidden">
   <input type="submit" name="closereg" id="closereg" value="Close" /></p>
</div>


<div id="loginblock" class="hidden offscreen">
<h2>Login</h2>

<p class="formrow"><label for="id_login_email">Email: </label>
  <input class="reginput" type="text" name="login_email" id="id_login_email" /></p>
<p class="formrow"><label for="id_login_password">Password: </label>
  <input class="reginput" type="password" name="login_password" id="id_login_password" /></p>
<p id="loginresultok" class="hidden success">Logged in!</p>
<p id="loginresultfail" class="hidden fail"></p>
<p id="loginbuttonsdiv" class="buttonrow"><input type="submit" name="login2" id="login2" value="Login" />&nbsp;
   <input type="submit" name="cancellogin" id="cancellogin" value="Cancel" /></p>
<p id="loginclosediv" class="buttonrow hidden">
   <input type="submit" name="closelogin" id="closelogin" value="Close" /></p>
</div>


</body>
</html>