]> ruin.nu Git - ndwebbie.git/blob - templates/targetlist.tmpl
oops, guess I had forgotten about this file
[ndwebbie.git] / templates / targetlist.tmpl
1 <p><input type="button" value="Update target list"
2                 onclick = "listTargets('raids?xml=1')"/>
3 </p>
4 <TMPL_IF Targets>
5 <table>
6         <tr><th>Target</th><th>Tick</th></tr>
7         <TMPL_LOOP Targets>
8         <tr>
9                 <td><a href="check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a>
10                         <TMPL_IF Launched>*</TMPL_IF></td>
11                 <td><a href="raids?raid=<TMPL_VAR NAME=Raid>#target<TMPL_VAR NAME=Target>">
12                         <TMPL_VAR NAME=Tick></a></td>
13                 <td><TMPL_UNLESS AJAX><a href="raids?raid=<TMPL_VAR NAME=Raid>&amp;cmd=Unclaim&amp;target=<TMPL_VAR NAME=Target>&amp;wave=<TMPL_VAR NAME=Wave>" >U</a>
14                         <TMPL_ELSE>
15                                 <input type="button" value="U" class="small" onclick = 
16                                 "claim('raids?xml=1&amp;raid=<TMPL_VAR NAME=Raid>',<TMPL_VAR NAME=Target>,<TMPL_VAR NAME=Wave>,'Unclaim')"/>
17                                 <input type="button" class="small" value="<TMPL_VAR NAME=JoinName>" onclick = 
18                                 "claim('raids?xml=1&amp;raid=<TMPL_VAR NAME=Raid>',<TMPL_VAR NAME=Target>,<TMPL_VAR NAME=Wave>,'set&amp;joinable=<TMPL_VAR NAME=Joinable>')"/>
19                         </TMPL_UNLESS>
20                 </td>
21         </tr>
22         </TMPL_LOOP>
23 </table>
24 </TMPL_IF>