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.alliance %]" [% IF a.aid == p.aid %]selected[% END %]> [% a.alliance %]</option>
44 <td><input type="checkbox" name="calliance"></td>
47 <p><input type="submit" value="Change">
51 [% IF tags.size > 0 %]
54 <th>Tag</th><th>Added by</th><th>Last added</th>
58 <td>[% t.tag %]</td><td>[% t.nicks %]</td><td>[% t.time %]</td>
64 [% IF channelusers.size > 0 %]
67 <th>Coords</th><th>Alliance</th><th>Nick</th><th>Channel</th>
69 [% FOR cu IN channelusers %]
71 <td><a href="[% c.uri_for('planet',cu.id) %]">[% cu.coords %]</a></td>
72 <td>[% cu.alliance %]</td><td>[% cu.nick %]</td><td>[% cu.channel %]</td>
79 <th>Alliance</th><th>Sender</th>
80 <th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th>
81 <th>Ingal</th><th>Reported by</th>
83 [% FOR i IN incoming %]
84 <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
85 <td>[% i.salliance %]</td>
86 <td><a href="[% c.uri_for('planet',i.sender) %]">[% i.scoords %]</a></td>
87 <td class="[% i.ingal ? 'ingal' : i.mission %]">[% i.mission %]</td>
88 <td align="center">[% i.landingtick %]</td>
89 <td align="center">[% i.eta %]</td>
90 <td>[% i.amount %]</td>
91 <td>[% i.ingal %]</td>
92 <td>[% i.username %]</td>
99 <th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th>
100 <th>Target</th><th>Alliance</th>
101 <th>Ingal</th><th>Reported by</th>
103 [% FOR i IN outgoing %]
104 <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
105 <td class="[% i.ingal ? 'ingal' : i.mission %]">[% i.mission %]</td>
106 <td align="center">[% i.landingtick %]</td>
107 <td align="center">[% i.eta %]</td>
108 <td>[% i.amount %]</td>
109 <td><a href="[% c.uri_for('planet',i.target) %]">[% i.tcoords %]</a></td>
110 <td>[% i.talliance %]</td>
111 <td>[% i.ingal %]</td>
112 <td>[% i.username %]</td>
118 <div class="leftinfo">
119 [% FOR post IN posts %]
120 <fieldset class="forum-post">
121 <legend class="unread:[% post.unread %]"><b>[% post.username %]</b> : [% post.time %]</legend>
126 <form action="[% c.uri_for('postplanetcomment', p.id) %]" method="post"><fieldset class="forum-post"> <legend>New Reply</legend>
127 <textarea rows="10" cols="60" name="message"></textarea>
128 <input type="submit" value="Submit">