]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/members/index.tt2
Remove most of def calls
[ndwebbie.git] / root / src / members / index.tt2
index d3f4ebcc3682ad1045de5c70fd1828c1eff03767..b166e4cfb596edfeb79b499662859f4b59ca8789 100644 (file)
@@ -38,7 +38,7 @@
                <td>[% p.x %] </td>
                <td><a href="[% c.uri_for('/stats','galaxy',p.x,p.y) %]">[% p.y %]</a></td>
                <td><a href="[% c.uri_for('/stats','planet',p.id) %]">[% p.z %]</a></td>
-               <td align="center">[% p.ruler %] <b>OF</b> [% p.planet %]</td>
+               <td align="center">[% p.ruler | html %] <b>OF</b> [% p.planet | html %]</td>
                <td align="center">[% p.race %]</td>
                [% p.sizeimg = (p.size_gain_day == 0 ? 'stay' : (p.size_gain_day > 0 ? 'up' : 'down')) %]
                <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>
        </tr>
 </table>
 [% END %]
-[% IF calls %]
-<table>
-       <tr><th>Call</th><th>Status</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>
-       [% FOR call IN calls %]
-       <tr align="center" class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
-               <td class="[% UNLESS call.dc %]Hostile[%END%]"><a href="[% c.uri_for('/calls/edit',call.call) %]">[% call.call %]</a></td>
-               <td>[% call.status %]</td>
-               <td>[% call.dc %]</td>
-               <td>[% call.landing_tick %]</td>
-               <td>[% call.race.unique.join('/') %]</td>
-               <td>[% call.amount.join('/') %]</td>
-               <td>[% call.shiptype.unique.join('/') | html %]</td>
-               <td>[% call.curreta %]</td>
-               <td>[% call.eta.unique.join('/') %]</td>
-               <td>[% FOR a IN call.attackers %]
-                       <a href="[% c.uri_for('/stats/find',a) %]">[% a %]</a>
-                       [% UNLESS loop.last %]/[%END%]
-               [%END%]</td>
-       </tr>
-       [% END %]
-</table>
-[% END %]
 <div class="leftinfo">
 <fieldset class="forum-post"> <legend>Account details</legend>
        <ul>
@@ -152,15 +130,6 @@ CrBs: <input type="checkbox" name="class" value="z"[% IF attackgroups.grep('z').
        </p>
 </fieldset>
 </form>
-[% IF c.user.planet %]
-<form action="[% c.uri_for('postfleetupdate') %]" method="post">
-<fieldset class="forum-post"> <legend>Fleet</legend>
-       <p>Paste your total fleet from ships section on overview here (do it daily to see the menus):</p>
-       <textarea rows="15" cols="50" name="fleet"></textarea>
-       <br><input type="submit" value="Submit">
-</fieldset>
-</form>
-[% END %]
 </div>
 [% IF c.user.planet %]
 <img class="graph" src="[% c.uri_for('/graphs/planetstats',c.user.planet,STICK) %]" alt="stats for your planet" height="300" width="500">