some gui changes
This commit is contained in:
parent
12906caf39
commit
7db3af2bec
src/main/java/se/su/dsv/scipro/match/panel
@ -20,6 +20,7 @@
|
||||
<span wicket:id="researchAreaPanel"></span>
|
||||
</div>
|
||||
<div class="span-5 last append-bottom">
|
||||
<label>DO NOT TOUCH unless you know what you're doing!</label>
|
||||
<!-- <div><button wicket:id="resetBachelorButton"></button></div> -->
|
||||
<div><button wicket:id="resetAllBachelorButton">Reset all supervisor Bachelor count numbers</button></div>
|
||||
<div><button wicket:id="resetAllMasterButton">Reset all supervisor Master count numbers</button></div>
|
||||
|
@ -35,6 +35,7 @@ import se.su.dsv.scipro.match.dataobject.Availability;
|
||||
import se.su.dsv.scipro.match.dataobject.Keyword;
|
||||
import se.su.dsv.scipro.match.dataobject.KeywordType;
|
||||
import se.su.dsv.scipro.util.DateFormatter;
|
||||
import se.su.dsv.scipro.util.JavascriptEventConfirmation;
|
||||
|
||||
public class AdminManageSupervisorPanel extends Panel {
|
||||
|
||||
@ -242,6 +243,8 @@ public class AdminManageSupervisorPanel extends Panel {
|
||||
}
|
||||
};
|
||||
|
||||
resetAllBachelor.add(new JavascriptEventConfirmation("onclick", "Are you sure you want to reset all supervisors bachelor counts?"));
|
||||
|
||||
add(resetAllBachelor);
|
||||
|
||||
AjaxLink resetAllMaster = new AjaxLink("resetAllMasterButton"){
|
||||
@ -251,6 +254,8 @@ public class AdminManageSupervisorPanel extends Panel {
|
||||
}
|
||||
};
|
||||
|
||||
resetAllMaster.add(new JavascriptEventConfirmation("onclick", "Are you sure you want to reset all supervisors master counts?"));
|
||||
|
||||
add(resetAllMaster);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user