From d0dd81602b6f6f236253a55f6295327e7f13f41f Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 28 Oct 2023 23:17:41 -0400 Subject: [PATCH] change project styling, add log out link --- ws/static/home.html | 6 +++--- ws/static/styles.css | 11 +++++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ws/static/home.html b/ws/static/home.html index 51a2187..56ca23a 100644 --- a/ws/static/home.html +++ b/ws/static/home.html @@ -18,15 +18,15 @@ -

Willow

+

Willow    Log out

Track a new project

{{- range . -}}
-

{{ .Name }}   Delete?

+

{{ .Name }}   Delete?

Currently running {{ .Running }}.

{{- if ne .Running (index .Releases 0).Tag -}} -

New release available: {{ (index .Releases 0).Tag }}. Update?

+

New release available: {{ (index .Releases 0).Tag }}. Update?

Expand release notes diff --git a/ws/static/styles.css b/ws/static/styles.css index 3965822..5af9ccc 100644 --- a/ws/static/styles.css +++ b/ws/static/styles.css @@ -21,11 +21,12 @@ a:visited { .project { max-width: 500px; - border: 2px solid #ccc; + border: 2px solid #2f2f2f; background: #f8f8f8; border-radius: 5px; margin-top: 20px; padding: 20px 20px 0 20px; + box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19); } .project > h2 { @@ -33,6 +34,12 @@ a:visited { } .project > h2 > span { + font-size: 12px; + float: right; +} + +body > h1 > span { + font-size: 12px; float: right; } @@ -63,7 +70,7 @@ details summary > * { } .project { - border: 2px solid #444; + border: 2px solid #ccc; background: #1c1c1c; } } \ No newline at end of file