Skip to content

Commit

Permalink
Updated static pages
Browse files Browse the repository at this point in the history
  • Loading branch information
adigiro committed Nov 20, 2009
1 parent 6341e60 commit 57cab6d
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 48 deletions.
14 changes: 14 additions & 0 deletions app/stylesheets/global.less
Expand Up @@ -159,6 +159,10 @@ div#float_right {
float: right;
}

div.dialog {
font-size: 1.5em;
}

/*Table tool bar*/

ul.toolbar {
Expand Down Expand Up @@ -223,6 +227,16 @@ span.action {
font-weight: bold;
}

span.single_icon {
padding: 5px 5px 5px 20px;
background-repeat: no-repeat;
background-position: center left;
font-weight: bold;
}
div.dialog {
text-align: center;
}

a.selected {
background-color: @Aluminium1;
border-top: 1px solid @Aluminium4;
Expand Down
95 changes: 76 additions & 19 deletions public/404.html
@@ -1,30 +1,87 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>The page you were looking for doesn't exist (404)</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
<link href="/stylesheets/global.css" media="screen" rel="stylesheet" type="text/css" />
</head>

<body>
<!-- This file lives in public/404.html -->
<div class="dialog">
<h1>The page you were looking for doesn't exist.</h1>
<div id="logo">
<a href="/" class="icon_documents_stack action">Document Management System</a>
</div>

<div class="dialog">

<h1>404</h1>

<!--<p>-->
<!--<span class="single_icon document_checkin">&nbsp;</span>-->
<!--<span class="single_icon document_checkout">&nbsp;</span>-->
<!--<span class="single_icon document_delete">&nbsp;</span>-->
<!--<span class="single_icon document_download">&nbsp;</span>-->
<!--<span class="single_icon document_edit">&nbsp;</span>-->
<!--<span class="single_icon document_index">&nbsp;</span>-->
<!--<span class="single_icon document_new">&nbsp;</span>-->
<!--<span class="single_icon document_share">&nbsp;</span>-->
<!--<span class="single_icon document_show">&nbsp;</span>-->
<!--<span class="single_icon icon_bang_yellow">&nbsp;</span>-->
<!--</p>-->
<!--<p>-->
<!--<span class="single_icon icon_building">&nbsp;</span>-->
<!--<span class="single_icon icon_building_old">&nbsp;</span>-->
<!--<span class="single_icon icon_cancel">&nbsp;</span>-->
<!--<span class="single_icon icon_cc">&nbsp;</span>-->
<!--<span class="single_icon icon_documents_stack">&nbsp;</span>-->
<!--<span class="single_icon icon_down_arrow">&nbsp;</span>-->
<!--<span class="single_icon icon_excel">&nbsp;</span>-->
<!--<span class="single_icon icon_folder_document">&nbsp;</span>-->
<!--<span class="single_icon icon_home">&nbsp;</span>-->
<!--<span class="single_icon icon_image">&nbsp;</span>-->
<!--</p>-->

<h2>The page you were looking for doesn't exist.</h2>

<!--<p>-->
<!--<span class="single_icon icon_lock">&nbsp;</span>-->
<!--<span class="single_icon icon_lol_green">&nbsp;</span>-->
<!--<span class="single_icon icon_pdf">&nbsp;</span>-->
<!--<span class="single_icon icon_powerpoint">&nbsp;</span>-->
<!--<span class="single_icon icon_right_arrow">&nbsp;</span>-->
<!--<span class="single_icon icon_ruby">&nbsp;</span>-->
<!--<span class="single_icon icon_sortaz_desc">&nbsp;</span>-->
<!--<span class="single_icon icon_sortaz">&nbsp;</span>-->
<!--<span class="single_icon icon_sortdate_desc">&nbsp;</span>-->
<!--<span class="single_icon icon_sortdate">&nbsp;</span>-->
<!--</p>-->

<p>You may have mistyped the address or the page may have moved.</p>

<!--<p>-->
<!--<span class="single_icon icon_sort">&nbsp;</span>-->
<!--<span class="single_icon icon_sortnum_desc">&nbsp;</span>-->
<!--<span class="single_icon icon_sortnum">&nbsp;</span>-->
<!--<span class="single_icon icon_sortq_desc">&nbsp;</span>-->
<!--<span class="single_icon icon_sortq">&nbsp;</span>-->
<!--<span class="single_icon icon_text">&nbsp;</span>-->
<!--<span class="single_icon icon_tick_circle">&nbsp;</span>-->
<!--<span class="single_icon icon_tick">&nbsp;</span>-->
<!--<span class="single_icon icon_up_arrow">&nbsp;</span>-->
<!--<span class="single_icon icon_user_card">&nbsp;</span>-->
<!--</p>-->
<!--<p>-->
<!--<span class="single_icon icon_word">&nbsp;</span>-->
<!--<span class="single_icon request_index">&nbsp;</span>-->
<!--<span class="single_icon system_log">&nbsp;</span>-->
<!--<span class="single_icon user_delete">&nbsp;</span>-->
<!--<span class="single_icon user_edit">&nbsp;</span>-->
<!--<span class="single_icon user_index">&nbsp;</span>-->
<!--<span class="single_icon user_login">&nbsp;</span>-->
<!--<span class="single_icon user_logout">&nbsp;</span>-->
<!--<span class="single_icon user_new">&nbsp;</span>-->
<!--<span class="single_icon user_show">&nbsp;</span>-->
<!--</p>-->

</div>
</body>
</html>
</html>
22 changes: 7 additions & 15 deletions public/422.html
Expand Up @@ -6,25 +6,17 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>The change you wanted was rejected (422)</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
<link href="/stylesheets/global.css" media="screen" rel="stylesheet" type="text/css" />
</head>

<body>
<!-- This file lives in public/422.html -->
<div id="logo">
<a href="/" class="icon_documents_stack action">Document Management System</a>
</div>
<div class="dialog">
<h1>The change you wanted was rejected.</h1>
<h1>422</h1>
<h2>The change you wanted was rejected.</h2>
<p>Maybe you tried to change something you didn't have access to.</p>
</div>
</body>
</html>
</html>
20 changes: 6 additions & 14 deletions public/500.html
Expand Up @@ -6,24 +6,16 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>We're sorry, but something went wrong (500)</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
<link href="/stylesheets/global.css" media="screen" rel="stylesheet" type="text/css" />
</head>

<body>
<!-- This file lives in public/500.html -->
<div id="logo">
<a href="/" class="icon_documents_stack action">Document Management System</a>
</div>
<div class="dialog">
<h1>We're sorry, but something went wrong.</h1>
<h1>500</h1>
<h2>We're sorry, but something went wrong.</h2>
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
</div>
</body>
Expand Down

0 comments on commit 57cab6d

Please sign in to comment.