]> ruin.nu Git - ndwebbie.git/blobdiff - templates/calls.tmpl
Let officers see all members
[ndwebbie.git] / templates / calls.tmpl
index 07155a5650ee3c30354b6fc5adb5f722e29fcee7..0628db75318c86e0b2ec38376555c53d7ddf4833 100644 (file)
        </div>
        </TMPL_LOOP Fleets>
        </fieldset>
-       <p>Userful information. Change?<input type="checkbox" name="cinfo"/></p>
+       <fieldset><legend>Defenders</legend>
+       <TMPL_LOOP Defenders>
+       <div class="leftinfo">
+               <p>Member: <TMPL_VAR NAME=Username></p>
+               <TMPL_IF Recalled><p style="color:red;">RECALLED!</p></TMPL_IF> 
+               <table>
+                       <tr><th>Ship</th><th>Amount</th></tr>
+                       <TMPL_LOOP Ships>
+                               <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+                                       <td><TMPL_VAR NAME=Ship></td><td><TMPL_VAR NAME=Amount></td>
+                               </tr>
+                       </TMPL_LOOP>
+               </table>
+       </div>
+       </TMPL_LOOP>
+       </fieldset>
+       <p>Useful information. Change?<input type="checkbox" name="cinfo"/></p>
        <textarea rows="15" cols="80" name="info"><TMPL_VAR NAME=Info></textarea>
        <p>
                <input type="submit" name="cmd" value="Submit"/>
@@ -34,7 +50,7 @@
                <input type="submit" name="cmd" value="<TMPL_VAR NAME=Ignore> call"/>
        </p>
 </fieldset></form>
-<p>Attackers:</p>
+<fieldset><legend>Attackers:</legend>
 <form action="<TMPL_VAR NAME=PAGE>" method="post">
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <input type="hidden" name="call" value="<TMPL_VAR NAME=Call>"/>
@@ -52,7 +68,7 @@
        </tr>
        <TMPL_LOOP Attackers>
        <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
-               <td><a href="check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
+               <td><a href="/check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
                <td class="<TMPL_VAR NAME=Planet_status>"><TMPL_VAR NAME=Planet_status></td>
                <td class="<TMPL_VAR NAME=Relationship>"><TMPL_VAR NAME=Alliance> (<TMPL_VAR NAME=Relationship>)</td>
                <td><TMPL_VAR NAME=Race></td>
        <input type="submit" name="cmd" value="Change"/>
        <input type="submit" name="cmd" value="Remove"/>
        </p>
-       </form>
+</form>
+</fieldset>
 <TMPL_ELSE>
 <table>
-       <tr><th>Call</th><th>Member (def points)</th><th>Landing tick</th><th>Races</th><th>Amount</th><th>Shiptypes</th><th>Current eta</th><th>Inital eta</th><th>Alliance</th><th>Attackers</th></tr>
+       <tr><th>Call</th><th>DC</th><th>Def Fleets</th><th>Member (def points)</th><th>Landing tick</th><th>Races</th><th>Amount</th><th>Shiptypes</th><th>ETA</th><th>Alliance</th><th>Attackers</th></tr>
 <TMPL_LOOP Calls>
        <tr align="center" class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
-               <td><a href="<TMPL_VAR NAME=PAGE>?call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
-               <td class='<TMPL_VAR NAME=DefPrio>'><TMPL_VAR NAME=Coords> <TMPL_IF Id>(<TMPL_VAR NAME=Defense_points>)<TMPL_ELSE>-New Day-</TMPL_IF></td>
+               <td class="<TMPL_VAR NAME=DCSTYLE>"><a href="/<TMPL_VAR NAME=PAGE>?call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
+               <td><TMPL_VAR NAME=DC></td>
+               <td><TMPL_VAR NAME=Fleets></td>
+               <td class='<TMPL_VAR NAME=DefPrio>'><TMPL_IF Id><a href="/check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords> (<TMPL_VAR NAME=Defense_points>)</a><TMPL_ELSE>-New Day-</TMPL_IF></td>
                <td><TMPL_VAR NAME=Landing_tick></td>
                <td><TMPL_VAR NAME=Race></td>
                <td><TMPL_VAR NAME=Amount></td>
                <td><TMPL_VAR NAME=Shiptype></td>
-               <td><TMPL_VAR NAME=Curreta></td>
-               <td><TMPL_VAR NAME=Eta></td>
+               <td><TMPL_VAR NAME=Curreta> (<TMPL_VAR NAME=Eta>)</td>
                <td><TMPL_VAR NAME=Alliance></td>
                <td><TMPL_VAR NAME=Attackers></td>
        </tr>