openwebrx-clone/htdocs/include/header.include.html

36 lines
2.7 KiB
HTML
Raw Normal View History

2021-02-05 16:56:02 +00:00
<div class="webrx-top-container">
2021-02-05 16:58:27 +00:00
<div class="webrx-top-bar">
2021-05-15 19:42:04 +00:00
<a href="https://www.openwebrx.de/" target="_blank"><svg viewBox="0 0 591 100" class="webrx-top-logo"><title>Visit the OpenWebRX homepage</title><use xlink:href="${document_root}static/gfx/svg-defs.svg#top-logo"></use></svg></a>
2021-03-03 14:24:18 +00:00
<img class="webrx-rx-avatar openwebrx-photo-trigger" src="${document_root}static/gfx/openwebrx-avatar.png" alt="Receiver avatar"/>
2021-02-05 16:56:02 +00:00
<div class="webrx-rx-texts openwebrx-photo-trigger">
2021-02-15 16:16:55 +00:00
<h1 class="webrx-rx-title">${receiver_name}</h1>
2021-02-15 16:12:17 +00:00
<div class="webrx-rx-desc">${receiver_location} | Loc: ${locator}, ASL: ${receiver_asl} m</div>
</div>
2021-02-05 16:56:02 +00:00
<section class="openwebrx-main-buttons">
2021-05-14 20:31:23 +00:00
<div class="button" data-toggle-panel="openwebrx-panel-status"><svg viewBox="0 0 80 80"><use xlink:href="${document_root}static/gfx/svg-defs.svg#panel-status"></use></svg><br/>Status</div>
<div class="button" data-toggle-panel="openwebrx-panel-log"><svg viewBox="0 0 80 80"><use xlink:href="${document_root}static/gfx/svg-defs.svg#panel-log"></use></svg><br/>Log</div>
<div class="button" data-toggle-panel="openwebrx-panel-receiver"><svg viewBox="0 0 80 80"><use xlink:href="${document_root}static/gfx/svg-defs.svg#panel-receiver"></use></svg><br/>Receiver</div>
<a class="button" href="${document_root}map" target="openwebrx-map"><svg viewBox="0 0 80 80"><use xlink:href="${document_root}static/gfx/svg-defs.svg#panel-map"></use></svg><br/>Map</a>
<a class="button" href="${document_root}settings" target="openwebrx-settings"><svg viewBox="0 0 80 80"><use xlink:href="${document_root}static/gfx/svg-defs.svg#panel-settings"></use></svg><br/>Settings</a>
<!-- session timeout and use policy page display -->
<p id="pstt"></p>
<script>
var path = window.location.pathname;
var page = path.split("/").pop();
document.getElementById("pstt").innerHTML =
2023-01-05 03:52:41 +00:00
((page==="") && (${session_timeout}>0))?
"<meta http-equiv=\"refresh\" content=\"${session_timeout}; url=${usage_policy_url}\">" : "";
</script>
2021-01-15 18:06:00 +00:00
</section>
</div>
2021-02-05 16:56:02 +00:00
<div class="openwebrx-description-container">
2021-02-15 16:12:17 +00:00
<div class="webrx-rx-photo-title">${photo_title}</div>
<div class="webrx-rx-photo-desc">${photo_desc}</div>
2021-01-15 18:06:00 +00:00
</div>
2021-05-16 13:59:21 +00:00
<a class="openwebrx-rx-details-arrow openwebrx-rx-details-arrow--down openwebrx-photo-trigger">
<svg class="down" viewBox="0 0 43 12"><use xlink:href="static/gfx/svg-defs.svg#rx-details-arrow-down"></use></svg>
<svg class="up" viewBox="0 0 43 12"><use xlink:href="static/gfx/svg-defs.svg#rx-details-arrow-up"></use></svg>
</a>
</div>