]> ruin.nu Git - ndwebbie.git/blob - templates/targetlist.tmpl
3a2e6e0c5d3e146c2d5abcdf0f3a24cd79395723
[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><TMPL_IF Launched>*</TMPL_IF></a></td>
10                 <td><a href="/raids?raid=<TMPL_VAR NAME=Raid>#target<TMPL_VAR NAME=Target>">
11                         <TMPL_VAR NAME=Tick></a></td>
12                 <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>
13                         <TMPL_ELSE>
14                                 <input title="Unclaim target" type="button" value="U" class="small" onclick = 
15                                 "claim('/raids?xml=1&amp;raid=<TMPL_VAR NAME=Raid>',<TMPL_VAR NAME=Target>,<TMPL_VAR NAME=Wave>,'Unclaim')"/>
16                                 <input title="<TMPL_VAR NAME=JoinableTitle>" type="button" class="small" value="<TMPL_VAR NAME=JoinName>" onclick = 
17                                 "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>')"/>
18                         </TMPL_UNLESS>
19                 </td>
20         </tr>
21         </TMPL_LOOP>
22 </table>
23 </TMPL_IF>