Mercurial > kallithea
annotate pylons_app/templates/errors/error_document.html @ 371:5cd6616b8673
routes python 2.5 compatible
added my account settings,
some changes to routes mappers for settings to more custom ones
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 28 Jul 2010 01:44:39 +0200 |
parents | 558eb7c5028f |
children |
rev | line source |
---|---|
0 | 1 ## -*- coding: utf-8 -*- |
315
b00945765e7b
corrected error document to be same as base
Marcin Kuzminski <marcin@python-works.com>
parents:
14
diff
changeset
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
b00945765e7b
corrected error document to be same as base
Marcin Kuzminski <marcin@python-works.com>
parents:
14
diff
changeset
|
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
4 <head> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
5 <title>Error - ${c.error_message}</title> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
7 %if c.redirect_time: |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
8 <meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
9 %endif |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
10 <link rel="icon" href="/images/hgicon.png" type="image/png" /> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
11 <meta name="robots" content="index, nofollow"/> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
12 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
13 <!-- stylesheets --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
14 <link rel="stylesheet" type="text/css" href="/css/reset.css" /> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
15 <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen" /> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
16 <link id="color" rel="stylesheet" type="text/css" href="/css/colors/blue.css" /> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
17 <style type="text/css"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
18 #main_div{ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
19 border: 0px solid #000; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
20 width: 500px; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
21 margin: auto; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
22 text-align: center; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
23 margin-top: 200px; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
24 font-size: 1.8em; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
25 } |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
26 .error_message{ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
27 text-align: center; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
28 color:red; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
29 font-size: 1.8em; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
30 } |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
31 </style> |
14 | 32 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
33 </head> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
34 <body> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
35 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
36 <div id="login"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
37 <div class="table"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
38 <div id="main_div"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
39 <h1 class="error_message">${c.error_message}</h1> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
40 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
41 <p>${c.error_explanation}</p> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
42 %if c.redirect_time: |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
43 <p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
44 %endif |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
45 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
46 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
47 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
48 <!-- end login --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
49 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
50 </body> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
51 |
0 | 52 </html> |
53 |