Changeset 8d55d7656796eb06e3ddeebcd878f0f8d864823a

Show
Ignore:
Timestamp:
07/08/07 10:44:31 (1 year ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1183884271 +0200
git-parent:

[ee28f5dedaf4b1426bddccb646109a1d109008ab]

git-author:
Christopher Jung <bktheg@web.de> 1183884271 +0200
Message:

Design ueberarbeitet

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • templates/schiffinfo.html

    r8e3cf9b r8d55d76  
    1717        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    1818--> 
    19 <table cellspacing="3" cellpadding="6" class="noBorder"> 
     19{!table_begin 700} 
     20<table cellspacing="3" cellpadding="6" class="noBorderX"> 
    2021<tr> 
    21         <td valign="top" class="noBorderS"> 
    22                 <span style="color:#FFFFFF;font-weight:bold;"> 
    23                         {shiptype.nickname} 
    24                         {if shiptype.showinvisible} 
    25                                 <br /> 
    26                                 <span class="verysmallfont" style="color:red;font-style:italic;font-weight:normal">unsichtbar</span> 
    27                         {/endif} 
    28                         {if shiptype.showbuildable} 
    29                                 <br /> 
    30                                 <span class="verysmallfont" style="color:red;font-style:italic;font-weight:normal">baubar mit {shiptype.visibletech}</span> 
    31                         {/endif} 
    32                         {if shiptype.showorderable} 
    33                                 <br /> 
    34                                 <span class="verysmallfont" style="color:red;font-style:italic;font-weight:normal">orderbar f&uuml;r {shiptype.ordercost}</span> 
    35                         {/endif} 
    36                 </span> 
    37                 <br /> 
     22        <td valign="top" class="noBorderX"> 
     23                <span style="color:#FFFFFF;font-weight:bold;">{shiptype.nickname}</span><br /> 
     24                {if shiptype.showinvisible} 
     25                        <span class="verysmallfont" style="color:red;font-style:italic;font-weight:normal">unsichtbar</span> 
     26                        <br /> 
     27                {/endif} 
     28                {if shiptype.showbuildable} 
     29                        <span class="verysmallfont" style="color:red;font-style:italic;font-weight:normal">baubar mit {shiptype.visibletech}</span> 
     30                        <br /> 
     31                {/endif} 
     32                {if shiptype.showorderable} 
     33                        <span class="verysmallfont" style="color:red;font-style:italic;font-weight:normal">orderbar f&uuml;r {shiptype.ordercost}</span> 
     34                        <br /> 
     35                {/endif} 
    3836                <span class="verysmallfont" style="font-style:italic">{shiptype.class}</span><br /> 
    3937                <img src="{shiptype.image}" alt="" /> 
    4038        </td> 
    4139 
    42         <td valign="top" class="noBorderS"><span style="color:white">Reaktorwerte</span><br /
    43         <table class="noBorder"
    44         <tr><td class="noBorderS">{shiptype.ru}</td><td class="noBorderS"><img src="{uran.image}" alt="" /></td><td class="noBorderS">Uran</td></tr
    45         <tr><td class="noBorderS">{shiptype.rd}</td><td class="noBorderS"><img src="{deuterium.image}" alt="" /></td><td class="noBorderS">Deuterium</td></tr> 
    46         <tr><td class="noBorderS">{shiptype.ra}</td><td class="noBorderS"><img src="{antimaterie.image}" alt="" /></td><td class="noBorderS">Antimaterie</td></tr> 
    47         <tr><td class="noBorderS">{shiptype.rm}</td><td class="noBorderS"><img src="{URL}data/interface/energie.gif" alt="" /></td><td class="noBorderS">maximal</td></tr> 
    48         <tr><td class="noBorderS">&nbsp;</td></tr> 
    49         </table> 
     40        <td valign="top" class="noBorderX"
     41               <h3>Reaktorwerte</h3
     42               <table class="noBorderX"
     43               <tr><td class="noBorderX">{shiptype.ru}</td><td class="noBorderX"><img src="{uran.image}" alt="" /></td><td class="noBorderX">Uran</td></tr> 
     44               <tr><td class="noBorderX">{shiptype.rd}</td><td class="noBorderX"><img src="{deuterium.image}" alt="" /></td><td class="noBorderX">Deuterium</td></tr> 
     45               <tr><td class="noBorderX">{shiptype.ra}</td><td class="noBorderX"><img src="{antimaterie.image}" alt="" /></td><td class="noBorderX">Antimaterie</td></tr> 
     46               <tr><td class="noBorderX">{shiptype.rm}</td><td class="noBorderX"><img src="{URL}data/interface/energie.gif" alt="" /></td><td class="noBorderX">maximal</td></tr> 
     47               </table> 
    5048        </td> 
    5149 
    5250        {if shiptype.buildable} 
    53                 <td valign="top" class="noBorderS"> 
    54                 <span style="color:white">Vorrausetzungen</span><br /> 
    55                 {if global.login} 
    56                         {if shiptype.tr1} 
    57                                 {!link_to $shiptype.tr1.name, default, module:forschinfo, css_class:$shiptype.tr1.status, res:$shiptype.tr1}<br /> 
     51                <td valign="top" class="noBorderX"> 
     52                        <h3>Vorrausetzungen</h3> 
     53                        {if global.login} 
     54                                {if shiptype.tr1} 
     55                                        {!link_to $shiptype.tr1.name, default, module:forschinfo, css_class:$shiptype.tr1.status, res:$shiptype.tr1}<br /> 
     56                                {/endif} 
     57                                {if shiptype.tr2} 
     58                                        {!link_to $shiptype.tr2.name, default, module:forschinfo, css_class:$shiptype.tr2.status, res:$shiptype.tr2}<br /> 
     59                                {/endif} 
     60                                {if shiptype.tr2} 
     61                                        {!link_to $shiptype.tr3.name, default, module:forschinfo, css_class:$shiptype.tr3.status, res:$shiptype.tr3}<br /> 
     62                                {/endif} 
     63         
     64                        {else} 
     65                                {if shiptype.tr1} 
     66                                        <span style="color:#ff4444">{shiptype.tr1.name}</span><br /> 
     67                                {/endif} 
     68                                {if shiptype.tr2} 
     69                                        <span style="color:#ff4444">{shiptype.tr2.name}</span><br /> 
     70                                {/endif} 
     71                                {if shiptype.tr3} 
     72                                        <span style="color:#ff4444">{shiptype.tr3.name}</span><br /> 
     73                                {/endif} 
    5874                        {/endif} 
    59                         {if shiptype.tr2} 
    60                                 {!link_to $shiptype.tr2.name, default, module:forschinfo, css_class:$shiptype.tr2.status, res:$shiptype.tr2}<br /> 
    61                         {/endif} 
    62                         {if shiptype.tr2} 
    63                                 {!link_to $shiptype.tr3.name, default, module:forschinfo, css_class:$shiptype.tr3.status, res:$shiptype.tr3}<br /> 
    64                         {/endif} 
    65  
    66                 {else} 
    67                         {if shiptype.tr1} 
    68                                 <span style="color:#ff4444">{shiptype.tr1.name}</span><br /> 
    69                         {/endif} 
    70                         {if shiptype.tr2} 
    71                                 <span style="color:#ff4444">{shiptype.tr2.name}</span><br /> 
    72                         {/endif} 
    73                         {if shiptype.tr3} 
    74                                 <span style="color:#ff4444">{shiptype.tr3.name}</span><br /> 
    75                         {/endif} 
    76                 {/endif} 
    77  
    78                 <br /><span style="color:white">Rasse</span>: {shiptype.race}<br /> 
     75         
     76                        <br /> 
     77                        Rasse: {shiptype.race}<br /> 
    7978                </td> 
    8079        {/endif} 
    8180</tr> 
    8281<tr> 
    83         <td colspan="3" class="noBorderS"> 
     82        <td colspan="3" class="noBorderX"> 
    8483                <hr noshade="noshade" size="1" style="color:#cccccc" /> 
    8584        </td> 
     
    8786<tr> 
    8887        {if shiptype.buildable} 
    89                 <td valign="top" class="noBorderS"><span style="color:white">Produktionskosten</span><br /> 
    90                 <table cellpadding="2" cellspacing="1" class="noBorder"> 
    91                 <!-- BEGIN res.listitem --> 
    92                         <tr> 
    93                                 <td class="noBorderS">{res.name}</td> 
    94                                 <td align="left" class="noBorderS"><img src="{res.image}" alt="" />{res.count}</td> 
    95                                 <td class="noBorderS"></td> 
    96                         </tr> 
    97                 <!-- END res.listitem --> 
    98                 <tr><td class="noBorderS">Energie</td><td align="left" class="noBorderS"><img src="{URL}data/interface/energie.gif" alt="" />{shiptype.cost.energie}</td></tr> 
    99                 <tr><td class="noBorderS">Besatzung</td><td align="left" class="noBorderS"><img src="{URL}data/interface/besatzung.gif" alt="" />{shiptype.cost.crew}</td></tr> 
    100                 <tr><td class="noBorderS">Dauer</td><td align="left" class="noBorderS"><img src="{URL}data/interface/time.gif" alt="" />{shiptype.cost.dauer}</td></tr> 
    101                 </table></td> 
     88                <td valign="top" class="noBorderX"> 
     89                        <h3>Produktionskosten</h3> 
     90                        <table cellpadding="2" cellspacing="1" class="noBorderX"> 
     91                        <!-- BEGIN res.listitem --> 
     92                                <tr> 
     93                                        <td class="noBorderX">{res.name}</td> 
     94                                        <td align="left" class="noBorderX"><img src="{res.image}" alt="" />{res.count}</td> 
     95                                        <td class="noBorderX"></td> 
     96                                </tr> 
     97                        <!-- END res.listitem --> 
     98                        <tr><td class="noBorderX">Energie</td><td align="left" class="noBorderX"><img src="{URL}data/interface/energie.gif" alt="" />{shiptype.cost.energie}</td></tr> 
     99                        <tr><td class="noBorderX">Besatzung</td><td align="left" class="noBorderX"><img src="{URL}data/interface/besatzung.gif" alt="" />{shiptype.cost.crew}</td></tr> 
     100                        <tr><td class="noBorderX">Dauer</td><td align="left" class="noBorderX"><img src="{URL}data/interface/time.gif" alt="" />{shiptype.cost.dauer}</td></tr> 
     101                        </table> 
     102                </td> 
    102103        {/endif} 
    103104 
    104         <td valign="top" class="noBorderS"> 
    105         {if shiptype.count > 1}<span style="color:white">Anzahl</span>: {shiptype.count}<br /><br />{/endif} 
    106         <span style="color:white">Bewaffnung</span
    107         <table cellpadding="2" cellspacing="1" class="noBorder"
    108         <!-- BEGIN shiptype.weapons.listitem --
    109                 <tr
    110                         <td class="noBorderS" width="150"
    111                                 <a class="forschinfo" href="#" onmouseover="return overlib('{shiptype.weapon.description}',TIMEOUT,0,DELAY,400,WIDTH,200);" onmouseout="return nd();">{shiptype.weapon.name}</a
    112                         </td> 
    113                         <td class="noBorderS">{shiptype.weapon.count}</td
    114                 </tr
    115         <!-- END shiptype.weapons.listitem --> 
    116         {if shiptype.noweapons}<tr><td class="noBorderS">-keine-</td></tr>{/endif
    117         {if shiptype.buildable} 
    118                 <tr><td colspan="2" class="noBorderS"><br />Baubar in</td></tr
    119                 <tr><td colspan="2" class="noBorderS"
    120                 <!-- BEGIN shiptype.werften.listitem -->{if shiptype.werften.list}, {/endif}{werft.name}<!-- END shiptype.werften.listitem --
    121                 </td></tr> 
    122         {/endif} 
    123         </table></td> 
     105        <td valign="top" class="noBorderX"> 
     106               <h3>Bewaffnung</h3> 
     107               <table cellpadding="2" cellspacing="1" class="noBorderX"
     108               <!-- BEGIN shiptype.weapons.listitem --
     109                       <tr
     110                               <td class="noBorderX" width="150"
     111                                       <a class="forschinfo" href="#" onmouseover="return overlib('{shiptype.weapon.description}',TIMEOUT,0,DELAY,400,WIDTH,200);" onmouseout="return nd();">{shiptype.weapon.name}</a
     112                                </td
     113                               <td class="noBorderX">{shiptype.weapon.count}</td> 
     114                        </tr
     115                <!-- END shiptype.weapons.listitem --
     116               {if shiptype.noweapons}<tr><td class="noBorderX">-keine-</td></tr>{/endif} 
     117               {if shiptype.buildable
     118                       <tr><td colspan="2" class="noBorderX"<h3>Baubar in</h3></td></tr> 
     119                       <tr><td colspan="2" class="noBorderX"
     120                       <!-- BEGIN shiptype.werften.listitem -->{if shiptype.werften.list}, {/endif}{werft.name}<!-- END shiptype.werften.listitem --
     121                       </td></tr
     122                {/endif} 
     123               </table> 
     124        </td> 
    124125 
    125         <td valign="top" class="noBorderS"> 
    126         <span style="color:white">Antrieb</span><br /> 
    127         {shiptype.cost} Flugkosten<br />{shiptype.heat} &Uuml;berhitzung<br /><br /> 
    128         <span style="color:white">Gr&ouml;&szlig;e/Beweglichkeit</span>: {shiptype.size}<br /> 
    129         <span style="color:white">Sensorreichweite</span>: {shiptype.sensorrange}<br /><br /> 
    130         <span style="color:white">Ausstattung</span><br /> 
    131         {shiptype.eps} Energiespeicher<br />{shiptype.cargo} Cargo<br />{shiptype.crew} Kabinen<br /> 
    132         {if shiptype.jdocks} 
    133                 {shiptype.jdocks} J&auml;gerdocks<br /> 
    134         {/endif} 
    135         {if shiptype.adocks} 
    136         Externe Dockinganlage (Kapazit&auml;t: {shiptype.adocks})<br /> 
    137         {/endif} 
    138         {if shiptype.moduleslots} 
    139                 {shiptype.moduleslots} Modulsteckpl&auml;tze <a href="#" class="forschinfo" onmouseover="return overlib('&lt;div align=\'center\' style=\'font-size:13px; text-decoration:underline\'&gt;Modulsteckpl&auml;tze&lt;/div&gt;&lt;span style=\'font-size:13px\'&gt;{shiptype.moduleslots.desc}&lt;/span&gt;',TIMEOUT,0,DELAY,300,WIDTH,150);" onmouseout="return nd();"><img border="0" src="{URL}data/interface/schiffinfo/info.gif" alt="i" style="vertical-align:middle" /></a><br /> 
    140         {/endif} 
    141  
    142         <br /><span style="color:white">H&uuml;llenst&auml;rke</span>: {shiptype.hull}<br  /> 
    143         {if shiptype.panzerung}<span style="color:white">Panzerung</span>: {shiptype.panzerung}<br />{/endif} 
    144         {if shiptype.shields} 
    145                 <span style="color:white">Schildst&auml;rke</span>: {shiptype.shields}<br /> 
    146         {/endif} 
    147         {if shiptype.deutfactor} 
    148                 <span style="color:white">Tanker</span>: <img src="{deuterium.image}" alt="Deuterium" />{shiptype.deutfactor} f&uuml;r <img src="{URL}data/interface/energie.gif" alt="Energie" />1<br /> 
    149         {/endif} 
    150         {if shiptype.hydro} 
    151                 <span style="color:white">Produziert</span>: <img src="{nahrung.image}" alt="Nahrung" />{shiptype.hydro}<br /> 
    152         {/endif} 
    153         {if shiptype.torpedodef} 
    154                 <span style="color:white">Torpedoabwehr</span>: {shiptype.torpedodef}%<br /> 
    155         {/endif} 
    156         {if shiptype.recost} 
    157                 <span style="color:white">Wartungskosten</span>: {shiptype.recost} RE<br /> 
    158         {/endif} 
    159         <!-- BEGIN shiptypeflags.listitem --> 
    160                 <span style="color:white">{shiptypeflag.name}</span> {if shiptypeflag.description}<a href="#" class="forschinfo" onmouseover="return overlib('&lt;span style=\'font-size:13px\'&gt;{shiptypeflag.description}&lt;/span&gt;',TIMEOUT,0,DELAY,300,WIDTH,330);" onmouseout="return nd();"><img border="0" src="{URL}data/interface/schiffinfo/info.gif" alt="i" style="vertical-align:middle" /></a>{/endif}<br /> 
    161         <!-- END shiptypeflags.listitem --> 
    162         {if shiptype.flagschiff} 
    163                 <span style="color:#EECC44">Flagschiff</span> 
    164                 <a href="#" class="forschinfo" onmouseover="return overlib('&lt;span style=\'font-size:13px\'&gt;Ein Flagschiff ist das Zentrum einer gesamten Flotte.&lt;br /&gt;Es ist deutlich St&auml;rker als andere Schiffe. Daher darf&lt;br /&gt;jeder Spieler &lt;span style=\'text-decoration:underline\'&gt;nur ein einziges Flagschiff&lt;/span&gt; besitzen.&lt;/span&gt;',TIMEOUT,0,DELAY,300,WIDTH,330);" onmouseout="return nd();"><img border="0" src="{URL}data/interface/schiffinfo/info.gif" alt="i" style="vertical-align:middle" /></a></a> 
    165                 <br /> 
    166         {/endif} 
    167  
     126        <td valign="top" class="noBorderX"> 
     127                <h3>Antrieb</h3> 
     128                {shiptype.cost} Flugkosten<br />{shiptype.heat} &Uuml;berhitzung<br /><br /> 
     129                Gr&ouml;&szlig;e/Beweglichkeit: {shiptype.size}<br /> 
     130                Sensorreichweite: {shiptype.sensorrange}<br /><br /> 
     131                 
     132                <h3>Ausstattung</h3> 
     133                {shiptype.eps} Energiespeicher<br />{shiptype.cargo} Cargo<br />{shiptype.crew} Kabinen<br /> 
     134                {if shiptype.jdocks} 
     135                        {shiptype.jdocks} J&auml;gerdocks<br /> 
     136                {/endif} 
     137                {if shiptype.adocks} 
     138                Externe Dockinganlage (Kapazit&auml;t: {shiptype.adocks})<br /> 
     139                {/endif} 
     140                {if shiptype.moduleslots} 
     141                        {shiptype.moduleslots} Modulsteckpl&auml;tze <a href="#" class="forschinfo" onmouseover="return overlib('&lt;div align=\'center\' style=\'font-size:13px; text-decoration:underline\'&gt;Modulsteckpl&auml;tze&lt;/div&gt;&lt;span style=\'font-size:13px\'&gt;{shiptype.moduleslots.desc}&lt;/span&gt;',TIMEOUT,0,DELAY,300,WIDTH,150);" onmouseout="return nd();"><img border="0" src="{URL}data/interface/schiffinfo/info.gif" alt="i" style="vertical-align:middle" /></a><br /> 
     142                {/endif} 
     143                {if shiptype.count > 1} 
     144                        Anzahl: {shiptype.count}<br /><br /> 
     145                {/endif} 
     146         
     147                <br />H&uuml;llenst&auml;rke: {shiptype.hull}<br  /> 
     148                {if shiptype.panzerung}Panzerung: {shiptype.panzerung}<br />{/endif} 
     149                {if shiptype.shields} 
     150                        Schildst&auml;rke: {shiptype.shields}<br /> 
     151                {/endif} 
     152                {if shiptype.deutfactor} 
     153                        Tanker: <img src="{deuterium.image}" alt="Deuterium" />{shiptype.deutfactor} f&uuml;r <img src="{URL}data/interface/energie.gif" alt="Energie" />1<br /> 
     154                {/endif} 
     155                {if shiptype.hydro} 
     156                        Produziert: <img src="{nahrung.image}" alt="Nahrung" />{shiptype.hydro}<br /> 
     157                {/endif} 
     158                {if shiptype.torpedodef} 
     159                        Torpedoabwehr: {shiptype.torpedodef}%<br /> 
     160                {/endif} 
     161                {if shiptype.recost} 
     162                        Wartungskosten: {shiptype.recost} RE<br /> 
     163                {/endif} 
     164                <!-- BEGIN shiptypeflags.listitem --> 
     165                        {shiptypeflag.name} {if shiptypeflag.description}<a href="#" class="forschinfo" onmouseover="return overlib('&lt;span style=\'font-size:13px\'&gt;{shiptypeflag.description}&lt;/span&gt;',TIMEOUT,0,DELAY,300,WIDTH,330);" onmouseout="return nd();"><img border="0" src="{URL}data/interface/schiffinfo/info.gif" alt="i" style="vertical-align:middle" /></a>{/endif}<br /> 
     166                <!-- END shiptypeflags.listitem --> 
     167                {if shiptype.flagschiff} 
     168                        <span style="color:#EECC44">Flagschiff</span> 
     169                        <a href="#" class="forschinfo" onmouseover="return overlib('&lt;span style=\'font-size:13px\'&gt;Ein Flagschiff ist das Zentrum einer gesamten Flotte.&lt;br /&gt;Es ist deutlich St&auml;rker als andere Schiffe. Daher darf&lt;br /&gt;jeder Spieler &lt;span style=\'text-decoration:underline\'&gt;nur ein einziges Flagschiff&lt;/span&gt; besitzen.&lt;/span&gt;',TIMEOUT,0,DELAY,300,WIDTH,330);" onmouseout="return nd();"><img border="0" src="{URL}data/interface/schiffinfo/info.gif" alt="i" style="vertical-align:middle" /></a></a> 
     170                        <br /> 
     171                {/endif} 
    168172        </td> 
    169173</tr> 
    170174<tr> 
    171         <td colspan="3" class="noBorderS"> 
     175        <td colspan="3" class="noBorderX"> 
    172176                <hr noshade="noshade" size="1" style="color:#cccccc" /> 
    173177        </td> 
     
    175179<tr> 
    176180        {if shiptype.buildable} 
    177                 <td colspan="3" valign="top" class="noBorderS"> 
     181                <td colspan="3" valign="top" class="noBorderX"> 
    178182        {else} 
    179                 <td colspan="2" valign="top" class="noBorderS"> 
     183                <td colspan="2" valign="top" class="noBorderX"> 
    180184        {/endif} 
    181         <table width="650" cellspacing="1" cellpadding="1" class="noBorder"> 
    182         <tr><td class="noBorderS"><span style="color:white">Beschreibung</span></td></tr> 
    183         <tr><td class="noBorderS">{shiptype.description}</td></tr> 
    184         </table> 
     185                <h3>Beschreibung</h3> 
     186                {shiptype.description} 
    185187        </td> 
    186 </tr></table> 
     188</tr> 
     189</table> 
     190{!table_end}