website: enable dev site banner
Some checks failed
Code analysis / Script linters (push) Has been cancelled
Code analysis / Clang static analyzer (push) Has been cancelled
Coverity Scan analysis / Coverity static analyzer (push) Has been cancelled
Update release notes / update_release_notes (push) Has been cancelled
Linux builds / Cache subprojects (push) Has been cancelled
Linux builds / GCC, Debian 11, aarch64 (push) Has been cancelled
Linux builds / GCC, Debian 10, ARMv7 (push) Has been cancelled
Linux builds / GCC, Debian 11, ARMv7 (push) Has been cancelled
Linux builds / GCC, Debian 11, ppc64le (push) Has been cancelled
Linux builds / Clang 12, Ubuntu 22.04 (push) Has been cancelled
Linux builds / GCC 10, Ubuntu 22.04 (push) Has been cancelled
Linux builds / GCC 9, minimum build (push) Has been cancelled
Linux builds / GCC 12, +debugger (push) Has been cancelled
Linux builds / Release build (push) Has been cancelled
Linux builds / Publish additional artifacts (push) Has been cancelled
macOS builds / Clang (arm64) (push) Has been cancelled
macOS builds / GCC 12 (x86_64) (push) Has been cancelled
macOS builds / Clang (x86_64) (push) Has been cancelled
macOS builds / Release build (arm64) (push) Has been cancelled
macOS builds / Release build (x86_64) (push) Has been cancelled
macOS builds / Publish universal build (push) Has been cancelled
macOS builds / Publish additional artifacts (push) Has been cancelled
PVS-Studio analysis / PVS-Studio static analyzer (push) Has been cancelled
Windows MSVC builds / MSVC 64-bit (push) Has been cancelled
Windows MSVC builds / MSVC 32-bit (push) Has been cancelled
Windows MSVC builds / Release build (64-bit) (push) Has been cancelled
Windows MSVC builds / Release build w/ debugger (64-bit) (push) Has been cancelled
Windows MSVC builds / Release build (32-bit) (push) Has been cancelled
Windows MSVC builds / Release build w/ debugger (32-bit) (push) Has been cancelled
Windows MSVC builds / Publish additional Windows artifacts (push) Has been cancelled
Windows MSYS2 builds / GCC (MinGW) x86 +tests (push) Has been cancelled
Windows MSYS2 builds / Clang x86_64 +tests (push) Has been cancelled
Windows MSYS2 builds / Clang x86_64 +debugger (push) Has been cancelled
Windows MSYS2 builds / GCC (UCRT) x86_64 +debugger (push) Has been cancelled
Windows MSYS2 builds / Clang x86_64 Release (push) Has been cancelled
Windows MSYS2 builds / Publish additional artifacts (push) Has been cancelled

This commit is contained in:
John Novak 2023-12-19 20:50:25 +10:00
parent 396dfd4981
commit 1c5187b9ae

View file

@ -0,0 +1,19 @@
{% extends "base.html" %}
{% block header %}
<div class="banner dev-site">
<p>🔥🔥🔥 You are viewing a development version of the website. Things will blow up. 🔥🔥🔥</p>
<p>Regular users, please <a href="https://dosbox-staging.github.io/">follow the exit signs</a>.</p>
</div>
<script>
if (window.location.pathname.startsWith("/preview/")) {
document.getElementsByClassName("dev-site")[0].classList.add("show");
}
</script>
{% include "partials/header.html" %}
{% endblock %}