Archived
deploy / deploy (push) Successful in 9s
The print server has to work without internet. The stylesheets, scripts and icon fonts came from jsdelivr and unpkg, offline the pages had no styles, icons or drag and drop. They are now in public/vendor, the same versions. The 502 page of nginx has its styles and the icon inline, as the app's files are not there while it is down. The proxied brother_ql_web pages get the MDI stylesheet for the navbar's printer icon, which was missing there.
30 lines
1.5 KiB
HTML
30 lines
1.5 KiB
HTML
<!doctype html>
|
|
<html lang="sk">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="refresh" content="5">
|
|
<title>Print server</title>
|
|
<!-- Self-contained: nginx serves it while the app (and its /vendor files) is down -->
|
|
<style>
|
|
body { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
|
|
background: #212529; color: #adb5bd; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: center; }
|
|
svg { width: 4rem; height: 4rem; fill: #6c757d; }
|
|
h1 { margin: 1rem 0 .5rem; font-weight: 500; color: #dee2e6; }
|
|
p { color: #6c757d; }
|
|
.spinner { width: 2rem; height: 2rem; margin: .5rem auto 0; border: .25em solid #6c757d; border-right-color: transparent;
|
|
border-radius: 50%; animation: spin .75s linear infinite; }
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<!-- mdi-printer-off from Material Design Icons 7.4.47 -->
|
|
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6,3V4.18L8.82,7H18V3H6M2.28,3L1,4.27L4.75,8C3.19,8.15 2,9.44 2,11V17H6V21H17.73L19.73,23L21,21.72L2.28,3M9.82,8L18.82,17H22V11A3,3 0 0,0 19,8H9.82M19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10M8,14H10.73L15.73,19H8V14Z"/></svg>
|
|
<h1>Tlačiareň spí</h1>
|
|
<p>Print server práve nabieha alebo sa reštartuje.<br>Stránka sa sama skúsi znova o chvíľu...</p>
|
|
<div class="spinner" role="status"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|