changeset 692:31ba6a104186

Fixed the logo location and banner text direction for the Hebrew.
author Vladimir Homutov <vl@nginx.com>
date Fri, 28 Sep 2012 11:04:16 +0000
parents 023e9f139c3c
children 095d1972dad9
files xsls/body.xsls xsls/style.xsls
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xsls/body.xsls	Thu Sep 27 14:04:43 2012 +0000
+++ b/xsls/body.xsls	Fri Sep 28 11:04:16 2012 +0000
@@ -19,7 +19,8 @@
     <table width="100%">
         <tr>
         <td width="70%">
-            <div class="banner">
+            <div id="banner">
+                X:if "@lang = 'he'" { X:attribute "class" { X:text{ltr} } }
                 <center>
                 <table>
                     <tr>
@@ -39,6 +40,7 @@
             </div>
         </td>
         <td align="right">
+            X:if "@lang = 'he'" { X:attribute "align" { X:text{left} } }
             <a href="http://nginx.org">
                 <img src="http://nginx.org/nginx.gif" alt="nginx" border="0"/>
             </a>
--- a/xsls/style.xsls	Thu Sep 27 14:04:43 2012 +0000
+++ b/xsls/style.xsls	Fri Sep 28 11:04:16 2012 +0000
@@ -22,7 +22,7 @@
                             margin:         0; }
         div.directive p   { margin:         5pt 0 0 0;
                             font-size:      80%; }
-        div.banner        { background:     #EEEEEE;
+        div#banner        { background:     #EEEEEE;
                             padding:        10pt 10pt 10pt 0; }
         span.initial      { font-size:      200%;
                             float:          left;