SEBSERV-189

This commit is contained in:
anhefti 2022-06-16 17:03:57 +02:00
parent 48cd54ae70
commit f1560dc8c6
5 changed files with 11 additions and 21 deletions

View file

@ -31,8 +31,11 @@ public enum ActionCategory {
"sebserver.monitoring.exam.connection.notificationlist.actions"),
1),
EXAM_MONITORING_2(new LocTextKey(
"sebserver.monitoring.exam.connection.selected.actions"), 2),
EXAM_MONITORING_3(null, 3),
"sebserver.monitoring.exam.connection.actions.group2"),
2),
EXAM_MONITORING_3(new LocTextKey(
"sebserver.monitoring.exam.connection.actions.group3"),
3),
CLIENT_EVENT_LIST(new LocTextKey("sebserver.monitoring.exam.connection.list.actions"), 1),
LOGS_USER_ACTIVITY_LIST(new LocTextKey("sebserver.userlogs.list.actions"), 1),
LOGS_SEB_CLIENT_LIST(new LocTextKey("sebserver.userlogs.list.actions"), 1),

View file

@ -806,7 +806,7 @@ public enum ActionDefinition {
new LocTextKey("sebserver.monitoring.exam.connection.action.instruction.quit.all"),
ImageIcon.SEND_QUIT,
PageStateDefinitionImpl.MONITORING_RUNNING_EXAM,
ActionCategory.FORM),
ActionCategory.EXAM_MONITORING_2),
MONITOR_EXAM_LOCK_SELECTED(
new LocTextKey("sebserver.monitoring.exam.connection.action.instruction.lock.selected"),
ImageIcon.LOCK,

View file

@ -238,6 +238,9 @@ public class ActionPane implements TemplateComposer {
CustomVariant.TEXT_H3,
category.title);
final GridData titleLayout = new GridData(SWT.FILL, SWT.TOP, true, false);
if (" ".equals(this.pageService.getI18nSupport().getText(category.title))) {
titleLayout.heightHint = 6;
}
actionsTitle.setLayoutData(titleLayout);
}

View file

@ -506,23 +506,6 @@ public class MonitoringRunningExam implements TemplateComposer {
return action;
}
// private PageAction lockSEBClients(
// final PageAction action,
// final ClientConnectionTable clientTable,
// final boolean all) {
//
// this.instructionProcessor.propagateSEBLockInstruction(
// clientTable.getExam().getModelId(),
// statesPredicate -> clientTable.getConnectionTokens(
// statesPredicate,
// !all),
// action.pageContext());
//
// clientTable.removeSelection();
// clientTable.forceUpdateAll();
// return action;
// }
private PageAction disableSEBClients(
final PageAction action,
final ClientConnectionTable clientTable,

View file

@ -1899,7 +1899,8 @@ sebserver.monitoring.exam.connection.action.proctoring.examroom=Exam Room Procto
sebserver.monitoring.exam.connection.action.openTownhall.confirm=You are about to open the town-hall room and force all SEB clients to join the town-hall room.<br/>Are you sure to open the town-hall?
sebserver.monitoring.exam.connection.action.closeTownhall.confirm=You are about to close the town-hall room and force all SEB clients to join it's proctoring room.<br/>Are you sure to close the town-hall?
sebserver.monitoring.exam.connection.action.singleroom.confirm=You are about to open the single/one to one room for this participant.<br/>Are you sure you want to open the single room?
sebserver.monitoring.exam.connection.selected.actions=&nbsp;
sebserver.monitoring.exam.connection.actions.group2=&nbsp;
sebserver.monitoring.exam.connection.actions.group3=&nbsp;
sebserver.monitoring.exam.connection.notificationlist.actions=
sebserver.monitoring.exam.connection.action.confirm.notification=Confirm Notification