Mercurial > kallithea
annotate rhodecode/templates/errors/error_document.html @ 1723:64e91067b996 beta
- refactoring to overcome poor usage of global pylons config
- db transaction fixes
- fixed tests
- garden
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 26 Nov 2011 02:16:21 +0200 |
parents | c9a9e0b3baf8 |
children | bf263968da47 f91d3f9b7230 |
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"> |
1156
c9a9e0b3baf8
removed obsolete id from <html>
Marcin Kuzminski <marcin@python-works.com>
parents:
1051
diff
changeset
|
3 <html xmlns="http://www.w3.org/1999/xhtml"> |
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 |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
10 <link rel="icon" href="${h.url("/images/hgicon.png")}" type="image/png" /> |
362
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 --> |
1050
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1049
diff
changeset
|
14 <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
15 <style type="text/css"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
16 #main_div{ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
17 border: 0px solid #000; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
18 width: 500px; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
19 margin: auto; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
20 text-align: center; |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
21 margin-top: 200px; |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
22 font-size: 1.6em; |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
23 } |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
24 .error_message{ |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
25 text-align: center; |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
26 color:#003367; |
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
27 font-size: 1.6em; |
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
28 margin:10px; |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
29 } |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
30 </style> |
14 | 31 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
32 </head> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
33 <body> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
34 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
35 <div id="login"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
36 <div class="table"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
37 <div id="main_div"> |
986
5256b255269a
removed obsolete css from 404 page, and implemented rhodecode title app in the error page
Marcin Kuzminski <marcin@python-works.com>
parents:
619
diff
changeset
|
38 <div style="font-size:2.0em;margin: 10px">${c.rhodecode_name}</div> |
362
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> |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
42 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
43 %if c.redirect_time: |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
44 <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
|
45 %endif |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
46 |
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 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
49 <!-- end login --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
50 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
51 </body> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
52 |
0 | 53 </html> |
54 |