Mercurial > kallithea
annotate rhodecode/templates/errors/error_document.html @ 2977:cff9d4e1d821 beta
Fixed issue when node didn't exists at 'tip' and we tried calculate history based on that assumption.
Now fallback to the changeset the node exists in for history calculation
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 04 Nov 2012 13:08:27 +0100 |
parents | d5e42c00f3c1 |
children | 63e58ef80ef1 b4f401524060 |
rev | line source |
---|---|
0 | 1 ## -*- coding: utf-8 -*- |
2490
7a5eeafb1a9a
better path extraction method.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
2 <!DOCTYPE html> |
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" /> |
2490
7a5eeafb1a9a
better path extraction method.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
7 <meta name="robots" content="index, nofollow"/> |
7a5eeafb1a9a
better path extraction method.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
8 <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" /> |
2673
d5e42c00f3c1
white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
2490
diff
changeset
|
9 |
2490
7a5eeafb1a9a
better path extraction method.
Marcin Kuzminski <marcin@python-works.com>
parents:
1888
diff
changeset
|
10 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
11 %if c.redirect_time: |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
12 <meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
13 %endif |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
14 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
15 <!-- stylesheets --> |
1050
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1049
diff
changeset
|
16 <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
|
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; |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
24 font-size: 1.6em; |
362
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; |
619
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
28 color:#003367; |
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
29 font-size: 1.6em; |
a1ec653f5f95
#38 updated RhodeCode titles
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
30 margin:10px; |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
31 } |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
32 </style> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
33 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
34 </head> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
35 <body> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
36 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
37 <div id="login"> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
38 <div class="table"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
39 <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
|
40 <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
|
41 <h1 class="error_message">${c.error_message}</h1> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
42 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
43 <p>${c.error_explanation}</p> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
44 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
45 %if c.redirect_time: |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
46 <p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
47 %endif |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
48 |
362
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 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
51 <!-- end login --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
52 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
315
diff
changeset
|
53 </body> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1156
diff
changeset
|
54 |
0 | 55 </html> |