Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChip Senkbeil <chip.senkbeil@gmail.com>2015-08-16 06:16:41 +0300
committerChip Senkbeil <chip.senkbeil@gmail.com>2015-08-16 06:16:41 +0300
commit34be0d9a9736409bd30767b0effb87e29e9c67f0 (patch)
treeebc42d16af3630ab15a4a59cadd2fa89e90571bb /layouts/404.html
parent8e2715fc187868999da661b6fcc2cd87d998d500 (diff)
Refactored html start/end into partials, added 404 page (debating on design)
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html65
1 files changed, 65 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..ad45246
--- /dev/null
+++ b/layouts/404.html
@@ -0,0 +1,65 @@
+{{ partial "html-start.html" . }}
+
+{{ partial "head.html" . }}
+
+<body>
+ <style>
+ .row.cell-quarter-height > .col {
+ height: 25vh;
+ }
+ .row > .col:nth-child(2n+1) {
+ border: 1px solid black;
+ background-color: #009688;
+ color: white;
+ }
+ .row > .col:nth-child(2n) {
+ border: 1px solid black;
+ background-color: #607d8b;
+ color: white;
+ }
+ .full-width {
+ width: 100%;
+ height: auto;
+ }
+ .force-horizontal-center {
+ margin: 0 auto;
+ }
+ </style>
+ <div class="row cell-quarter-height">
+ <div class="col s4"></div>
+ <div class="col s4"></div>
+ <div class="col s4"></div>
+ <div class="col s3"></div>
+ <div class="col s6">
+ <h1 class="center-align full-width">404</h1>
+ <p class="center-align full-width">
+ The requested page was not found! Try searching the site for
+ another page!
+ </p>
+ </div>
+ <div class="col s3"></div>
+ <div class="col s3"></div>
+ <div class="col s6 force-horizontal-center">
+ <form method="get" id="search" action="http://duckduckgo.com/" class="js-vertical-align">
+ <input type="hidden" name="sites"value="{{ .Site.BaseURL }}"/>
+ <input type="hidden" name="ka" value="h"/>
+ <input type="hidden" name="k7" value="#fafafa"/>
+ <input type="hidden" name="kj" value="#3f3f3f"/>
+ <input type="hidden" name="ky" value="#fafafa"/>
+ <input type="hidden" name="kx" value="b"/>
+ <input type="hidden" name="kt" value="Helvetica"/>
+ <input type="text" name="q" maxlength="255" placeholder="Search"/>
+ <input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" />
+ </form>
+ </div>
+ <div class="col s3"></div>
+ <div class="col s4"></div>
+ <div class="col s4"></div>
+ <div class="col s4"></div>
+ </div>
+
+ {{ partial "js.html" . }}
+</body>
+
+{{ partial "html-end.html" . }}
+