Base mediagoblin template, and register templates
This commit is contained in:
parent
e0bc23d370
commit
a0598d5cae
16
mediagoblin/templates/mediagoblin/auth/register.html
Normal file
16
mediagoblin/templates/mediagoblin/auth/register.html
Normal 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 %}
|
@ -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 %}
|
36
mediagoblin/templates/mediagoblin/base.html
Normal file
36
mediagoblin/templates/mediagoblin/base.html
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user