Skip to content

Commit

Permalink
Remove page header for mosaic
Browse files Browse the repository at this point in the history
  • Loading branch information
ugyballoons committed Sep 26, 2024
1 parent 3039c93 commit 904ca4a
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 54 deletions.
86 changes: 45 additions & 41 deletions python/lsst/ts/rubintv/templates/_layout.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -36,49 +36,53 @@ window.onpageshow = function (event) {
window.APP_DATA.siteLocation = {{ site_location|tojson if site_location else "null" }}
window.APP_DATA.pathPrefix = {{ path_prefix|tojson if path_prefix else "null" }}
</script>
<header>
<div class="header-wrap">
<div class="header-page-titles">
<h2 class="page-title">
{% block pagetitle %}
{% endblock pagetitle %}
</h2>
{% block allsky_status %}
{% endblock allsky_status %}
<h3 class="page-subtitle">
{% block pagesubtitle %}
{% endblock pagesubtitle %}
</h3>
<h4 class="page-undertitle">
{% block undertitle %}
{% endblock undertitle %}
</h4>
</div>
<div class="header-page-buttons">
{% block headerbuttons %}
{% endblock headerbuttons %}
</div>
<div class="header-banner" id="header-banner"></div>
<div class="header-messages">
{% block messages %}
<a class="in-memoriam" href="https://community.lsst.org/t/remembering-simon-krughoff/7344">
<img src="{{ url_for('static', path='images/flowers.svg') }}">
<p>
In memory of Simon Krughoff 1974-2023<br><br>
Who, among his many<br>contributions to the project,<br>helped launch RubinTV
</p>
<img src="{{ url_for('static', path='images/flowers.svg') }}">

{% block header %}
<header>
<div class="header-wrap">
<div class="header-page-titles">
<h2 class="page-title">
{% block pagetitle %}
{% endblock pagetitle %}
</h2>
{% block allsky_status %}
{% endblock allsky_status %}
<h3 class="page-subtitle">
{% block pagesubtitle %}
{% endblock pagesubtitle %}
</h3>
<h4 class="page-undertitle">
{% block undertitle %}
{% endblock undertitle %}
</h4>
</div>
<div class="header-page-buttons">
{% block headerbuttons %}
{% endblock headerbuttons %}
</div>
<div class="header-banner" id="header-banner"></div>
<div class="header-messages">
{% block messages %}
<a class="in-memoriam" href="https://community.lsst.org/t/remembering-simon-krughoff/7344">
<img src="{{ url_for('static', path='images/flowers.svg') }}">
<p>
In memory of Simon Krughoff 1974-2023<br><br>
Who, among his many<br>contributions to the project,<br>helped launch RubinTV
</p>
<img src="{{ url_for('static', path='images/flowers.svg') }}">
</a>
{% endblock messages %}
</div>
<div class="header-site-titles">
<a class="logo" href="{{ url_for('home') }}" title="home">
<img src="{{ url_for('static', path='images/logos/Rubin_Logo.jpg') }}">
</a>
{% endblock messages %}
<h1 class="site-title">RubinTV Image Display Service</h1>
</div>
</div>
<div class="header-site-titles">
<a class="logo" href="{{ url_for('home') }}" title="home">
<img src="{{ url_for('static', path='images/logos/Rubin_Logo.jpg') }}">
</a>
<h1 class="site-title">RubinTV Image Display Service</h1>
</div>
</div>
</header>
</header>
{% endblock header %}

<div class="breadcrumb">
{% block breadcrumb %}
{% endblock breadcrumb %}
Expand Down
15 changes: 2 additions & 13 deletions python/lsst/ts/rubintv/templates/mosaic.jinja
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
{% extends "_camera.jinja" %}

{% block pagesubtitle %}
Latest Mosaic
{% endblock pagesubtitle %}

{% block breadcrumb %}
<a href="{{ url_for('home') }}">
Home
</a>>
<a href="{{ url_for('location', location_name=location.name) }}">
{{ location.title }}
</a>>
<p>{{ camera.title }}</p>
{% endblock breadcrumb %}
{% block header %}
{% endblock header %}

{% block content %}
<div id="mosaic-view" class="columns">
Expand Down

0 comments on commit 904ca4a

Please sign in to comment.