Commit fca74e8f authored by michael.simon's avatar michael.simon
Browse files

more design changes

parent 64251556
......@@ -109,4 +109,8 @@ public class GroupAdminAddLocalGroupBean implements Serializable {
public void setServiceId(Long serviceId) {
this.serviceId = serviceId;
}
public ServiceEntity getServiceEntity() {
return serviceEntity;
}
}
......@@ -199,4 +199,8 @@ public class GroupAdminEditLocalGroupBean implements Serializable {
public Boolean getSavePossible() {
return savePossible;
}
public ServiceEntity getServiceEntity() {
return serviceEntity;
}
}
......@@ -22,8 +22,8 @@
<ui:define name="content">
<h:form id="form">
<h2><h:outputText value="#{messages.group}: #{messages.add_local_group}"/></h2>
<h:form id="form" styleClass="form fancy full">
<h3><h:outputText value="#{messages.group} #{groupAdminAddLocalGroupBean.serviceEntity.name}: #{messages.add_local_group}"/></h3>
<div id="panelInline">
<p:panel header="#{messages.group}">
......
......@@ -21,9 +21,9 @@
<ui:param name="title" value="#{messages.title}"/>
<ui:define name="content">
<h:form id="form">
<h:form id="form" styleClass="form full fancy">
<h2><h:outputText value="#{messages.edit_members}: #{groupAdminEditLocalGroupBean.entity.name}"/></h2>
<h3><h:outputText value="#{messages.edit_members} #{groupAdminEditLocalGroupBean.serviceEntity.name}: #{groupAdminEditLocalGroupBean.entity.name}"/></h3>
<p:messages id="messageBox" showDetail="true" />
......
......@@ -22,11 +22,12 @@
<ui:param name="title" value="#{messages.title}"/>
<ui:define name="content">
<h:form id="form">
<h:form id="form" styleClass="form full fancy">
<h2><h:outputText value="#{messages.groups}: #{groupAdminListGroupsBean.serviceEntity.name}"/></h2>
<h3><h:outputText value="#{messages.groups}: #{groupAdminListGroupsBean.serviceEntity.name}"/></h3>
<p:dataTable id="dataTable" var="groupFlag" value="#{groupAdminListGroupsBean.groupFlagList}" paginator="true" rows="15">
<p:dataTable id="dataTable" var="groupFlag" value="#{groupAdminListGroupsBean.groupFlagList}" paginator="true"
rows="15" tableStyle="width: 100%; font-size: 1.2rem;">
<p:column>
<f:facet name="header">
<h:outputText value="#{messages.id}" />
......
......@@ -21,9 +21,9 @@
<ui:param name="title" value="#{messages.title}"/>
<ui:define name="content">
<h:form id="form">
<h:form id="form" styleClass="form full fancy">
<h2><h:outputText id="headerText" value="#{messages.local_group}: #{groupAdminShowLocalGroupBean.entity.name}"/></h2>
<h3><h:outputText id="headerText" value="#{messages.local_group} #{groupAdminShowLocalGroupBean.serviceEntity.name}: #{groupAdminShowLocalGroupBean.entity.name}"/></h3>
<p:messages id="messageBox" showDetail="true" />
......
......@@ -136,6 +136,30 @@
</div>
</li>
</h:panelGroup>
<h:panelGroup rendered="#{authorizationBean.serviceGroupAdminList.size() gt 0}">
<li class="flyout"><a href="#{request.contextPath}/index.xhtml">#{messages.group_admin}</a>
<div class="dropdown">
<ul class="navigation-l2">
<li class="has-submenu">
<a>#{messages.group_admin}</a>
<ui:repeat var="service" value="#{authorizationBean.serviceGroupAdminList}">
<div class="submenu">
<ul class="navigation-l3">
<li class="">
<h:link outcome="/service-group-admin/index.xhtml" value="#{service.name}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</li>
</ul>
</div>
</ui:repeat>
</li>
</ul>
</div>
</li>
</h:panelGroup>
<li class=""><a href="https://www.scc.kit.edu/" target="_blank">Das SCC</a></li>
<li class=""><a href="https://www.scc.kit.edu/stellen/index.php" target="_blank">Stellenangebote</a></li>
<li class="home"><a href="#{request.contextPath}/index.xhtml"><span>Startseite</span></a></li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment