1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Starting to add error status pages.

This commit is contained in:
Gunther Brunner 2014-06-03 21:00:00 +09:00
parent bad0ca9cc7
commit 2ca3619057
4 changed files with 35 additions and 0 deletions

View file

@ -71,6 +71,7 @@ module.exports = function(options) {
serveStatic(pathutil.resource('bower_components/stf-site/v2-features'))) serveStatic(pathutil.resource('bower_components/stf-site/v2-features')))
app.use('/static/data', serveStatic(pathutil.resource('data'))) app.use('/static/data', serveStatic(pathutil.resource('data')))
app.use('/static/build', serveStatic(pathutil.resource('build'))) app.use('/static/build', serveStatic(pathutil.resource('build')))
app.use('/static/status', serveStatic(pathutil.resource('common/status')))
app.use('/static/browsers', browserIconMiddleware()) app.use('/static/browsers', browserIconMiddleware())
app.use('/static/devices', deviceIconMiddleware()) app.use('/static/devices', deviceIconMiddleware())
app.use('/static', serveStatic(pathutil.resource('app'))) app.use('/static', serveStatic(pathutil.resource('app')))

View file

@ -0,0 +1,14 @@
doctype html
html
head
title STF Not Found
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui')
include partials/styles
body(ng-cloak).forofour.bg-danger
script(src='/static/bower_components/stf-analytics/analytics.js')
div(ng-view)
.forofour-container
h1
i.fa.fa-unlink.fa-4x
h2 アクセスしようとしたページが見つかりません。

View file

@ -0,0 +1,15 @@
doctype html
html
head
title STF Maintenance
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui')
include partials/styles
body(ng-cloak).forofour.bg-danger
script(src='/static/bower_components/stf-analytics/analytics.js')
div(ng-view)
.forofour-container
h1
i.fa.fa-unlink.fa-4x
h2 しばらくお待ちください
h3 STFをアップデート中です。

View file

@ -0,0 +1,5 @@
link(href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700', media='all', rel='stylesheet', type='text/css')
link(rel='stylesheet', href='/static/bower_components/se7en-bootstrap-3/build/stylesheets/bootstrap.min.css')
link(rel='stylesheet', href='/static/bower_components/se7en-bootstrap-3/build/stylesheets/se7en-font.css')
link(rel='stylesheet', href='/static/bower_components/se7en-bootstrap-3/build/stylesheets/style.css')
link(rel='stylesheet', href='/static/bower_components/se7en-bootstrap-3/build/stylesheets/font-awesome.min.css')