root/templates/allylist.html

Revision ba4c53f5ef1bb4683f4126398115a978f3cf2367, 4.2 kB (checked in by Christopher Jung <bktheg@web.de>, 9 months ago)

Allianzen: Umstellung auf neue Menuestruktur

  • Property mode set to 100644
Line 
1 {if ally.message}
2         <span style="color:red">{ally.message}</span><br /><br />
3 {/endif}
4 {if allylist.showally}
5         <div style="text-align:center">
6         {!table_begin 700,left}
7                 <table class="noBorderX" width="100%">
8                 <tr>   
9                         <td class="noBorderX" style="width:75px">
10                                 <img src="{URL}data/logos/ally/{ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" />
11                                 <br />
12                                 <br />
13                         </td>   
14                         <td class="noBorderX" align="center">
15                                 <span class="smallfont">{ally.name}</span>
16                                 <br />
17                                 {if user.changerelations}
18                                         {!link_to feindlich, changeRelation, css_class:error, css_style:font-size:10px, details:$ally.id, relation:1} -
19                                         {!link_to neutral, changeRelation, css_style:font-size:10px;color:#c7c7c7, details:$ally.id, relation:0} -
20                                         {!link_to freundlich, changeRelation, css_class:ok, css_style:font-size:10px, details:$ally.id, relation:2}
21                                         {if user.allyrelationchange}
22                                                 <br />
23                                                 <span style="font-size:10px">F&uuml;r alle ihre Allianzmitglieder:</span><br />
24                                                 {!link_to feindlich, changeRelationAlly, css_class:error, css_style:font-size:10px, details:$ally.id, relation:1} -
25                                                 {!link_to neutral, changeRelationAlly, css_style:font-size:10px;color:#c7c7c7, details:$ally.id, relation:0} -
26                                                 {!link_to freundlich, changeRelationAlly, css_class:ok, css_style:font-size:10px, details:$ally.id, relation:2}
27                                         {/endif}
28                                 {/endif}
29                         </td>
30                         <td class="noBorderX" style="width:75px">
31                                 <img src="{URL}data/logos/ally/{ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" />
32                                 <br />
33                                 <br />
34                         </td>
35                 </tr>
36                 <tr>
37                         <td class="noBorderX" colspan="3">
38                                 <div style="color:#cccccc">{ally.description}<br /><br /></div>
39                         </td>
40                 </tr>
41                 </table>
42
43                 <table class="noBorderX">
44                 <tr>
45                         <td class="noBorderX" valign="top">
46                                 Gegr&uuml;ndet: {ally.founded}<br />
47                                 Gewonnene Schlachten: {ally.wonBattles}<br />
48                                 Verlorene Schlachten: {ally.lostBattles}<br />
49                                 Zerst&ouml;rte Schiffe: {ally.destroyedShips}<br />
50                                 Verlorene Schiffe: {ally.lostShips}<br />
51                                 Mitglieder: {ally.membercount}<br /><br />
52                         </td>
53                         <td class="noBorderX" style="width:50px">&nbsp;&nbsp;&nbsp;&nbsp;</td>
54                         <td class="noBorderX" valign="top">
55                                 {if ally.items.list}
56                                         Items:<br />
57                                         <!-- BEGIN ally.items.listitem -->
58                                                 <img style="vertical-align:middle" src="{res.image}" alt="" />
59                                                 {res.name}<br />
60                                         <!-- END ally.items.listitem -->
61                                 {/endif}
62                         </td>
63                 </tr>
64                 </table>
65                 <br />
66                        
67                 <table class="noBorderX" cellspacing="2" cellpadding="2">
68                         <tr>
69                                 <td class="noBorderX">
70                                         <span style="font-weight:bold">{ally.pname}:</span>
71                                 </td>
72                                 <td class="noBorderX">
73                                         {!link_to $ally.president.name, default, css_class:profile, module:userprofile, user:$ally.president.id}
74                                 </td>
75                         </tr>
76                         <!-- BEGIN ally.minister.listitem -->
77                                 <tr>
78                                         <td class="noBorderX" valign="top">{ally.minister.posten}:</td>
79                                         <td class="noBorderX">
80                                                 {!link_to $ally.minister.name, default, css_class:profile, module:userprofile, user:$ally.minister.id}<br />
81                                         </td>
82                                 </tr>
83                         <!-- END ally.minister.listitem -->
84                         {if ally.addmembers.list}
85                                 <tr>
86                                         <td class="noBorderX" valign="top">Weitere Mitglieder:</td>
87                                         <td class="noBorderX">
88                                                 <!-- BEGIN ally.addmembers.listitem -->
89                                                         {!link_to $ally.addmembers.name, default, css_class:profile, module:userprofile, user:$ally.addmembers.id}<br />
90                                                 <!-- END ally.addmembers.listitem -->   
91                                         </td>
92                                 </tr>
93                         {/endif}
94                         </table>
95                         <br />                 
96         {!table_end}
97         </div>
98 {/endif}
99 {if allylist.showlist}
100         <!-- BEGIN allylist.ally.listitem -->
101                 {!table_begin 400,center}
102                         <table class="noBorderX" width="620">
103                         <tr>
104                                 <td class="noBorderX" style="width:75px">
105                                         <img src="{URL}data/logos/ally/{allylist.ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" />
106                                         <br />
107                                         <br />
108                                 </td>
109                                 <td class="noBorderX" align="center">
110                                         <span class="smallfont">{allylist.ally.name}</span><br /><br />
111                                 </td>
112                                 <td class="noBorderX" style="width:75px">
113                                         <img src="{URL}data/logos/ally/{allylist.ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" />
114                                         <br />
115                                         <br />
116                                 </td>
117                         </tr>
118                         </table>
119                 {!table_end}
120         <!-- END allylist.ally.listitem -->
121 {/endif}
Note: See TracBrowser for help on using the browser.