artifactview/templates/error.hbs
2024-06-04 02:05:51 +02:00

44 lines
2 KiB
Handlebars

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
* { padding: 0; margin: 0; --color-text: #000; --color-text-light: #888; } body {
font-family: sans-serif; text-rendering: optimizespeed; background-color: #f5f5f5;
color: var(--color-text); } a { color: #006ed3; text-decoration: none; } a:hover {
color: #319cff; } .card { display: flex; flex-direction: column; width: 90%;
max-width: 500px; align-items: center; } .center { width: 100%; display: flex;
flex-direction: row; justify-content: center; } .light { color:
var(--color-text-light); } p { margin: 16px 0; } header { gap: 1em; padding-top:
10px; padding-bottom: 10px; background-color: #f2f2f2; } footer { padding: 40px
20px; font-size: 12px; text-align: center; } @media (prefers-color-scheme: dark) {
* { --color-text: #dddddd; } body { background-color: #101010; } header {
background-color: #151515; } }
</style>
<title>Artifactview</title>
</head>
<body>
<header class="center">
<svg
xmlns="http://www.w3.org/2000/svg"
width="50"
height="50"
viewBox="0 0 13.229 13.229"
><g aria-label="AV" style="stroke-width:.264583"><path
d="m12.381 2.878-2.698 7.557H8.73L6.031 2.878h.995L8.73 7.725q.17.466.286.879.116.402.19.772.074-.37.19-.783.117-.413.287-.889l1.693-4.826Z"
style="fill:var(--color-text-light);fill-opacity:1"
/><path
d="m1.158 10.435 2.699-7.557h.952l2.699 7.557h-.995L4.81 5.588q-.169-.466-.285-.879-.117-.402-.19-.772-.075.37-.191.783-.117.412-.286.889l-1.694 4.826Z"
style="fill:var(--color-text);fill-opacity:1;stroke-width:.264583"
/></g></svg>
</header>
<div class="center">
<div class="card">
<h1><span class="light">Error</span> {{status}}</h1>
<p>{{msg}}</p>
</div>
</div>
</body>
</html>