Configure Maven repository for unionflow-server-api dependency
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:p="http://primefaces.org/ui">
|
||||
|
||||
<!--
|
||||
Composant colonne Actions réutilisable - DRY/WOU
|
||||
Usage :
|
||||
<ui:decorate template="/templates/components/columns/column-actions.xhtml">
|
||||
<ui:param name="width" value="220px"/>
|
||||
<ui:define name="actions">
|
||||
Boutons d'action ici (view, edit, toggle, delete, etc.)
|
||||
</ui:define>
|
||||
</ui:decorate>
|
||||
-->
|
||||
|
||||
<p:column headerText="Actions"
|
||||
styleClass="text-center"
|
||||
style="width: #{empty width ? '200px' : width};">
|
||||
<ui:insert name="actions">
|
||||
<!-- Action buttons go here -->
|
||||
</ui:insert>
|
||||
</p:column>
|
||||
</ui:composition>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:p="http://primefaces.org/ui">
|
||||
|
||||
<!--
|
||||
Composant colonne Logo réutilisable - DRY/WOU
|
||||
Usage :
|
||||
<ui:include src="/templates/components/columns/column-logo.xhtml">
|
||||
<ui:param name="logo" value="#{item.logo}"/>
|
||||
<ui:param name="size" value="40"/>
|
||||
<ui:param name="width" value="80px"/>
|
||||
</ui:include>
|
||||
-->
|
||||
|
||||
<p:column headerText="Logo"
|
||||
styleClass="text-center"
|
||||
style="width: #{empty width ? '80px' : width};">
|
||||
<ui:include src="/templates/components/layout/organisation-logo.xhtml">
|
||||
<ui:param name="logo" value="#{logo}"/>
|
||||
<ui:param name="size" value="#{empty size ? '40' : size}"/>
|
||||
</ui:include>
|
||||
</p:column>
|
||||
</ui:composition>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:p="http://primefaces.org/ui">
|
||||
|
||||
<!--
|
||||
Composant colonne Nom avec sous-titre réutilisable - DRY/WOU
|
||||
Usage :
|
||||
<ui:include src="/templates/components/columns/column-name-with-subtitle.xhtml">
|
||||
<ui:param name="headerText" value="Nom"/>
|
||||
<ui:param name="name" value="#{item.nom}"/>
|
||||
<ui:param name="subtitle" value="#{item.typeLibelle}"/>
|
||||
<ui:param name="sortBy" value="#{item.nom}"/>
|
||||
<ui:param name="filterBy" value="#{item.nom}"/>
|
||||
</ui:include>
|
||||
-->
|
||||
|
||||
<p:column headerText="#{empty headerText ? 'Nom' : headerText}"
|
||||
sortBy="#{sortBy}"
|
||||
filterBy="#{filterBy}">
|
||||
<h:outputText value="#{name}" styleClass="font-bold"/>
|
||||
<ui:fragment rendered="#{not empty subtitle}">
|
||||
<br/>
|
||||
<h:outputText value="#{subtitle}" styleClass="text-sm text-500"/>
|
||||
</ui:fragment>
|
||||
</p:column>
|
||||
</ui:composition>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:p="http://primefaces.org/ui">
|
||||
|
||||
<!--
|
||||
Composant colonne Tag réutilisable - DRY/WOU
|
||||
Usage :
|
||||
<ui:include src="/templates/components/columns/column-tag.xhtml">
|
||||
<ui:param name="headerText" value="Type"/>
|
||||
<ui:param name="value" value="#{item.typeLibelle}"/>
|
||||
<ui:param name="severity" value="info"/>
|
||||
<ui:param name="icon" value="pi pi-building"/>
|
||||
<ui:param name="sortBy" value="#{item.type}"/>
|
||||
<ui:param name="width" value="150px"/>
|
||||
</ui:include>
|
||||
-->
|
||||
|
||||
<p:column headerText="#{headerText}"
|
||||
sortBy="#{sortBy}"
|
||||
styleClass="#{empty centered or centered ? 'text-center' : ''}"
|
||||
style="#{not empty width ? 'width: ' += width : ''}">
|
||||
<p:tag value="#{value}"
|
||||
severity="#{empty severity ? 'info' : severity}"
|
||||
icon="#{icon}"/>
|
||||
</p:column>
|
||||
</ui:composition>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:p="http://primefaces.org/ui">
|
||||
|
||||
<!--
|
||||
Composant colonne Texte avec icône réutilisable - DRY/WOU
|
||||
Usage :
|
||||
<ui:include src="/templates/components/columns/column-text-with-icon.xhtml">
|
||||
<ui:param name="headerText" value="Localisation"/>
|
||||
<ui:param name="icon" value="pi pi-map-marker"/>
|
||||
<ui:param name="text" value="#{item.ville}, #{item.region}"/>
|
||||
<ui:param name="width" value="200px"/>
|
||||
</ui:include>
|
||||
-->
|
||||
|
||||
<p:column headerText="#{headerText}"
|
||||
style="#{not empty width ? 'width: ' += width : ''}">
|
||||
<ui:fragment rendered="#{not empty icon}">
|
||||
<i class="#{icon} mr-1"></i>
|
||||
</ui:fragment>
|
||||
<h:outputText value="#{text}"/>
|
||||
</p:column>
|
||||
</ui:composition>
|
||||
|
||||
Reference in New Issue
Block a user