]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/members/index.tt2
Move sms and hostname to settings
[ndwebbie.git] / root / src / members / index.tt2
index da11c5230c0a128135592773a97024c67598f571..8eb11a4d00b84a6be0cba184899f8b714a8beaa6 100644 (file)
        </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>
@@ -130,29 +108,6 @@ CrBs: <input type="checkbox" name="class" value="z"[% IF attackgroups.grep('z').
 </p>
 </form>
 </fieldset>
-<form action="[% c.uri_for('posthostupdate') %]" method="post">
-<fieldset class="forum-post"> <legend>Hostname</legend>
-       <p>Hostname:
-       <input style="width:25em" type="text" name="hostname" value="[% u.hostmask %]">
-       <input type="submit" value="Submit">
-       </p>
-</fieldset>
-</form>
-<form action="[% c.uri_for('postsmsupdate') %]" method="post">
-<fieldset class="forum-post"> <legend>SMS</legend>
-       <p>Number:
-       <input type="text" name="sms" value="[% u.sms %]">
-       Info to DCs: <input type="text" name="smsnote" value="[% u.sms_note | html %]">
-       </p>
-       <p>
-       Wake me up if needed:
-       <input type="checkbox" name="callme" value="TRUE"
-       [% IF u.call_if_needed %]checked[% END %]>
-       <input type="submit" value="Submit">
-       </p>
-</fieldset>
-</form>
-</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">
 <img class="graph" src="[% c.uri_for('/graphs/planetranks',c.user.planet,STICK) %]" alt="ranks for your planet" height="300" width="500">