root/templates/basen.html

Revision 3924571cbcbb46f262ef7a841ae1b4111999d308, 4.1 kB (checked in by Christopher Jung <bktheg@web.de>, 1 year ago)

Entwicklung Patch 7.09 begonnen

  • Property mode set to 100644
Line 
1 <!--
2         Drifting Souls 2
3         Copyright (c) 2006 Christopher Jung
4        
5         This library is free software; you can redistribute it and/or
6         modify it under the terms of the GNU Lesser General Public
7         License as published by the Free Software Foundation; either
8         version 2.1 of the License, or (at your option) any later version.
9  
10         This library is distributed in the hope that it will be useful,
11         but WITHOUT ANY WARRANTY; without even the implied warranty of
12         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13         Lesser General Public License for more details.
14  
15         You should have received a copy of the GNU Lesser General Public
16         License along with this library; if not, write to the Free Software
17         Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18 -->
19 <div style="color:#ff0505">Asteroidenbasen<br /></div>
20 <table class="show" width="95%" cellpadding="3" cellspacing="2">
21 <tr>
22         <td class="schiffData">
23                 <a class="forschinfo" href="./ds?module=basen&amp;sess={global.sess}&amp;ord=id&amp;l={global.l}&amp;order={if global.omode > 0}-1{else}1{/endif}">ID</a>
24         </td>
25         <td class="schiffData">
26                 <a class="forschinfo" href="./ds?module=basen&amp;sess={global.sess}&amp;ord=name&amp;l={global.l}&amp;order={if global.omode > 0}-1{else}1{/endif}">Name</a>
27         </td>
28         <td class="schiffData">
29                 <a class="forschinfo" href="./ds?module=basen&amp;sess={global.sess}&amp;ord=sys&amp;l={global.l}&amp;order={if global.omode > 0}-1{else}1{/endif}">Koordinaten</a>
30         </td>
31         <td class="schiffData">
32                 <a class="forschinfo" href="./ds?module=basen&amp;sess={global.sess}&amp;ord=bew&amp;l={global.l}&amp;order={if global.omode > 0}-1{else}1{/endif}">Bewohner</a>
33         </td>
34         <td class="schiffData">
35                 <a class="forschinfo" href="./ds?module=basen&amp;sess={global.sess}&amp;ord=e&amp;l={global.l}&amp;order={if global.omode > 0}-1{else}1{/endif}">Energie</a>
36         </td>
37         <td class="schiffData"><span class="nobr">Mangel [<img style="vertical-align:middle" src="{URL}data/interface/time.gif" alt="" />]</span></td>
38         <td class="schiffData" style="width:35%">
39                 Lager
40                 {if global.l > 0}
41                         <a class="forschinfo" href="./ds?module=basen&amp;sess={global.sess}&amp;l=-1"><span style="font-size:8pt">(nicht anzeigen)</span></a>
42                 {else}
43                         <a class="forschinfo" href="./ds?module=basen&amp;sess={global.sess}&amp;l=1"><span style="font-size:8pt">(anzeigen)</span></a>
44                 {/endif}
45         </td>
46         <td class="schiffData">Spezialgeb&auml;ude</td>
47 </tr>
48 <!-- BEGIN bases.listitem -->
49         <tr>
50                 <td class="schiffData">
51                         {!link_to $base.id, default, module:base, col:$base.id}
52                 </td>
53                 <td class="schiffData">
54                         <a class="forschinfo" href="./ds?module=base&amp;sess={global.sess}&amp;col={base.id}">
55                                 <img style="vertical-align:middle; border:0px" src="{URL}data/starmap/kolonie{base.klasse}_lrs/kolonie{base.klasse}_lrs.png" alt="Kolonie" />&nbsp;
56                                 {base.name}
57                         </a>
58                 </td>
59                 <td class="schiffData">{base.system}:{base.x}/{base.y}</td>
60                 <td class="schiffData">{base.bewohner}</td>
61                 <td class="schiffData">
62                         {if base.e.diff < 0}
63                                 <span style="color:red">{base.e}-{base.e.diff}
64                         {/endif}
65                         {if base.e.diff == 0}
66                                 <span style="color:yellow">{base.e}
67                         {/endif}
68                         {if base.e.diff > 0}
69                                 <span style="color:green">{base.e}+{base.e.diff}
70                         {/endif}
71                         </span>
72                 </td>
73                 <td class="schiffData">
74                         <span style="color:red">
75                                 <!-- BEGIN bases.mangel.listitem -->
76                                         <span class="nobr"><img style="vertical-align:middle" src="{mangel.image}" alt="" title="{mangel.plainname}" />{mangel.rounds}</span>
77                                 <!-- END bases.mangel.listitem -->
78                         </span>
79                 </td>
80                 <td class="schiffData" style="width:35%">
81                         {if global.l > 0}
82                                 <!-- BEGIN bases.cargo.listitem -->
83                                         <span class="nobr"><img style="vertical-align:middle" src="{res.image}" alt="" title="{res.plainname}" />{res.cargo}</span>
84                                 <!-- END bases.cargo.listitem -->
85                                 <span class="nobr"><img style="vertical-align:middle" src="{URL}data/interface/leer.gif" alt="" title="Leer" />{bases.cargo.empty}</span>
86                         {else}
87                                 {!link_to (anzeigen), default, css_style:font-size:8pt, l:1}
88                         {/endif}
89                 </td>
90                 <td class="schiffData">
91                         {base.shortcuts}
92                 </td>
93         </tr>
94 <!-- END bases.listitem -->
95 </table>
Note: See TracBrowser for help on using the browser.