Mercurial > hg > nginx-site
comparison xsls/error.xsls @ 123:7db449e89e92
Unified the use of the "name" attribute instead of "title".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 21 Oct 2011 06:17:16 +0000 |
parents | f31230984540 |
children | 9085f0c59dc6 |
comparison
equal
deleted
inserted
replaced
122:871ea104fdbf | 123:7db449e89e92 |
---|---|
10 --> | 10 --> |
11 X:param XML = "'../xml'"; | 11 X:param XML = "'../xml'"; |
12 | 12 |
13 | 13 |
14 X:template = "/error" { | 14 X:template = "/error" { |
15 <html><head><title> !{@title} </title> | 15 <html><head><title> !{@name} </title> |
16 | 16 |
17 <style type="text/css">!{ normalize-space(' | 17 <style type="text/css">!{ normalize-space(' |
18 body { font-family: Georgia, serif; } | 18 body { font-family: Georgia, serif; } |
19 ') } | 19 ') } |
20 </style> | 20 </style> |
21 </head> | 21 </head> |
22 | 22 |
23 <body> | 23 <body> |
24 <table width="100%"> | 24 <table width="100%"> |
25 <tr> | 25 <tr> |
26 <td width="70%"><center><h1> !{@title} </h1></center></td> | 26 <td width="70%"><center><h1> !{@name} </h1></center></td> |
27 <td rowspan="2" align="right" valign="top"> | 27 <td rowspan="2" align="right" valign="top"> |
28 <img src="/nginx.gif" alt="nginx"/><br/> | 28 <img src="/nginx.gif" alt="nginx"/><br/> |
29 | 29 |
30 <br/> | 30 <br/> |
31 <br/> | 31 <br/> |