Commit de184084 authored by Sacha's avatar Sacha
Browse files

tweaks to register page

parent 5bd43fae
......@@ -53,8 +53,8 @@ function dismiss_error() {
<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://framagit.org/gdyer/CONTROVERSY' target='_blank'>https://framagit.org/gdyer/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") }}
{{ 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' />
</center>
......
{% extends "base.html" %}
{% extends 'base.html' %}
{% block content %}
{% if form.errors %}
......@@ -26,10 +26,10 @@ function dismiss_error() {
<div id='login'>
<img src='{{ url_for("static", filename="img/sm-graphic-rec.png") }}' />
<img src='{{ url_for('static', filename='img/sm-graphic-rec.png') }}' />
<hr>
<span id='details'>
Your information is for our reference only and will never be shared with a 3<sup>rd</sup> party. You can also <a href=bourbaki>use the demo anonymously</a> if you like.
Your information is for our reference only and will never be shared with a 3<sup>rd</sup> party. You can also <a href='bourbaki'>use the demo anonymously</a> if you like.
</span>
{% if logged_in == true %}
<p>
......@@ -40,10 +40,10 @@ function dismiss_error() {
<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.hidden_tag() }}
{{ form.name(class_="field", autocomplete="words", placeholder="full name", required="required") }}
{{ form.email(class_="field", type="email", placeholder="email (username)", required="required") }}
{{ form.password(class_="field", placeholder="simple password", required="required") }}
{{ form.school(class_="field", placeholder="institution", required="required") }}
{{ form.name(class_='field', autocomplete='words', placeholder='name', required='required') }}
{{ form.email(class_='field', type='email', placeholder='email (username)', required='required') }}
{{ form.password(class_='field', placeholder='simple password', required='required') }}
{{ form.school(class_='field', placeholder='institution', required='required') }}
<!-- uncomment for recaptcha validation: \{\{ form.recaptcha \}\} -->
<br>
<br>
......
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: d37405411870239d5e93e25497e1d550
config: a428ddc89610e208c0cd0d96bb3bd020
tags: 645f666f9bcd5a90fca523b33c5a78b7
......@@ -3,7 +3,7 @@
Controversy project
~~~~~~~~~~~~~~~~~~~
If you're viewing this page on GitHub, please consider switching to our HTML version here: https://controversy.2pitau.org/spec
If you're viewing this page on Framagit, please consider switching to our HTML version here: https://controversy.2pitau.org/spec
.. note::
......
......@@ -59,14 +59,7 @@
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo">
<a href="index.html">
<img class="logo" src="_static/img/uiuc.gif" alt="Logo"/>
</a>
</p>
<h1 class="logo"><a href="index.html">Controversy</a></h1>
......@@ -100,10 +93,6 @@
</div>
<a href="https://github.com/SXibolet/controversy" class="github">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>
</a>
</body>
......
......@@ -47,7 +47,7 @@
<div class="section" id="controversy-project">
<h1>Controversy project<a class="headerlink" href="#controversy-project" title="Permalink to this headline"></a></h1>
<p>If you&#8217;re viewing this page on GitHub, please consider switching to our HTML version here: <a class="reference external" href="https://controversy.2pitau.org/spec">https://controversy.2pitau.org/spec</a></p>
<p>If you&#8217;re viewing this page on Framagit, please consider switching to our HTML version here: <a class="reference external" href="https://controversy.2pitau.org/spec">https://controversy.2pitau.org/spec</a></p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>This specification is for mostly for internal reference only. We currently do not have a method for scoring external articles.</p>
......@@ -299,14 +299,7 @@
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo">
<a href="#">
<img class="logo" src="_static/img/uiuc.gif" alt="Logo"/>
</a>
</p>
<h1 class="logo"><a href="#">Controversy</a></h1>
......@@ -354,10 +347,6 @@
</div>
<a href="https://github.com/SXibolet/controversy" class="github">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>
</a>
</body>
......
......@@ -82,14 +82,7 @@
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo">
<a href="index.html">
<img class="logo" src="_static/img/uiuc.gif" alt="Logo"/>
</a>
</p>
<h1 class="logo"><a href="index.html">Controversy</a></h1>
......@@ -113,10 +106,6 @@
</div>
<a href="https://github.com/SXibolet/controversy" class="github">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>
</a>
</body>
......
Search.setIndex({envversion:47,filenames:["index"],objects:{},objnames:{},objtypes:{},terms:{"2pitau":0,"new":0,"switch":0,abov:0,afghanistan:0,african:0,aid:0,all:0,alwai:0,amount:0,ani:0,aren:[],argument:0,austria:0,baltimor:0,base:0,been:0,befor:0,below:0,bush:0,citi:0,clinton:0,code:0,consid:0,controversi:[],current:0,data:0,defin:0,doc:[],don:0,element:0,endpoint:0,enough:0,entropyscor:0,exampl:0,except:0,exist:0,extern:0,gener:0,germani:0,get:0,github:0,gmt:0,greec:0,have:0,here:0,hillari:0,hippo:0,html:0,http:0,hulu:0,hungari:0,ieee:0,illinoi:0,intern:0,iran:0,iraq:0,isi:0,json:0,kei:0,keyword:0,lingust:0,list:0,log:0,login:0,messag:0,method:0,mon:0,most:0,mostli:0,must:0,non:0,nonorm:0,normal:0,nov:0,obama:0,oct:0,onli:0,open:[],org:0,other:0,our:0,page:0,pair:0,paper:0,paul:0,perform:0,pleas:0,plot:0,png:0,popular:0,possibl:0,prefix:0,princ:0,princeton:0,proper:0,putin:0,queri:0,queryterm:0,refer:0,requir:0,result:0,romnei:0,ron:0,same:0,sat:0,score:0,sentiment:0,sign:0,spec:0,stanford:0,statu:0,subset:0,sum:0,sun:0,syria:0,term:0,thi:0,time:0,top:0,toward:0,traffic:0,trendlin:0,tue:0,url:0,usageerror:0,valu:0,version:0,versu:0,view:0,want:0,wed:0,where:0,york:0,you:0},titles:["Controversy project"],titleterms:{api:[],articl:0,controversi:0,error:0,histori:0,project:0,rank:0,search:0,specif:[],trend:0,user:0}})
\ No newline at end of file
Search.setIndex({envversion:47,filenames:["index"],objects:{},objnames:{},objtypes:{},terms:{"2pitau":0,"new":0,"switch":0,abov:0,afghanistan:0,african:0,aid:0,all:0,alwai:0,amount:0,ani:0,aren:[],argument:0,austria:0,baltimor:0,base:0,been:0,befor:0,below:0,bush:0,citi:0,clinton:0,code:0,consid:0,controversi:[],current:0,data:0,defin:0,doc:[],don:0,element:0,endpoint:0,enough:0,entropyscor:0,exampl:0,except:0,exist:0,extern:0,framagit:0,gener:0,germani:0,get:0,github:[],gmt:0,greec:0,have:0,here:0,hillari:0,hippo:0,html:0,http:0,hulu:0,hungari:0,ieee:0,illinoi:0,intern:0,iran:0,iraq:0,isi:0,json:0,kei:0,keyword:0,lingust:0,list:0,log:0,login:0,messag:0,method:0,mon:0,most:0,mostli:0,must:0,non:0,nonorm:0,normal:0,nov:0,obama:0,oct:0,onli:0,open:[],org:0,other:0,our:0,page:0,pair:0,paper:0,paul:0,perform:0,pleas:0,plot:0,png:0,popular:0,possibl:0,prefix:0,princ:0,princeton:0,proper:0,putin:0,queri:0,queryterm:0,refer:0,requir:0,result:0,romnei:0,ron:0,same:0,sat:0,score:0,sentiment:0,sign:0,spec:0,stanford:0,statu:0,subset:0,sum:0,sun:0,syria:0,term:0,thi:0,time:0,top:0,toward:0,traffic:0,trendlin:0,tue:0,url:0,usageerror:0,valu:0,version:0,versu:0,view:0,want:0,wed:0,where:0,york:0,you:0},titles:["Controversy project"],titleterms:{api:[],articl:0,controversi:0,error:0,histori:0,project:0,rank:0,search:0,specif:[],trend:0,user:0}})
\ No newline at end of file
......@@ -117,13 +117,7 @@ html_theme = 'alabaster'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
'logo': 'img/uiuc.gif',
'github_user': 'SXibolet',
'github_repo': 'controversy',
'github_button': False,
'github_banner': True
}
html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [alabaster.get_path()]
......
......@@ -3,7 +3,7 @@
Controversy project
~~~~~~~~~~~~~~~~~~~
If you're viewing this page on GitHub, please consider switching to our HTML version here: https://controversy.2pitau.org/spec
If you're viewing this page on Framagit, please consider switching to our HTML version here: https://controversy.2pitau.org/spec
.. note::
......
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