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

change rest layout xhtml of index page

parent ed156edb
......@@ -126,34 +126,30 @@
</ui:repeat>
</h:panelGroup>
<p:panel style="margin-top: 12px;">
<div style="margin-top: 4px;">
<h:outputText value="#{messages.index_text3}" />
</div>
<div>
<h:outputText value="#{messages.index_text3}" class="full" />
<ui:repeat var="service" value="#{authorizationBean.unregisteredServiceList}">
<div class="serviceBlock">
<div class="serviceBlockHeader">
<h:outputText value="#{service.name}" />
</div>
<div class="news-element third">
<h:outputText value="#{service.name}" class="headline"/>
<h:panelGroup rendered="#{service.image != null}">
<div class="serviceBlockImage">
<p:graphicImage
value="#{request.contextPath}/rest/image/icon/#{service.image.id}" />
</div>
<figure>
<picture>
<p:graphicImage value="#{request.contextPath}/rest/image/icon/#{registry.service.image.id}" />
</picture>
</figure>
</h:panelGroup>
<div class="serviceBlockDesc">
<p>
<h:outputText value="#{service.shortDescription}" />
<br />
<h:outputText value="#{userIndexBean.getServiceAccessStatus(registry.service)}" />
</div>
<div class="serviceBlockLink">
</p>
<div>
<span class="ui-icon ui-icon-script" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service/index.xhtml" value="#{messages.service_desc}">
<f:param name="serviceId" value="#{service.id}" />
</h:link>
</div>
<div class="serviceBlockLink">
<div>
<span class="ui-icon ui-icon-carat-1-e" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/user/register-service.xhtml" value="#{messages.register}">
<f:param name="serviceId" value="#{service.id}" />
......@@ -161,12 +157,8 @@
</div>
</div>
</ui:repeat>
</div>
<div style="margin-top: 8px;">
<h:outputText value="#{messages.index_text4}" />
</div>
</p:panel>
<h:outputText value="#{messages.index_text4}" class="full" />
</ui:define>
</ui:composition>
......
......@@ -42,7 +42,7 @@
}
.col-width-1 {
width: 150px;
width: 200px;
}
.col-width-2 {
......
Supports Markdown
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