From bfd6d374b1340479d00fd2bcf0022a6a77f509dc Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Tue, 2 May 2017 21:02:54 -0400 Subject: [PATCH] added blank loading page --- hourglass/client/standards/404.css | 44 +++++++++++++++++++++++++ hourglass/client/standards/404.html | 7 ++++ hourglass/client/standards/loading.css | 8 +++++ hourglass/client/standards/loading.html | 4 +++ hourglass/lib/router.js | 3 +- 5 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 hourglass/client/standards/404.css create mode 100644 hourglass/client/standards/404.html create mode 100644 hourglass/client/standards/loading.css create mode 100644 hourglass/client/standards/loading.html diff --git a/hourglass/client/standards/404.css b/hourglass/client/standards/404.css new file mode 100644 index 0000000..5831d50 --- /dev/null +++ b/hourglass/client/standards/404.css @@ -0,0 +1,44 @@ +#fourohfour { + color: #FFF; + width: 100%; + height: 100%; + + background-color: #222328; + cursor: default; + + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +#first { + font-size: 20vh; + margin: auto; + text-align: center; + + -webkit-filter: drop-shadow(7px 7px 5px #111); + filter: drop-shadow(7px 7px 5px #111); +} + +#second { + font-size: 5vh; + font-weight: 200; + margin: auto; + margin-top: 5%; + text-align: center; + + -webkit-filter: drop-shadow(7px 7px 5px #111); + filter: drop-shadow(7px 7px 5px #111); +} + +#foot { + color: #888; + font-size: 2vh; + font-weight: 200; + width: 100%; + text-align: center; + position: absolute; + bottom: 0; +} \ No newline at end of file diff --git a/hourglass/client/standards/404.html b/hourglass/client/standards/404.html new file mode 100644 index 0000000..91c7e07 --- /dev/null +++ b/hourglass/client/standards/404.html @@ -0,0 +1,7 @@ + diff --git a/hourglass/client/standards/loading.css b/hourglass/client/standards/loading.css new file mode 100644 index 0000000..82a0eec --- /dev/null +++ b/hourglass/client/standards/loading.css @@ -0,0 +1,8 @@ +#loadCont { + color: #FFF; + width: 100%; + height: 100%; + + background-color: #222328; + cursor: default; +} \ No newline at end of file diff --git a/hourglass/client/standards/loading.html b/hourglass/client/standards/loading.html new file mode 100644 index 0000000..80ba5e5 --- /dev/null +++ b/hourglass/client/standards/loading.html @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/hourglass/lib/router.js b/hourglass/lib/router.js index 9318c40..1972deb 100644 --- a/hourglass/lib/router.js +++ b/hourglass/lib/router.js @@ -82,5 +82,6 @@ Router.route('/profile', { }); Router.configure({ - notFoundTemplate: "NotFound" + notFoundTemplate: "NotFound", + loadingTemplate: "loading" });