Skip to content

Commit

Permalink
updating launcher image (#154)
Browse files Browse the repository at this point in the history
* updating launcher image

* display image regardless of login status
  • Loading branch information
paigesrossi authored Jun 21, 2024
1 parent f658390 commit 4faea78
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Binary file modified app/static/assets/banner-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion app/static/assets/css.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ body {

.jumbotron {

background: #000 !important;
background-image: url(/static/assets/banner-code.png) !important;
background-position: right;
min-height: 500px;
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-left: 30px !important;
Expand Down
2 changes: 1 addition & 1 deletion app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h3>Working...&nbsp;&nbsp;&nbsp;<span></span></h3>
<p id="download-continue" class="feedback"><a href="/">c</a></p>

{% if 'ds_user_name' in session %}
<div class="container">
<div class="container-full-bg">
<section id="content" style="padding-top:30px;">
{% else %}
<div class="container-full-bg">
Expand Down
8 changes: 3 additions & 5 deletions app/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,23 @@
{% extends "base.html" %}

{% block content %}

{% if not 'ds_user_name' in session %}
<!-- IF not signed in -->
<div>
<div class="jumbotron jumbotron-fluid"> <table>
</br>
<tbody>
<tr>
<td>
<h1 class="display-4">Python Launcher</h1>
<p class="Xlead">{{ session['manifest']['SupportingTexts']['HomePageText'] }}</p>
</td>
</tr>
<tr>
<td>
<img src="/static/assets/banner-code.png" />
</td>
</tr>
</tbody>
</table>
</div>
{% endif %}

<!-- Future: add a table of contents or navigation pane
Eg, see https://stackoverflow.com/questions/21868610/make-column-fixed-position-in-bootstrap
Expand Down

0 comments on commit 4faea78

Please sign in to comment.