Base mediagoblin template, and register templates

This commit is contained in:
Christopher Allan Webber 2011-04-03 13:35:01 -05:00
parent e0bc23d370
commit a0598d5cae
3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{% extends "mediagoblin/base.html" %}
{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %}
{% block mediagoblin_content %}
<form action="{{ request.urlgen('mediagoblin.auth.register') }}"
method="POST" enctype="multipart/form-data">
<table>
{{ wtforms_util.render_table(register_form) }}
<tr>
<td></td>
<td><input type="submit" value="submit" /></td>
</tr>
</table>
</form>
{% endblock %}

View File

@ -0,0 +1,8 @@
{% extends "mediagoblin/base.html" %}
{% block mediagoblin_content %}
<p>
Register successful! :D <br />
You should get a confirmation email soon.
</p>
{% endblock %}

View File

@ -0,0 +1,36 @@
<html>
<head>
<title>{% block title %}Mediagoblin{% endblock title %}</title>
{# <link rel="stylesheet" type="text/css"
href="{{ request.staticdirect('/css/base.css') }}"/> #}
</head>
<body>
<body>
{% block mediagoblin_body %}
{% block mediagoblin_header %}
<table id="mediagoblin_header">
<tr>
<td id="mediagoblin_logo">
{% block mediagoblin_logo %}
<a href="{{ request.urlgen('index') }}">Mediagoblin</a>
{% endblock %}
</td>
<td>{% block mediagoblin_header_title %}Mediagoblin Home{% endblock %}</td>
</tr>
<tr>
<td></td>
<td>
{% block mediagoblin_header_subtitle %}
perhaps some subtitle here
{% endblock %}</td>
</tr>
</table>
{% endblock %}
<div id="mediagoblin_content">
{% block mediagoblin_content %}
{% endblock mediagoblin_content %}
</div>
{% endblock mediagoblin_body %}
</body>
</html>