initial changes

This commit is contained in:
2025-03-03 08:28:30 -06:00
parent 03b7b9fca2
commit 486d7e3a6f
20 changed files with 457 additions and 2 deletions

6
src/views/errors.pug Normal file
View File

@@ -0,0 +1,6 @@
extends layout
block content
h1= message
h2= error.status
pre #{error.stack}

9
src/views/index.pug Normal file
View File

@@ -0,0 +1,9 @@
extends layout
include ../mixins/stage.pug
block content
h1= title
h3= "Currently only 'nightly' and 'rc' builds are available"
each name in stages
+stage(name)

7
src/views/layout.pug Normal file
View File

@@ -0,0 +1,7 @@
doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
body
block content

15
src/views/stage.pug Normal file
View File

@@ -0,0 +1,15 @@
extends layout
include ../mixins/download.pug
block content
h1= title + ' [' + name + ']'
h2= 'Public Key'
.public_key
textarea(readonly) #{public_key}
h2= 'Available Downloads'
each file, idx in files
if idx % 3 == 0
hr
+download(file)
hr