Commit 776d9bb7 authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Updating the homepage local login form



I deleted the local login form on the homepage and replaced it by a
visual. I updated the CSS stylesheet accordingly.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 9dbd0d07
......@@ -6,6 +6,10 @@ body {
/* Margin bottom by footer height */
margin-bottom: 260px;
}
.responsive-img {
width: 100%;
height: auto;
}
/*
* Header
*/
......@@ -34,9 +38,6 @@ header {
.jumbotron .lead {
font-size: 1.9em;
}
.jumbotron .card label {
color: #586069;
}
.slogan-title {
font-size: 5em;
}
......
......@@ -11,45 +11,16 @@
<h1 class="slogan-title">A<span class="allgo-pipes">||</span>gorithms at your fingertips</h1>
<p class="lead slogan">
A||go is a platform for building and deploying apps that analyze massive
data using containers technology. It has been specifically designed for
science applications.
data. It has been specifically designed for science applications.
</p>
</div>
<div class="col-sm-4 col-md-5">
{% if not user.is_authenticated %}
<div class="card">
<div class="card-body">
<form class="signup" id="signup_form" method="post" action="{% url 'account_signup' %}">
{% csrf_token %}
<div class="form-group">
{# <label for="exampleInputEmail1">Email address</label> #}
{{ signup_form.email.label_tag }}
{{ signup_form.email | attr:"placeholder:you@example.com" | add_class:"form-control" }}
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
{{ signup_form.password1.label_tag }}
{{ signup_form.password1 | attr:"placeholder:Create a password" | add_class:"form-control"}}
<small id="passwordHelp" class="form-text text-muted">Password policy here.</small>
</div>
{% if signup_form.password2 %}
<div class="form-group">
{{ signup_form.password2.label_tag }}
{{ signup_form.password2 | attr:"placeholder:Type your password again" | add_class:"form-control"}}
</div>
{% endif %}
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %}
<button type="submit" class="btn btn-primary btn-block">Sign up for A||GO</button>
</form>
</div>
</div>
{% endif %}
<div class="col-sm-4 col-md-5 allgo-visual">
<a href="{% url 'main:webapp_list' %}"
title="Browse the webapps">
<img src="{% static 'images/allgo-visual.png' %}"
class="responsive-img" alt="Allgo workflow" />
</a>
</div>
</div>
</div>
......
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