forked from jan/debianmemberportfolio
Add initial Flask implementation
This commit is contained in:
parent
7c60ac59a6
commit
f63939cb03
8 changed files with 312 additions and 1 deletions
40
debianmemberportfolio/templates/showform.html
Normal file
40
debianmemberportfolio/templates/showform.html
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{% extends "base.html" %}
|
||||
{#
|
||||
Template for the data input form.
|
||||
|
||||
Copyright © 2009-2015 Jan Dittberner <jan@dittberner.info>
|
||||
|
||||
This file is part of the Debian Member Portfolio service.
|
||||
|
||||
Debian Member Portfolio service is free software: you can redistribute it
|
||||
and/or modify it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Debian Member Portfolio service is distributed in the hope that it will be
|
||||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License along
|
||||
with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#}
|
||||
{% block title %}{{ super()}} - {{ _('Enter your personal information') }}{% endblock %}
|
||||
{% block extrahead %}{{ super() }}<script type="text/javascript" src="{{ url_for('static', filename='javascript/jquery/jquery.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ url_for('formhelper_js') }}"></script>
|
||||
{% endblock %}
|
||||
{% block body %}{{ super() }}
|
||||
<form action="{{ url_for('urllist') }}" method="get">
|
||||
<fieldset id="portfolio">
|
||||
<legend>{{ _('Debian Member Portfolio') }}</legend>
|
||||
<div id="emailfield"{% if form.email.errors %} class="witherrors"{% endif %}>
|
||||
<label for="email">{{ _('Email address:') }}
|
||||
{% if form.email.errors %}<br />
|
||||
<span class="errormsg">{{ form.email.errors|join(', ') }}</span>
|
||||
{% endif %}
|
||||
</label><br />
|
||||
{{ form.email }}<br />
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue