initial changes
This commit is contained in:
6
src/views/errors.pug
Normal file
6
src/views/errors.pug
Normal file
@@ -0,0 +1,6 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1= message
|
||||
h2= error.status
|
||||
pre #{error.stack}
|
||||
9
src/views/index.pug
Normal file
9
src/views/index.pug
Normal 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
7
src/views/layout.pug
Normal 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
15
src/views/stage.pug
Normal 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
|
||||
Reference in New Issue
Block a user