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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-11-09 22:41:44 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-11-09 22:41:44 +0300
commit4e1f399eb8415fcdbade8577bc37bcfe15a561d4 (patch)
tree06b100c5fd9c7304b26442d8ecc30f0d94fab795 /layouts/404.html
parent42c237332b6cc2fda006d7bac278a381a4a3c4a5 (diff)
Add some debugging code and 404 page. Fixes #25.
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 00000000..16810cc3
--- /dev/null
+++ b/layouts/404.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<html lang="en">
+ <%= render '/head.*' %>
+ <body>
+ <div class="header">
+ <a href="/">
+ <img src="<%= @items['/assets/images/gitlab-logo.svg'].path %>"/>
+ <p>GitLab Documentation</p>
+ </a>
+ <ul>
+ <li><input type="text" class="st-default-search-input" placeholder="Search"></li>
+ <li><a href="<%= @items['/ce/README.*'].path %>">Community Edition</a></li>
+ <li><a href="<%= @items['/ee/README.*'].path %>">Enterprise Edition</a></li>
+ <li><a href="<%= @items['/omnibus/README.*'].path %>">Omnibus</a></li>
+ </ul>
+ </div>
+ <div class="main class">
+ <%= yield %>
+ </div>
+ </body>
+
+ <%= render '/analytics.*' %>
+</html>