Made http warning and install footer floating
Signed-off-by: OmegaRogue <thatomegarogue@gmail.com>master
parent
0ef308df02
commit
8565d61c43
15
css/pwa.css
15
css/pwa.css
|
|
@ -16,4 +16,19 @@
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
padding: 0.75em;
|
padding: 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating header {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating footer {
|
||||||
|
position: fixed;
|
||||||
|
padding: .6em;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
}
|
}
|
||||||
19
index.html
19
index.html
|
|
@ -63,18 +63,16 @@
|
||||||
<button class="btn btn-primary input-group-btn">Search</button>
|
<button class="btn btn-primary input-group-btn">Search</button>
|
||||||
</div>
|
</div>
|
||||||
</section>-->
|
</section>-->
|
||||||
|
</header>
|
||||||
|
<header class="floating hidden">
|
||||||
<p id="requireHTTPS" class="hidden">
|
<p id="requireHTTPS" class="hidden">
|
||||||
<b>STOP!</b> This page <b>must</b> be served over HTTPS.
|
<b>STOP!</b> This page <b>must</b> be served over HTTPS.
|
||||||
Please <a>reload this page via HTTPS</a>.
|
Please <a>reload this page via HTTPS</a>.
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- Install button, hidden by default -->
|
|
||||||
<div id="installContainer" class="hidden">
|
|
||||||
<button id="butInstall" type="button">
|
|
||||||
Install
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container" style="padding-top:4px">
|
<div class="container" style="padding-top:4px">
|
||||||
<p><b>Note:</b> If you have a version of Bangle.js firmware before 2v04, please update to the <a href="https://www.espruino.com/Bangle.js#firmware-updates" target="_blank">latest firmware</a> or
|
<p><b>Note:</b> If you have a version of Bangle.js firmware before 2v04, please update to the <a href="https://www.espruino.com/Bangle.js#firmware-updates" target="_blank">latest firmware</a> or
|
||||||
|
|
@ -148,6 +146,15 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<footer class="floating hidden">
|
||||||
|
<!-- Install button, hidden by default -->
|
||||||
|
<div id="installContainer" class="hidden">
|
||||||
|
<button id="butInstall" type="button">
|
||||||
|
Install
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
<script src="https://www.puck-js.com/puck.js"></script>
|
<script src="https://www.puck-js.com/puck.js"></script>
|
||||||
<script src="js/utils.js"></script>
|
<script src="js/utils.js"></script>
|
||||||
<script src="js/ui.js"></script>
|
<script src="js/ui.js"></script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue