Commit 9872b333 authored by Sacha's avatar Sacha Committed by SXibolet@2PITAU
Browse files

template tweaks

parent 1cdadfa1
......@@ -27,7 +27,7 @@ function dismiss_error() {
{% with messages = get_flashed_messages() %}
{% if messages %}
<div id=message onclick="this.style.display='none';">
<div id='message' onclick='this.style.display="none";'>
{% for message in messages %}
{{ message|safe }}
{% if not loop.last %}
......@@ -50,16 +50,16 @@ function dismiss_error() {
</center>
<hr>
</span>
<p><noscript><span class='logo'>CONTROVERSY</span> <i>requires JavaScript. We&rsquo;re not doing anything fishy: the project is free (as in freedom) software, and you may view the source files here: <a href='https://github.com/SXibolet/controversy' target=_blank>https://github.com/SXibolet/controversy</a></i></noscript></p>
<p><noscript><span class='logo'>CONTROVERSY</span> <i>requires JavaScript. We&rsquo;re not doing anything fishy: the project is free (as in freedom) software, and you may view the source files here: <a href='https://github.com/SXibolet/controversy' target='_blank'>https://github.com/SXibolet/controversy</a></i></noscript></p>
<form method='POST'>
{{ form.hidden_tag() }}
{{ form.email(value=username, type="email", class_="field", placeholder="email (username)", required="required") }}
{{ form.password(class="field", placeholder="password", required="required") }}
<center>
<input type=submit value="log in" />
<input type='submit' value='log in' />
</center>
<center>
<b>Or &hellip;&nbsp;</b><i><a id=anon_login href=bourbaki>I don't want an account; take me to the action already &rarr;</a></i>
<b>Or &hellip;&nbsp;</b><i><a id='anon_login' href='bourbaki'>I don't want an account; take me to the action already &rarr;</a></i>
</center>
</form>
</div>
......
......@@ -33,12 +33,12 @@ function dismiss_error() {
</span>
{% if logged_in == true %}
<p>
<b>You're already <a href="/">logged in</a>, but feel free to create another account</b>
<b>You're already <a href='/'>logged in</a>, but feel free to create another account</b>
</p>
{% endif %}
<hr>
<p>We encourage you to use a simple password, like a phrase; we used an <code>md5</code> hash, which has known vulnerabilities.</p>
<form method=POST>
<form method='POST'>
{{ form.hidden_tag() }}
{{ form.name(class_="field", autocomplete="words", placeholder="full name", required="required") }}
{{ form.email(class_="field", type="email", placeholder="email (username)", required="required") }}
......@@ -47,10 +47,10 @@ function dismiss_error() {
<!-- uncomment for recaptcha validation: \{\{ form.recaptcha \}\} -->
<br>
<br>
<input type=submit value=register />
<input type='submit' value='register' />
</form>
<center>
<b>Or &hellip;&nbsp;</b><i><a href=./login>login with your existing account &rarr;</a></i>
<b>Or &hellip;&nbsp;</b><i><a href='./login'>login with your existing account &rarr;</a></i>
</center>
</div>
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment