Mercurial > wikked
changeset 33:986d82afdbb8
Added some error pages.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 06 Jan 2013 20:19:29 -0800 |
parents | 7bb67ac28c3c |
children | bbc7f7cca5cf |
files | wikked/static/tpl/error-not-found.html wikked/static/tpl/error-unauthorized.html |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wikked/static/tpl/error-not-found.html Sun Jan 06 20:19:29 2013 -0800 @@ -0,0 +1,6 @@ +<article class="row"> + <div class="page span12"> + <h1>Not Found</h1> + <p>The page you're trying to access does not exist. You can <a href="/#/edit/{{path}}">create it</a>.</p> + </div> +</article>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wikked/static/tpl/error-unauthorized.html Sun Jan 06 20:19:29 2013 -0800 @@ -0,0 +1,6 @@ +<article class="row"> + <div class="page span12"> + <h1>You're not authorized for this</h1> + <p>The page you're trying to access is protected. Please <a href="/#/login">log into an account</a> that has access to it.</p> + </div> +</article>