root/templates/gtuzwischenlager.html

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

Entwicklung Patch 7.09 begonnen

  • Property mode set to 100644
Line 
1 {if error.noentry}
2         {!link_to Fehler: Es wurde kein passender Handelseintrag gefunden, default, css_class:error, module:schiff, ship:$global.shipid}
3 {/endif}
4 {if error.transportown}
5         {!link_to Fehler: Sie m&uuml;ssen die Waren erst komplett bezahlen, default, css_class:error, module:schiff, ship:$global.shipid}
6 {/endif}
7 {if global.transferlist}
8         {!table_begin 500,center}
9                 Transferiere Waren<br /><br />
10                 <!-- BEGIN transferlist.res.listitem -->
11                         <img border="0" src="{res.image}"alt="" />{res.name} {res.cargo}
12                 <!-- END transferlist.res.listitem -->
13         {!table_end}
14         <br />
15         {if transferlist.backlink}
16                 <a class="back" href="./ds?module=gtuzwischenlager&sess={global.sess}&ship={global.shipid}">zur&uuml;ck</a>
17         {/endif}
18 {/endif}
19 {if global.tradelist}
20         {!table_begin 600,left}
21                 <div align="center">
22                         Handelsliste<br /><br />
23                 </div>
24                 <table class="noBorderX" width="100%">
25                 {if tradelist.list}
26                         <tr>
27                                 <td class="noBorderX">Mit</td>
28                                 <td class="noBorderX">Waren</td>
29                                 <td class="noBorderX">Noch fehlend</td>
30                                 <td class="noBorderX">Status</td>
31                         </tr>
32                 {else}
33                         <tr><td class="noBorderX" align="center">Keine Handelsvereinbarungen vorhanden</td></tr>
34                 {/endif}
35                 <!-- BEGIN tradelist.listitem -->
36                 <tr>
37                         <td class="noBorderX">
38                                 <a href="./ds?module=gtuzwischenlager&sess={global.sess}&action=viewEntry&ship={global.shipid}&entry={list.entryid}">
39                                         <span style="color:#C7C7C7;font-weight:normal">{list.user}</span>
40                                 </a>
41                         </td>
42                         <td class="noBorderX">
43                                 <a href="./ds?module=gtuzwischenlager&sess={global.sess}&action=viewEntry&ship={global.shipid}&entry={list.entryid}">
44                                         <span style="color:#C7C7C7;font-weight:normal">ansehen:
45                                         <!-- BEGIN res.listitem -->
46                                                 {if res.red}<span style="color:red">{/endif}
47                                                 <span class="nobr"><img align="middle" border="0" src="{res.image}"alt="" />{res.cargo}</span>
48                                                 {if res.red}</span>{/endif}
49                                         <!-- END res.listitem -->
50                                         </span>
51                                 </a>
52                         </td>
53                         <td class="noBorderX">
54                                 <a href="./ds?module=gtuzwischenlager&sess={global.sess}&action=viewEntry&ship={global.shipid}&entry={list.entryid}">
55                                         <span style="color:#C7C7C7;font-weight:normal">
56                                         {if list.cargoreq.list}
57                                                 {list.cargoreq.list}
58                                         {else}
59                                                 nichts
60                                         {/endif}
61                                         </span>
62                                 </a>
63                         </td>
64                         <td class="noBorderX">
65                                 {list.status}
66                         </td>
67                 </tr>
68                 <!-- END tradelist.listitem -->
69                 </table>
70         {!table_end}
71         <br />
72         {!link_to zur&uuml;ck, default, css_class:back, module:schiff, ship:$global.shipid}
73 {/endif}
74 {if global.entry}
75         {!table_begin 500,left}
76                 <div align="center">
77                         Handelseintrag<br /><br />
78                 </div>
79                 <table class="noBorderX" width="100%">
80                 <tr>
81                         <td class="noBorderX">Handelspartner</td>
82                         <td class="noBorderX">{tradeentry.partner}</td>
83                 </tr>
84                 <tr>
85                         <td class="noBorderX">Waren<br />(<span style="color:red">rot</span>=fehlend)</td>
86                         <td class="noBorderX">{tradeentry.waren}</td>
87                 </tr>
88                 {if tradeentry.missingcargo}
89                         <tr>
90                                 <td class="noBorderX">Noch fehlende Bezahlung</td>
91                                 <td class="noBorderX">{tradeentry.missingcargo}</td>
92                         </tr>
93                         <tr>
94                                 <td class="noBorderX" colspan="2" align="center">
95                                         <br />
96                                         <form action="./ds" method="post">
97                                                 {!form_create_hidden transportMissing, ship:$global.shipid, entry:$tradeentry.id}
98                                                 <input type="submit" value="Fehlende Bezahlung transferieren" />
99                                         </form>
100                                 </td>
101                         </tr>
102                 {else}
103                         <tr>
104                                 <td class="noBorderX" colspan="2" align="center">
105                                         <br />
106                                         <form action="./ds" method="post">
107                                                 {!form_create_hidden transportOwn, ship:$global.shipid, entry:$tradeentry.id}
108                                                 <input type="submit" value="Waren abholen" />
109                                         </form>
110                                 </td>
111                         </tr>
112                 {/endif}
113                 </table>
114         {!table_end}
115         <br />
116         <a style="font-size:16px" class="back" href="./ds?module=gtuzwischenlager&sess={global.sess}&ship={global.shipid}">zur&uuml;ck</a>
117 {/endif}
Note: See TracBrowser for help on using the browser.