1 [% META title = 'Main' %]
4 [% FOR a IN announcements %]
5 <tr class="[% loop.count % 2 ? 'even' : 'odd' %]">
6 <td align="center">[% a.unread %]</td>
7 <td align="center">[% a.posts %]</td>
8 <td[% IF a.sticky %] class="sticky"[% END %]><a href="[% c.uri_for('/forum/thread',a.ftid) %]"> [% a.subject %] </a></td>
9 <td align="left">[% a.posting_date %]</td>
10 <td align="center">[% a.username %]</td>
11 <td align="left">[% a.last_post %]</td>
16 [% IF c.user.planet %]
17 <img class="graph" src="[% c.uri_for('/graphs/planetvsnd',c.user.planet,STICK) %]" alt="Your planet vs ND avg" height="300" width="500">
19 <div class="clear"></div>
23 <tr align="center"><th colspan="4">Rank</th>
25 <tr><th>Size</th><th>Score</th><th>Value</th><th>XP</th><th>X</th><th>Y</th><th>Z</th><th>Planet</th><th>Race</th><th>Size</th><th>Score</th><th>Value</th>
29 [% p.sizerankimg = (p.sizerank_gain_day == 0 ? 'stay' : (p.sizerank_gain_day < 0 ? 'up' : 'down')) %]
30 <td title="[% p.sizerank_gain_day %] Today | [% p.sizerank_gain %] Tick">[% p.sizerank %] <img src="/static/images/[% p.sizerankimg %].png" alt="[% p.sizerankimg %]"> </td>
31 [% p.scorerankimg = (p.scorerank_gain_day == 0 ? 'stay' : (p.scorerank_gain_day < 0 ? 'up' : 'down')) %]
32 <td title="[% p.scorerank_gain_day %] Today | [% p.scorerank_gain %] Tick">[% p.scorerank %] <img src="/static/images/[% p.scorerankimg %].png" alt="[% p.scorerankimg %]"> </td>
33 [% p.valuerankimg = (p.valuerank_gain_day == 0 ? 'stay' : (p.valuerank_gain_day < 0 ? 'up' : 'down')) %]
34 <td title="[% p.valuerank_gain_day %] Today | [% p.valuerank_gain %] Tick">[% p.valuerank %] <img src="/static/images/[% p.valuerankimg %].png" alt="[% p.valuerankimg %]"> </td>
35 [% p.xprankimg = (p.xprank_gain_day == 0 ? 'stay' : (p.xprank_gain_day < 0 ? 'up' : 'down')) %]
36 <td title="[% p.xprank_gain_day %] Today | [% p.xprank_gain %] Tick">[% p.xprank %] <img src="/static/images/[% p.xprankimg %].png" alt="[% p.xprankimg %]"> </td>
39 <td><a href="[% c.uri_for('/stats','galaxy',p.x,p.y) %]">[% p.y %]</a></td>
40 <td><a href="[% c.uri_for('/stats','planet',p.id) %]">[% p.z %]</a></td>
41 <td align="center">[% p.ruler %] <b>OF</b> [% p.planet %]</td>
42 <td align="center">[% p.race %]</td>
43 [% p.sizeimg = (p.size_gain_day == 0 ? 'stay' : (p.size_gain_day > 0 ? 'up' : 'down')) %]
44 <td title="[% p.size_gain_day %] Today | [% p.size_gain %] Tick">[% p.size | commify %] <img src="/static/images/[% p.sizeimg %].png" alt="[% p.sizeimg %]"> </td>
45 [% p.scoreimg = (p.score_gain_day == 0 ? 'stay' : (p.score_gain_day > 0 ? 'up' : 'down')) %]
46 <td title="[% p.score_gain_day | commify %] Today | [% p.score_gain | commify %] Tick">[% p.score | commify %] <img src="/static/images/[% p.scoreimg %].png" alt="[% p.scoreimg %]"> </td>
47 [% p.valueimg = (p.value_gain_day == 0 ? 'stay' : (p.value_gain_day > 0 ? 'up' : 'down')) %]
48 <td title="[% p.value_gain_day | commify %] Today | [% p.value_gain | commify %] Tick">[% p.value | commify %] <img src="/static/images/[% p.valueimg %].png" alt="[% p.valueimg %]"> </td>
49 [% p.xpimg = (p.xp_gain_day == 0 ? 'stay' : (p.xp_gain_day > 0 ? 'up' : 'down')) %]
50 <td title="[% p.xp_gain_day | commify %] Today | [% p.xp_gain | commify %] Tick">[% p.xp | commify %] <img src="/static/images/[% p.xpimg %].png" alt="[% p.xpimg %]"> </td>
56 <tr><th>Call</th><th>DC</th><th>Landing tick</th><th>Races</th><th>Amount</th><th>Shiptypes</th><th>Current eta</th><th>Inital eta</th><th>Attackers</th></tr>
57 [% FOR call IN calls %]
58 <tr align="center" class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
59 <td class="[% UNLESS call.dc %]Hostile[%END%]"><a href="[% c.uri_for('/calls/edit',call.id) %]">[% call.id %]</a></td>
60 <td>[% call.dc %]</td>
61 <td>[% call.landing_tick %]</td>
62 <td>[% call.race.unique.join('/') %]</td>
63 <td>[% call.amount.join('/') %]</td>
64 <td>[% call.shiptype.unique.join('/') | html %]</td>
65 <td>[% call.curreta %]</td>
66 <td>[% call.eta.unique.join('/') %]</td>
67 <td>[% FOR a IN call.attackers %]
68 <a href="[% c.uri_for('/stats/find',a) %]">[% a %]</a>
69 [% UNLESS loop.last %]/[%END%]
75 <div class="leftinfo">
76 <fieldset class="forum-post"> <legend>Account details</legend>
78 <li> ND rank (by score): [% u.rank %] </li>
79 <li> Defense points: [% u.defense_points %] </li>
80 <li> Attack points: [% u.attack_points %] </li>
81 <li> Scan points: [% u.scan_points %] </li>
82 <li> Humor points: [% u.humor_points %] </li>
83 <li> Total points: [% u.total_points %] </li>
84 <li> Member of the following groups: [% groups.join(',') %]</li>
88 <fieldset class="forum-post"> <legend>Fleets</legend>
89 <form action="[% c.uri_for('postfleetsupdates') %]" method="post">
91 <tr><td></td><th>Target</th><th>Mission</th><th>Amount</th><th>Landing Tick</th><th>Back home</th><th>change?</th></tr>
93 <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
94 <td><input type="button" onclick="$('#fleet[% f.fid %]').toggle()" value="⇓" title="Show fleets"></td>
95 <td>[% IF f.target %]<a href="[% c.uri_for('/stats/planet',f.target) %]">[% f.coords %]</a>[% END %]</td>
96 <td>[% f.mission %]</td>
97 <td>[% f.amount %]</td><td>[% f.tick %]</td>
98 <td>[% IF f.back %]<input style="width:5em" type="text" name="back:[% f.fid %]" value="[% f.back %]">[% END %]</td>
99 <td>[% IF f.back %]<input type="checkbox" name="change:[% f.fid %]">[% END %]</td>
101 <tr id="fleet[% f.fid %]" class="hidden">
103 <td colspan="5"><table>
104 [% FOR s IN f.ships %]
105 <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
106 <td>[% s.ship %]</td><td>[% s.amount %]</td>
114 <input type="submit" name="cmd" value="Change Fleets">
115 <input type="submit" name="cmd" value="Recall Fleets">
119 <form action="[% c.uri_for('posthostupdate') %]" method="post">
120 <fieldset class="forum-post"> <legend>Hostname</legend>
122 <input style="width:25em" type="text" name="hostname" value="[% u.hostmask %]">
123 <input type="submit" value="Submit">
127 <form action="[% c.uri_for('postsmsupdate') %]" method="post">
128 <fieldset class="forum-post"> <legend>SMS</legend>
130 <input type="text" name="sms" value="[% u.sms %]">
131 Info to DCs: <input type="text" name="smsnote" value="[% u.sms_note | html %]">
134 Wake me up if needed:
135 <input type="checkbox" name="callme" value="TRUE"
136 [% IF u.call_if_needed %]checked[% END %]>
137 <input type="submit" value="Submit">
141 [% IF c.user.planet %]
142 <form action="[% c.uri_for('postfleetupdate') %]" method="post">
143 <fieldset class="forum-post"> <legend>Fleet</legend>
144 <p>Paste your total fleet from ships section on overview here (do it daily to see the menus):</p>
145 <textarea rows="15" cols="50" name="fleet"></textarea>
146 <br><input type="submit" value="Submit">
151 [% IF c.user.planet %]
152 <img class="graph" src="[% c.uri_for('/graphs/planetstats',c.user.planet,STICK) %]" alt="stats for your planet" height="300" width="500">
153 <img class="graph" src="[% c.uri_for('/graphs/planetranks',c.user.planet,STICK) %]" alt="ranks for your planet" height="300" width="500">