1 [% META title = 'Intel' %]
4 <form action="[% c.uri_for('planet',p.id) %]" method="post">
5 <p>Show last <input type="text" name="ticks" value="[% showticks %]"> ticks <input type="submit" value="Show"></p>
7 <form action="[% c.uri_for('postplanetupdate',p.id) %]" method="post">
15 <td><input type="text" name="nick" value="[% p.nick %]"></td>
16 <td><input type="checkbox" name="cnick"></td>
19 <td><input type="text" name="channel" value="[% p.channel %]"></td>
20 <td><input type="checkbox" name="cchannel"></td>
22 <tr><td>Government</td>
23 <td><select name="gov">
25 <option value="[% gov %]" [% IF gov == p.gov %]selected[% END %]> [% gov %]</option>
28 <td><input type="checkbox" name="cgov"></td>
30 <tr><td>Planet status</td>
31 <td><select name="status">
32 [% FOR ps IN planetstatus %]
33 <option value="[% ps %]" [% IF ps == p.planet_status %]selected[% END %]> [% ps %]</option>
36 <td><input type="checkbox" name="cstatus"></td>
39 <td><select name="alliance">
40 [% FOR a IN alliances %]
41 <option value="[% a.id %]" [% IF a.id == p.alliance_id %]selected[% END %]> [% a.name %]</option>
44 <td><input type="checkbox" name="calliance"></td>
47 <p><input type="submit" value="Change">
51 [% IF channelusers.size > 0 %]
54 <th>Coords</th><th>Alliance</th><th>Nick</th><th>Channel</th>
56 [% FOR cu IN channelusers %]
58 <td><a href="[% c.uri_for('planet',cu.id) %]">[% cu.coords %]</a></td>
59 <td>[% cu.alliance %]</td><td>[% cu.nick %]</td><td>[% cu.channel %]</td>
66 <th>Alliance</th><th>Sender</th>
67 <th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th>
68 <th>Ingal</th><th>Reported by</th>
70 [% FOR i IN incoming %]
71 <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
72 <td>[% i.oalliance %]</td>
73 <td><a href="[% c.uri_for('planet',i.sender) %]">[% i.ocoords %]</a></td>
74 <td class="[% i.ingal ? 'ingal' : i.mission %]">[% i.mission %]</td>
75 <td align="center">[% i.landingtick %]</td>
76 <td align="center">[% i.eta %]</td>
77 <td>[% i.amount %]</td>
78 <td>[% i.ingal %]</td>
79 <td>[% i.username %]</td>
86 <th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th>
87 <th>Target</th><th>Alliance</th>
88 <th>Ingal</th><th>Reported by</th>
90 [% FOR i IN outgoing %]
91 <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
92 <td class="[% i.ingal ? 'ingal' : i.mission %]">[% i.mission %]</td>
93 <td align="center">[% i.landingtick %]</td>
94 <td align="center">[% i.eta %]</td>
95 <td>[% i.amount %]</td>
96 <td><a href="[% c.uri_for('planet',i.target) %]">[% i.tcoords %]</a></td>
97 <td>[% i.talliance %]</td>
98 <td>[% i.ingal %]</td>
99 <td>[% i.username %]</td>
105 <div class="leftinfo">
106 [% FOR post IN posts %]
107 <fieldset class="forum-post">
108 <legend class="unread:[% post.unread %]"><b>[% post.username %]</b> : [% post.time %]</legend>
113 <form action="[% c.uri_for('postplanetcomment', p.id) %]" method="post"><fieldset class="forum-post"> <legend>New Reply</legend>
114 <textarea rows="10" cols="60" name="message"></textarea>
115 <input type="submit" value="Submit">