Make it look much better

Including dark mode!
This commit is contained in:
nora 2025-11-11 19:26:28 +01:00
parent 1d31b9c3fe
commit 310a24aa44
5 changed files with 52 additions and 26 deletions

View file

@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
@ -6,18 +6,15 @@
<title>Build {{nightly}} {{target}}</title>
<link rel="stylesheet" href="/index.css" />
<script type="module" defer src="index.js"></script>
<style>
.build-indicator-big {
padding: 10px;
}
</style>
</head>
<body>
<h1>Build results for nightly-{{nightly}} target {{target}} {{mode}}</h1>
<h1>
Build results for
<a href="/nightly?nightly={{nightly}}">nightly-{{nightly}}</a>, target
<a href="/target?target={{target}}">{{target}}</a> ({{mode}})
</h1>
<a href="/">Home</a>
<div style="margin-top: 20px" class="{{status}} build-indicator-big">
{{status}}
</div>
<div class="{{status}} build-indicator-big">{{status}}</div>
{% if let Some(rustflags) = rustflags %}
<p>
Using rustflags: <b><code>{{rustflags}}</code></b>

View file

@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
@ -25,6 +25,12 @@
history.
</p>
<p>
🔔 does-it-build supports sending notifications to target maintainers via
GitHub issues. You can add yourself with
<a href="{{notification_pr_url}}">a PR</a>. 🔔
</p>
<h1>Nightlies</h1>
<ul>
{% for nightly in nightlies.iter().take(5) %}

View file

@ -5,11 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{target}} build history</title>
<link rel="stylesheet" href="/index.css" />
<style>
.build-indicator-big {
padding: 10px;
}
</style>
</head>
<body>
<h1>Target build history for {{target}}</h1>
@ -33,7 +28,7 @@
</p>
<p>
🔔 does-it-build supports sending notifications to target maintainers via GitHub issues.
You can add yourself with <a href="{{notification_pr_url}}">a PR</a>.
You can add yourself with <a href="{{notification_pr_url}}">a PR</a>. 🔔
</p>
{% if let Some(maintainers) = maintainers %}
<p>