]> ruin.nu Git - ndwebbie.git/blob - templates/calls.tmpl
minor fixes
[ndwebbie.git] / templates / calls.tmpl
1 <TMPL_IF Call>
2 <form action="/index.pl" method="post"><fieldset> <legend>Call details, call# <TMPL_VAR NAME=Call></legend>
3         <input type="hidden" name="page" value="calls"/>
4         <input type="hidden" name="call" value="<TMPL_VAR NAME=Call>"/>
5         <p>Current DC: <TMPL_VAR NAME=DC></p>
6         <p>Member: <a href="index.pl?page=check&amp;coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></p>
7         <p>Defense points: <TMPL_VAR NAME=DefensePoints></p>
8         <p>Landing at tick: <input type="text" name="tick" value="<TMPL_VAR NAME=LandingTick>"/>
9                 <input type="checkbox" name="ctick"/></p>
10         <p>ETA: <TMPL_VAR NAME=ETA></p>
11         <fieldset><legend>Member fleet</legend>
12         <TMPL_LOOP Fleets><TMPL_IF NAME=Id></TMPL_IF>
13         <div class="leftinfo">
14                 <TMPL_IF Fleetcatch><p><b>FLEETCATCH</b></p></TMPL_IF>
15                 <p>Fleet mission: <TMPL_VAR NAME=Mission>, Landing tick: <TMPL_VAR NAME=Landing_Tick>, Initial eta: <TMPL_VAR NAME=ETA>, Back: <TMPL_VAR NAME=Back></p>
16                 <table>
17                         <tr><th>Ship</th><th>Amount</th></tr>
18                         <TMPL_LOOP Ships>
19                                 <tr><td><TMPL_VAR NAME=Ship></td><td><TMPL_VAR NAME=Amount></td></tr>
20                         </TMPL_LOOP>
21                 </table>
22         </div>
23         </TMPL_LOOP Fleets>
24         </fieldset>
25         <p>Userful information. Change?<input type="checkbox" name="cinfo"/></p>
26         <textarea rows="15" cols="80" name="info"><TMPL_VAR NAME=Info></textarea>
27         <p>
28                 <input type="submit" name="cmd" value="Submit"/>
29                 <input type="submit" name="cmd" value="Take call"/>
30                 <input type="submit" name="cmd" value="<TMPL_VAR NAME=Cover> call"/>
31                 <input type="submit" name="cmd" value="<TMPL_VAR NAME=Ignore> call"/>
32         </p>
33 </fieldset></form>
34 <p>Attackers:</p>
35 <form action="index.pl" method="post">
36         <input type="hidden" name="page" value="calls"/>
37         <input type="hidden" name="call" value="<TMPL_VAR NAME=Call>"/>
38         <table>
39         <tr>
40         <th>Coords</th>
41         <th>Planet status</th>
42         <th>Alliance</th>
43         <th>Race</th>
44         <th>Initial ETA</th>
45         <th>Amount</th>
46         <th>Shiptypes</th>
47         <th>Fleet</th>
48         <th>Change/remove?</th>
49         </tr>
50         <TMPL_LOOP Attackers>
51         <tr>
52                 <td><a href="index.pl?page=check&amp;coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
53                 <td class="<TMPL_VAR NAME=Planet_status>"><TMPL_VAR NAME=Planet_status></td>
54                 <td class="<TMPL_VAR NAME=Relationship>"><TMPL_VAR NAME=Alliance> (<TMPL_VAR NAME=Relationship>)</td>
55                 <td><TMPL_VAR NAME=Race></td>
56                 <td><TMPL_VAR NAME=ETA></td>
57                 <td><TMPL_VAR NAME=Amount></td>
58                 <td><input class="coord" type="text" name="shiptype:<TMPL_VAR NAME=Id>" value="<TMPL_VAR NAME=Shiptype>"/></td>
59                 <td><TMPL_VAR NAME=Fleet></td>
60                 <td><input type="checkbox" name="change:<TMPL_VAR NAME=Id>"/></td>
61         </tr>
62         </TMPL_LOOP>
63         </table>
64         <p>
65         <input type="submit" name="cmd" value="Change"/>
66         <input type="submit" name="cmd" value="Remove"/>
67         </p>
68         </form>
69 <TMPL_ELSE>
70 <table>
71         <tr><th>Call</th><th>Member (def points)</th><th>Landing tick</th><th>Races</th><th>Amount</th><th>Shiptypes</th><th>Current eta</th><th>Inital eta</th><th>Alliance</th><th>Attackers</th></tr>
72 <TMPL_LOOP Calls>
73         <tr align="center" class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
74                 <td><a href="index.pl?page=calls&amp;call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
75                 <td><TMPL_VAR NAME=Coords> (<TMPL_VAR NAME=Defense_points>)</td>
76                 <td><TMPL_VAR NAME=Landing_tick></td>
77                 <td><TMPL_VAR NAME=Race></td>
78                 <td><TMPL_VAR NAME=Amount></td>
79                 <td><TMPL_VAR NAME=Shiptype></td>
80                 <td><TMPL_VAR NAME=Curreta></td>
81                 <td><TMPL_VAR NAME=Eta></td>
82                 <td><TMPL_VAR NAME=Alliance></td>
83                 <td><TMPL_VAR NAME=Attackers></td>
84         </tr>
85 </TMPL_LOOP>
86 </table>
87 </TMPL_IF>