forked from science-ation/science-ation
move the "add judges to new team" button to the top instead odf the bottom of the teams list
This commit is contained in:
parent
ffd0f36e13
commit
f5ec84a499
@ -195,6 +195,23 @@ function delbuttonclicked(team_id,team_num,judge)
|
||||
}
|
||||
//echo nl2br(print_r($teams,true));
|
||||
|
||||
if($lastteamnum==-1) $newteamid=1;
|
||||
else $newteamid=$lastteamnum+1;
|
||||
|
||||
|
||||
echo "<table>";
|
||||
echo "<tr><td valign=top>";
|
||||
echo "<input onclick=\"addbuttonclicked('$newteamid')\" type=\"button\" value=\"Add >>\">";
|
||||
echo "</td><td>";
|
||||
|
||||
echo "<table>";
|
||||
echo "<tr><th align=\"left\">New Team #$newteamid</th></tr>";
|
||||
echo "</table>";
|
||||
|
||||
echo "</td></tr></table>";
|
||||
|
||||
|
||||
|
||||
foreach($teams AS $team)
|
||||
{
|
||||
|
||||
@ -223,22 +240,6 @@ function delbuttonclicked(team_id,team_num,judge)
|
||||
}
|
||||
|
||||
|
||||
if($lastteamnum==-1) $newteamid=1;
|
||||
else $newteamid=$lastteamnum+1;
|
||||
|
||||
|
||||
|
||||
|
||||
echo "<table>";
|
||||
echo "<tr><td valign=top>";
|
||||
echo "<input onclick=\"addbuttonclicked('$newteamid')\" type=\"button\" value=\"Add >>\">";
|
||||
echo "</td><td>";
|
||||
|
||||
echo "<table>";
|
||||
echo "<tr><th align=\"left\">New Team #$newteamid</th></tr>";
|
||||
echo "</table>";
|
||||
|
||||
echo "</td></tr></table>";
|
||||
|
||||
echo "</td></tr>";
|
||||
echo "</table>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user