1
0
Fork 0

Fix visibility of join button in home page.

merge-requests/21/head
Pierros Papadeas 2014-09-08 23:09:14 +03:00
parent 1b9cc74e6f
commit a882cd9b0c
3 changed files with 14 additions and 10 deletions

View File

@ -50,12 +50,13 @@
position: absolute; position: absolute;
top: 0px; top: 0px;
width: 100%; width: 100%;
height: 60%; height: 450px;
} }
#call2action { #call2action {
margin-top: 20%; margin-top: 240px;
margin-bottom: 80px; height: 88px;
margin-bottom: 50px;
} }
.img-gs-front { .img-gs-front {

View File

@ -46,7 +46,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="#"> <a class="navbar-brand" href="{% url 'home' %}">
<img id="navbar-logo" src="{% static 'images/satnogs_net.png' %}" alt="SatNOGS net"> <img id="navbar-logo" src="{% static 'images/satnogs_net.png' %}" alt="SatNOGS net">
</a> </a>
</div> </div>

View File

@ -15,12 +15,15 @@
{% block content %} {% block content %}
<div class="row" id="call2action"> <div class="row" id="call2action">
{% if request.user.is_authenticated %}
{% else %}
<div class="col-md-8 col-md-offset-2 panel panel-default"> <div class="col-md-8 col-md-offset-2 panel panel-default">
<h3 class="text-center"> <h3 class="text-center">
Ground stations swarm control, at your fingertips. Ground stations swarm control, at your fingertips.
<button type="button" class="btn btn-primary btn-lg">Join us!</button> <button type="button" class="btn btn-primary btn-lg">Join us!</button>
</h3> </h3>
</div> </div>
{% endif %}
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">