| | 171 | |
|---|
| | 172 | <hr noshade="noshade" size="1" style="color:#cccccc;width:80%" /> |
|---|
| | 173 | |
|---|
| | 174 | <table class="noBorderX" cellpadding="2" cellspacing="1" style="margin-left:auto;margin-right:auto"> |
|---|
| | 175 | <tr> |
|---|
| | 176 | <th style="text-align:center" colspan="3"><h3>Baukosten</h3></th> |
|---|
| | 177 | </tr> |
|---|
| | 178 | <tr> |
|---|
| | 179 | <td class="noBorderX" style="width:32px"></td> |
|---|
| | 180 | <td class="noBorderX" style="width:100px;text-align:right">Vorhanden</td> |
|---|
| | 181 | <td class="noBorderX" style="width:100px;text-align:right">Sofort</td> |
|---|
| | 182 | </tr> |
|---|
| | 183 | <!-- BEGIN build.res.listitem --> |
|---|
| | 184 | <tr> |
|---|
| | 185 | <td class="noBorderX" style="width:20px"> |
|---|
| | 186 | <img src="{res.image}" alt="" title="{res.plainname}" /> |
|---|
| | 187 | </td> |
|---|
| | 188 | <td class="noBorderX" style="width:100px;text-align:right">{res.cargo.available}</td> |
|---|
| | 189 | <td class="noBorderX" style="width:100px;text-align:right"> |
|---|
| | 190 | {if res.cargo.mangel} |
|---|
| | 191 | <a class="error" onmouseover="return overlib('<span style=\'font-size:13px\'>Mehrbedarf:<br />{res.cargo.mangel} Einheiten</span>',TIMEOUT,0,DELAY,300,WIDTH,100);" onmouseout="return nd();" href="#"> |
|---|
| | 192 | {/endif} |
|---|
| | 193 | {res.cargo.needed} |
|---|
| | 194 | {if res.cargo.mangel} |
|---|
| | 195 | </a> |
|---|
| | 196 | {/endif} |
|---|
| | 197 | </td> |
|---|
| | 198 | </tr> |
|---|
| | 199 | <!-- END build.res.listitem --> |
|---|
| | 200 | <tr><td class="noBorderX" colspan="3"></td></tr> |
|---|
| | 201 | <tr> |
|---|
| | 202 | <th style="text-align:center" colspan="3"><h3>Werftkapazität</h3></th> |
|---|
| | 203 | </tr> |
|---|
| | 204 | |
|---|
| | 205 | {build.othercosts.list} |
|---|
| | 206 | |
|---|
| | 207 | </table> |
|---|
| | 208 | <br /> |
|---|
| | 209 | |
|---|
| | 210 | <hr noshade="noshade" size="1" style="color:#cccccc;width:80%" /> |
|---|
| | 211 | <h3>Aktionen</h3> |
|---|
| | 212 | <div style="margin-top:3px; margin-bottom:3px"> |
|---|
| | 213 | {if build.error} |
|---|
| | 214 | <span class="error">{build.error}</span> |
|---|
| | 215 | {else} |
|---|
| | 216 | {if build.conf} |
|---|
| | 217 | <a class="ok" href="{werftgui.urlbase}&sess={global.sess}&build={build.id}&item={build.item.id}&conf=ok">{build.type.name} bauen</a> |
|---|
| | 218 | {else} |
|---|
| | 219 | <span class="ok">genügend Material vorhanden - beginne Bau</span> |
|---|
| | 220 | {/endif} |
|---|
| | 221 | {/endif} |
|---|
| | 222 | </div> |
|---|
| | 223 | <hr noshade="noshade" size="1" style="color:#cccccc; width:10%" /> |
|---|
| | 224 | <a class="ok" href="{werftgui.urlbase}&sess={global.sess}">zurück</a><br /> |
|---|
| 172 | | <br /> |
|---|
| 173 | | Baukosten:<br /> |
|---|
| 174 | | <!-- BEGIN build.res.listitem --> |
|---|
| 175 | | <img src="{res.image}" alt="" title="{res.plainname}" />{res.cargo.available} vorhanden - <img src="{res.image}" alt="" />{res.cargo.needed} benötigt |
|---|
| 176 | | {if res.cargo.mangel} |
|---|
| 177 | | - <img src="{res.image}" alt="" title="{res.plainname}" /><span style="color:red">{res.cargo.mangel}</span> fehlen |
|---|
| 178 | | {/endif} |
|---|
| 179 | | <br /> |
|---|
| 180 | | <!-- END build.res.listitem --> |
|---|
| 181 | | <br /> |
|---|
| 182 | | Energie- und Personalbedarf:<br /> |
|---|
| 183 | | {build.othercosts.list} |
|---|
| 184 | | |
|---|
| 185 | | {if build.error} |
|---|
| 186 | | <br /> |
|---|
| 187 | | <div align="center"> |
|---|
| 188 | | <span style="color:red">{build.error}</span> |
|---|
| 189 | | </div> |
|---|
| 190 | | <br /> |
|---|
| 191 | | {else} |
|---|
| 192 | | {if build.conf} |
|---|
| 193 | | <br /> |
|---|
| 194 | | <div align="center"> |
|---|
| 195 | | <a class="ok" href="{werftgui.urlbase}&sess={global.sess}&build={build.id}&item={build.item.id}&conf=ok">{build.type.name} bauen</a> |
|---|
| 196 | | </div> |
|---|
| 197 | | {else} |
|---|
| 198 | | <br /> |
|---|
| 199 | | <div align="center"> |
|---|
| 200 | | <span style="font-weight:bold;color:green;">genügend Material vorhanden - beginne Bau</span> |
|---|
| 201 | | </div> |
|---|
| 202 | | <br /> |
|---|
| 203 | | {/endif} |
|---|
| 204 | | {/endif} |
|---|
| 205 | | |
|---|
| 206 | | {!table_end} |
|---|
| 207 | | <br /> |
|---|
| 208 | | <a class="back" href="{werftgui.urlbase}&sess={global.sess}">Zurück</a><br /> |
|---|
| | 226 | {!table_end} |
|---|