Skip to content

Commit 8c1b87c

Browse files
committed
fixing padding on landing pages
1 parent 2604861 commit 8c1b87c

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

app/monitor/templates/base.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,14 @@ <h3>Working...&nbsp;&nbsp;&nbsp;<span></span></h3>
6868

6969
<p id="download-continue" class="feedback"><a href="/">Continue</a></p>
7070

71-
<div class="container-full-bg">
72-
<section id="content" style="margin-top:-60px; padding-top:30px;">
73-
{% block content %}{% endblock %}
71+
{% if 'ds_user_name' in session %}
72+
<div class="container">
73+
<section id="content" style="padding-top:30px;">
74+
{% else %}
75+
<div class="container-full-bg">
76+
<section id="content" style="margin-top:-60px!important; padding-top:30px!important;">
77+
{% endif %}
78+
{% block content %}{% endblock %}
7479
</section>
7580
</div>
7681

app/monitor/templates/home_monitor.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
{% block content %}
55

6+
{% if not 'ds_user_name' in session %}
7+
<!-- IF not signed in -->
68
<div>
79
<div class="jumbotron jumbotron-fluid"> <table>
810
<tbody>
@@ -18,6 +20,7 @@ <h1 class="display-4">Python Launcher</h1>
1820
</tbody>
1921
</table>
2022
</div>
23+
{% endif %}
2124

2225
<div class="container" style="margin-top: 40px" id="index-page">
2326
<h2>Welcome</h2>

0 commit comments

Comments
 (0)