From: Roland Häder Date: Wed, 13 Sep 2017 21:31:24 +0000 (+0200) Subject: WIP - Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=67dac9aa603d01c02898367b54107b6c0125c356;p=pizzaservice-war.git WIP - Please cherry-pick: - started proting to PrimeFaces 6.0 - PF theme "bootstrap" is now the theme - mobile provider list in admin area should be now ported - removed many own CSS as it conflicted with jQuery UI, still tons of to go - added more i18n strings for empty lists - replaced all h:commandButton -> p:commandButton - replaced all h:link -> p:link - admin menu is now rewritten in PF (still looking a little messy) - replaced h:dataTable -> p:dataTable and also h:column -> p:column (belongs together) - widgets:outputMessageBox is no longer needed as p:dataTable has "emptyMessage" attribute for this - if you have p:dataExporter, also use p:commandButton - added missing admin_country_links.tpl (custom JSF tag) - replaced h:message[s] -> p:message[p] - finally found a way of getting rid of project name in base.tpl, thanks to the people at stackoverflow - widgets:outputMessageBox now accepts common "id", was required for "for" attribute - f:view seem to be self-closing? - added f:facet and more meta tags for upcoming responsive - used a bit pm (PF mobile) - now will use p:growl instead of main h:messages in base.tpl - also added AJAX exception handler and p:dialog (does it work?) - everthing else I oversaw/forgot Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 7e0d0b61..7ec068e7 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -523,8 +523,10 @@ ADMIN_EXPORT_USERS_TIMEOUT_WARNING=Bei sehr gro\u00dfen Datenmengen kann es even BUTTON_ADMIN_EXPORT_USERS_XLS=Benutzerdaten als Excel-Datei LINK_ADMIN_EXPORT_CONTACT=Daten exportieren LINK_ADMIN_EXPORT_CONTACT_TITLE=Kontaktdaten exportieren -ADMIN_CONTACT_LIST_EMPTY=Keine Kontaktdaten in Datenbank gefunden. -ADMIN_USER_LIST_EMPTY=Keine Benutzerdaten in Datenbank gefunden. +#@TODO Please fix German umlauts! +ADMIN_CONTACT_LIST_EMPTY=Keine Kontaktdaten in Datenbank gefunden. Oder Ihre Suche ergab keine Uebereinstimmungen. +#@TODO Please fix German umlauts! +ADMIN_USER_LIST_EMPTY=Keine Benutzerdaten in Datenbank gefunden. Oder Ihre Suche ergab keine Uebereinstimmungen. ADMIN_PERSONAL_DATA_COMMENT=Kommentar: (optional) PAGE_TITLE_USER_RESEND_DONE=Neuen Best\u00e4tigungslink verschickt CONTENT_TITLE_USER_RESEND_DONE=Neuen Best\u00e4tigungslink verschickt: @@ -784,7 +786,7 @@ PAGE_TITLE_ADMIN_LIST_BASIC_COMPANY_DATA=Stammdaten auflisten #@TODO Please fix German umlauts! CONTENT_TITLE_ADMIN_LIST_BASIC_COMPANY_DATA=Auflisten von Stammdaten #@TODO Please fix German umlauts! -ADMIN_BASIC_COMPANY_DATA_LIST_EMPTY=Es befinden sich keine Stammdaten in der Datenbank. +ADMIN_BASIC_COMPANY_DATA_LIST_EMPTY=Es befinden sich keine Stammdaten in der Datenbank. Oder Ihre Suche ergab keine Uebereinstimmungen. #@TODO Please fix German umlauts! TABLE_SUMMARY_ADMIN_LIST_BASIC_COMPANY_DATA=Tabelle listet Stammdaten auf. ADMIN_BASIC_COMPANY_DATA_ID=Id-Nummer: @@ -860,7 +862,8 @@ ADMIN_BRANCH_OFFICE_LEGEND_TITLE=Geben Sie hier die Grunddaten der Filiale ein. ADMIN_SELECT_BRANCH_OFFICE_COMPANY=Filiale einem Unternehmen zuweisen: PAGE_TITLE_ADMIN_LIST_BRANCH_OFFICES=Filialen auflisten CONTENT_TITLE_ADMIN_LIST_BRANCH_OFFICES=Auflisten von Filialen: -ADMIN_BRANCH_OFFICES_LIST_EMPTY=Es wurden noch keine Filialen angelegt. +#@TODO Please fix German umlauts! +ADMIN_BRANCH_OFFICES_LIST_EMPTY=Es wurden keine Filialen in der Datenbank gefunden. Oder Ihre Suche ergab keine Uebereinstimmungen. #@TODO Please fix German umlauts! ADMIN_ADD_BRANCH_OFFICE_TITLE=Filiale hinzufuegen #@TODO Please fix German umlauts! @@ -914,3 +917,23 @@ ADMIN_ACTION_LINKS=Aktionen: ADMIN_LINK_RESEND_CONFIRMATION_SHORT=Erneut ADMIN_LINK_UNLOCK_SHORT=Entsperren ADMIN_LINK_LOCK_SHORT=Sperren +#@TODO Please fix German umlauts! +ADMIN_MOBILE_PROVIDER_LIST_EMPTY=Es befinden sich keine Mobilfunkanbieter in der Datenbank. Oder Ihre Suche ergab keine Uebereinstimmungen. +ADMIN_LINK_SHOW_MOBILE_PROVIDER_TITLE=Details des Mobilfunkanbieters anzeigen. +ADMIN_LINK_EDIT_MOBILE_PROVIDER_TITLE=Edieren des Mobilfunkanbieters. +#@TODO Please fix German umlauts! +ADMIN_LINK_DELETE_MOBILE_PROVIDER_TITLE=Loescht den Mobilfunkanbieter. +ADMIN_LINK_SHOW_COUNTRY_TITLE=Details des Landes anzeigen. +ADMIN_LINK_EDIT_COUNTRY_TITLE=Editieren des Landes. +#@TODO Please fix German umlauts! +ADMIN_LINK_DELETE_COUNTRY_TITLE=Loeschen des Landes. +#@TODO Please fix German umlauts! +ADMIN_COUNTRY_LIST_EMPTY=Es befinden sich keine Laender in der Datenbank. Oder Ihre Suche ergab keine Uebereinstimmungen. +#@TODO Please fix German umlauts! +ADMIN_FAX_NUMBER_LIST_EMPTY=Es befinden sich keine Faxnummern in der Datenbank oder Ihre Suche ergab keine Uebereinstimmungen. +#@TODO Please fix German umlauts! +ADMIN_LANDLINE_NUMBER_LIST_EMPTY=Es befinden sich keine Festnetznummern in der Datenbank oder Ihre Suche ergab keine Uebereinstimmungen. +#@TODO Please fix German umlauts! +ADMIN_MOBILE_NUMBER_LIST_EMPTY=Es befinden sich keine Mobilfunknummern in der Datenbank oder Ihre Suche ergab keine Uebereinstimmungen. +#@TODO Please fix German umlauts! +ADMIN_CONTACT_MOBILE_LIST_EMPTY=Es befinden sich keine Mobilfunknummern von Kontakten in der Datenbank oder Ihre Suche ergab keine Uebereinstimmungen. diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index aa7f8c4c..d36d1395 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -687,8 +687,8 @@ CONTENT_TITLE_ADMIN_DELETE_LAND_LINE_NUMBER=Delete land-line number: ADMIN_DELETE_LAND_LINE_NUMBER_TITLE=Dou you really want to delete following land-line number? ADMIN_DELETE_LAND_LINE_NUMBER_DATA_NOTICE=If you delete the land-line number, it won't be available anymore for anything. Please consider carefully if you really want this. BUTTON_ADMIN_DELETE_LAND_LINE_NUMBER=Delete land-line number -ADMIN_CONTACT_LIST_EMPTY=No contact data found in database. -ADMIN_USER_LIST_EMPTY=No user data found in database. +ADMIN_CONTACT_LIST_EMPTY=No contact data found in database. Or your search criteria doesn't match anything. +ADMIN_USER_LIST_EMPTY=No user data found in database. Or your search criteria doesn't match anything. ADMIN_PERSONAL_DATA_COMMENT=Comment: (optional) ADMIN_LINK_RESEND_USER_CONFIRMATION_LINK=Send new confirmation key ADMIN_LINK_RESEND_USER_CONFIRMATION_LINK_TITLE=Sends out a new confirmation link to the user's assigned email address. @@ -772,7 +772,7 @@ LINK_ADMIN_LIST_BASIC_COMPANY_DATA=List basic company data LINK_ADMIN_LIST_BASIC_COMPANY_DATA_TITLE=Lists basic company data PAGE_TITLE_ADMIN_LIST_BASIC_COMPANY_DATA=List basic company data CONTENT_TITLE_ADMIN_LIST_BASIC_COMPANY_DATA=Lists basic company data -ADMIN_BASIC_COMPANY_DATA_LIST_EMPTY=There are currently no basic company data in database. +ADMIN_BASIC_COMPANY_DATA_LIST_EMPTY=There are currently no basic company data in database. Or your search criteria doesn't match anything. TABLE_SUMMARY_ADMIN_LIST_BASIC_COMPANY_DATA=This table lists basic company data. ADMIN_BASIC_COMPANY_DATA_ID=Id Number: ADMIN_LINK_SHOW_BASIC_COMAPNY_DATA_TITLE=Show details of this business contact. @@ -830,7 +830,7 @@ ADMIN_BRANCH_OFFICE_LEGEND_TITLE=Enter branch office basic data here. ADMIN_SELECT_BRANCH_OFFICE_COMPANY=Assign branch office to company: PAGE_TITLE_ADMIN_LIST_BRANCH_OFFICES=List branch offices CONTENT_TITLE_ADMIN_LIST_BRANCH_OFFICES=List branch offices: -ADMIN_BRANCH_OFFICES_LIST_EMPTY=There are no branch offices added. +ADMIN_BRANCH_OFFICES_LIST_EMPTY=There are no branch offices found in database. Or your search criteria doesn't match anything. ADMIN_ADD_BRANCH_OFFICE_TITLE=Add branch office #Bitte waehlen Sie mindestens das zugehoerige Unternehmen und das Land aus und geben Sie Strasse, Hausnummer, Postleitzahl und Stadt ein. ADMIN_ADD_BRANCH_OFFICE_MINIMUM_DATA=Please at least choose assigned company, country and enter at least street name, house number, ZIP code and city. @@ -874,3 +874,15 @@ ADMIN_ACTION_LINKS=Actions: ADMIN_LINK_RESEND_CONFIRMATION_SHORT=Resend ADMIN_LINK_UNLOCK_SHORT=Unlock ADMIN_LINK_LOCK_SHORT=Lock +ADMIN_MOBILE_PROVIDER_LIST_EMPTY=There are no mobile providers in database. Or your search criteria doesn't match anything. +ADMIN_LINK_SHOW_MOBILE_PROVIDER_TITLE=Shows details of mobile provider. +ADMIN_LINK_EDIT_MOBILE_PROVIDER_TITLE=Edit of mobile provider. +ADMIN_LINK_DELETE_MOBILE_PROVIDER_TITLE=Deletes mobile provider. +ADMIN_LINK_SHOW_COUNTRY_TITLE=Show details of country. +ADMIN_LINK_EDIT_COUNTRY_TITLE=Edit of country. +ADMIN_LINK_DELETE_COUNTRY_TITLE=Deletes country. +ADMIN_COUNTRY_LIST_EMPTY=There are no countries in database. Or your search criteria doesn't match anything. +ADMIN_FAX_NUMBER_LIST_EMPTY=There are no fax numbers in database. Or your search criteria doesn't match anything. +ADMIN_LANDLINE_NUMBER_LIST_EMPTY=There are no land-line numbers in database. Or your search criteria doesn't match anything. +ADMIN_MOBILE_NUMBER_LIST_EMPTY=There are no mobile numbers in database. Or your search criteria doesn't match anything. +ADMIN_CONTACT_MOBILE_LIST_EMPTY=There are no mobile numbers of contacts in database. Or your search criteria doesn't match anything. diff --git a/src/java/org/mxchange/pizzaapplication/beans/mobileprovider/PizzaMobileProviderWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/mobileprovider/PizzaMobileProviderWebRequestBean.java index 233c8d34..c448f4dc 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/mobileprovider/PizzaMobileProviderWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/mobileprovider/PizzaMobileProviderWebRequestBean.java @@ -18,6 +18,7 @@ package org.mxchange.pizzaapplication.beans.mobileprovider; import fish.payara.cdi.jsr107.impl.NamedCache; import java.text.MessageFormat; +import java.util.Comparator; import java.util.Iterator; import java.util.LinkedList; import java.util.List; @@ -47,10 +48,15 @@ public class PizzaMobileProviderWebRequestBean extends BasePizzaController imple */ private static final long serialVersionUID = 15_869_423_671_950_276L; + /** + * A list of all mobile providers + */ + private final List allMobileProviders; + /** * Remote EJB for mobile providers (regular) */ - @EJB (lookup = "java:global/jfinancials-ejb/mobileprovider!org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProviderSingletonBeanRemote") + @EJB (lookup = "java:global/jfinancials-ejb/mobileProvider!org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProviderSingletonBeanRemote") private MobileProviderSingletonBeanRemote mobileProviderBean; /** @@ -66,6 +72,9 @@ public class PizzaMobileProviderWebRequestBean extends BasePizzaController imple public PizzaMobileProviderWebRequestBean () { // Call super constructor super(); + + // Init list + this.allMobileProviders = new LinkedList<>(); } /** @@ -92,28 +101,14 @@ public class PizzaMobileProviderWebRequestBean extends BasePizzaController imple // Add it to the list this.mobileProviderCache.put(event.getAddedMobileProvider().getProviderId(), event.getAddedMobileProvider()); + this.allMobileProviders.add(event.getAddedMobileProvider()); } @Override @SuppressWarnings ("ReturnOfCollectionOrArrayField") public List allMobileProviders () { - // Init list - final List list = new LinkedList<>(); - - // Get iterator - final Iterator> iterator = this.mobileProviderCache.iterator(); - - // Loop over all - while (iterator.hasNext()) { - // Get next entry - final Cache.Entry next = iterator.next(); - - // Add value to list - list.add(next.getValue()); - } - // Return it - return list; + return this.allMobileProviders; } /** @@ -135,6 +130,29 @@ public class PizzaMobileProviderWebRequestBean extends BasePizzaController imple this.mobileProviderCache.put(next.getProviderId(), next); } } - } + // Is the list empty, but filled cache? + if (this.allMobileProviders.isEmpty() && this.mobileProviderCache.iterator().hasNext()) { + // Get iterator + final Iterator> iterator = this.mobileProviderCache.iterator(); + + // Build up list + while (iterator.hasNext()) { + // GEt next element + final Cache.Entry next = iterator.next(); + + // Add to list + this.allMobileProviders.add(next.getValue()); + } + + // Sort list + this.allMobileProviders.sort(new Comparator() { + @Override + public int compare (final MobileProvider o1, final MobileProvider o2) { + return o1.getProviderId() > o2.getProviderId() ? 1 : o1.getProviderId() < o2.getProviderId() ? -1 : 0; + } + } + ); + } + } } diff --git a/src/java/org/mxchange/pizzaapplication/converter/mobileprovider/PizzaMobileProviderConverter.java b/src/java/org/mxchange/pizzaapplication/converter/mobileprovider/PizzaMobileProviderConverter.java index 5553256b..fdc3bd6f 100644 --- a/src/java/org/mxchange/pizzaapplication/converter/mobileprovider/PizzaMobileProviderConverter.java +++ b/src/java/org/mxchange/pizzaapplication/converter/mobileprovider/PizzaMobileProviderConverter.java @@ -52,7 +52,7 @@ public class PizzaMobileProviderConverter implements Converter { final Context initial = new InitialContext(); // Lookup EJB - MOBILE_PROVIDER_BEAN = (MobileProviderSingletonBeanRemote) initial.lookup("java:global/jfinancials-ejb/mobileprovider!org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProviderSingletonBeanRemote"); + MOBILE_PROVIDER_BEAN = (MobileProviderSingletonBeanRemote) initial.lookup("java:global/jfinancials-ejb/mobileProvider!org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProviderSingletonBeanRemote"); } catch (final NamingException ex) { // Throw it again throw new ConverterException(new FacesMessage(FacesMessage.SEVERITY_ERROR, "Cannot lookup EJB", ex.getMessage()), ex); diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 40912c00..3795074d 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -234,6 +234,10 @@ /admin/country/admin_country_list.xhtml + + admin_show_country + /admin/country/admin_country_show.xhtml + admin_edit_country /admin/country/admin_country_edit.xhtml @@ -755,6 +759,14 @@ admin_show_branch_office /admin/branch_offices/admin_branch_office_show.xhtml + + admin_edit_branch_office + /admin/branch_offices/admin_branch_office_edit.xhtml + + + admin_delete_branch_office + /admin/branch_offices/admin_branch_office_delete.xhtml + admin_show_user /admin/user/admin_user_show.xhtml diff --git a/web/WEB-INF/links.jsf.taglib.xml b/web/WEB-INF/links.jsf.taglib.xml index 09f59252..af8b7edd 100644 --- a/web/WEB-INF/links.jsf.taglib.xml +++ b/web/WEB-INF/links.jsf.taglib.xml @@ -22,7 +22,7 @@ along with this program. If not, see . http://mxchange.org/jsf/core/links outputUserProfileLink - This tag renders a h:link JSF tag for a user profile. + This tag renders a p:link JSF tag for a user profile. resources/tags/profile/user/user_profile_link.tpl user diff --git a/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl b/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl index df52be7b..d60ab1a2 100644 --- a/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl +++ b/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl @@ -4,115 +4,116 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + diff --git a/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns_mini.tpl b/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns_mini.tpl index 3650b42c..72ad507f 100644 --- a/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns_mini.tpl +++ b/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns_mini.tpl @@ -4,37 +4,38 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + diff --git a/web/WEB-INF/resources/tags/admin/form_data/contact/admin_form_contact_data.tpl b/web/WEB-INF/resources/tags/admin/form_data/contact/admin_form_contact_data.tpl index 3d71415c..88ea9ee1 100644 --- a/web/WEB-INF/resources/tags/admin/form_data/contact/admin_form_contact_data.tpl +++ b/web/WEB-INF/resources/tags/admin/form_data/contact/admin_form_contact_data.tpl @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
@@ -16,179 +17,179 @@
- +
- +
- - + +
- +
- +
- - + +
- +
- +
- - + +
- +
- +
- - + +
- +
- + - +
- - + +
- +
- +
- - + +
- +
- + - +
- - + +
- +
- +
- - + +
- +
- + - +
- - + +
- +
- + - + - + - + - + - +
- +
- + - + - + - + - + - +
@@ -196,44 +197,44 @@
- +
- + - +
- - + +
- +
- + - +
- - + +
- +
- +
diff --git a/web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl b/web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl index 15c56904..781eb0d9 100644 --- a/web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl +++ b/web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
@@ -14,7 +15,7 @@
- +
diff --git a/web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl b/web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl index 6608556a..62d64ef0 100644 --- a/web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl +++ b/web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
@@ -14,7 +15,7 @@
- +
diff --git a/web/WEB-INF/resources/tags/admin/form_data/mobile/admin_form_mobile_data.tpl b/web/WEB-INF/resources/tags/admin/form_data/mobile/admin_form_mobile_data.tpl index d3f679b3..101bd595 100644 --- a/web/WEB-INF/resources/tags/admin/form_data/mobile/admin_form_mobile_data.tpl +++ b/web/WEB-INF/resources/tags/admin/form_data/mobile/admin_form_mobile_data.tpl @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
@@ -14,7 +15,7 @@
- +
@@ -24,36 +25,36 @@
- +
- + - +
- - + +
- +
- + - +
- - + +
diff --git a/web/WEB-INF/resources/tags/admin/form_data/user/admin_form_user_data.tpl b/web/WEB-INF/resources/tags/admin/form_data/user/admin_form_user_data.tpl index b9573ae6..c06c52ae 100644 --- a/web/WEB-INF/resources/tags/admin/form_data/user/admin_form_user_data.tpl +++ b/web/WEB-INF/resources/tags/admin/form_data/user/admin_form_user_data.tpl @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
@@ -14,53 +15,53 @@
- +
- +
- - + +
- +
- +
- - + +
- +
- +
- - + +
- +
- +
diff --git a/web/WEB-INF/resources/tags/admin/links/mini/basic_data/admin_basic_data_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/basic_data/admin_basic_data_links.tpl index 10c6b8c6..b0612aaf 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/basic_data/admin_basic_data_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/basic_data/admin_basic_data_links.tpl @@ -3,29 +3,30 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> diff --git a/web/WEB-INF/resources/tags/admin/links/mini/branch_office/admin_branch_office_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/branch_office/admin_branch_office_links.tpl index cc4f8dd1..5b281c78 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/branch_office/admin_branch_office_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/branch_office/admin_branch_office_links.tpl @@ -3,29 +3,30 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> diff --git a/web/WEB-INF/resources/tags/admin/links/mini/contact/admin_contact_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/contact/admin_contact_links.tpl index ebc13a33..8a0e79c4 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/contact/admin_contact_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/contact/admin_contact_links.tpl @@ -3,29 +3,30 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> diff --git a/web/WEB-INF/resources/tags/admin/links/mini/country/admin_country_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/country/admin_country_links.tpl new file mode 100644 index 00000000..14459291 --- /dev/null +++ b/web/WEB-INF/resources/tags/admin/links/mini/country/admin_country_links.tpl @@ -0,0 +1,34 @@ + + + + + + + diff --git a/web/WEB-INF/resources/tags/admin/links/mini/fax/admin_fax_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/fax/admin_fax_links.tpl index 4f86c3f0..ad55a476 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/fax/admin_fax_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/fax/admin_fax_links.tpl @@ -4,39 +4,40 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> diff --git a/web/WEB-INF/resources/tags/admin/links/mini/landline/admin_landline_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/landline/admin_landline_links.tpl index f4d81b41..e6f2ae06 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/landline/admin_landline_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/landline/admin_landline_links.tpl @@ -4,39 +4,40 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> diff --git a/web/WEB-INF/resources/tags/admin/links/mini/mobile/admin_mobile_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/mobile/admin_mobile_links.tpl index 4f48f285..1c5255e3 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/mobile/admin_mobile_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/mobile/admin_mobile_links.tpl @@ -4,39 +4,40 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> diff --git a/web/WEB-INF/resources/tags/admin/links/mini/mobile_provider/admin_mobile_provider_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/mobile_provider/admin_mobile_provider_links.tpl index 99ceb4a0..92760013 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/mobile_provider/admin_mobile_provider_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/mobile_provider/admin_mobile_provider_links.tpl @@ -4,29 +4,30 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> diff --git a/web/WEB-INF/resources/tags/admin/links/mini/user/admin_user_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/user/admin_user_links.tpl index 8eb1851f..10f5d659 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/user/admin_user_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/user/admin_user_links.tpl @@ -3,44 +3,45 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> diff --git a/web/WEB-INF/resources/tags/admin/links/user/admin_user_links.tpl b/web/WEB-INF/resources/tags/admin/links/user/admin_user_links.tpl index 4f23f1ba..89bc08e0 100644 --- a/web/WEB-INF/resources/tags/admin/links/user/admin_user_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/user/admin_user_links.tpl @@ -3,7 +3,8 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> @@ -14,60 +15,60 @@
  • - + - +
  • - + - +
  • - + - +
  • - + - + - + - + - + - +
  • - + - +
  • - + - +
  • - + - +
diff --git a/web/WEB-INF/resources/tags/admin/panel_grids/fax/admin_fax_data.tpl b/web/WEB-INF/resources/tags/admin/panel_grids/fax/admin_fax_data.tpl index 197917c6..a76a3480 100644 --- a/web/WEB-INF/resources/tags/admin/panel_grids/fax/admin_fax_data.tpl +++ b/web/WEB-INF/resources/tags/admin/panel_grids/fax/admin_fax_data.tpl @@ -5,31 +5,32 @@ xmlns:links="http://mxchange.org/jsf/core/links" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - + - + - + - + - + @@ -37,7 +38,7 @@ - + @@ -45,7 +46,7 @@ - +
diff --git a/web/WEB-INF/resources/tags/admin/panel_grids/landline/admin_landline_data.tpl b/web/WEB-INF/resources/tags/admin/panel_grids/landline/admin_landline_data.tpl index e7a75daa..ee7662df 100644 --- a/web/WEB-INF/resources/tags/admin/panel_grids/landline/admin_landline_data.tpl +++ b/web/WEB-INF/resources/tags/admin/panel_grids/landline/admin_landline_data.tpl @@ -5,31 +5,32 @@ xmlns:links="http://mxchange.org/jsf/core/links" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - + - + - + - + - + @@ -37,7 +38,7 @@ - + @@ -45,7 +46,7 @@ - +
diff --git a/web/WEB-INF/resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl b/web/WEB-INF/resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl index 616f8917..e62548ce 100644 --- a/web/WEB-INF/resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl +++ b/web/WEB-INF/resources/tags/admin/panel_grids/mobile/admin_mobile_data.tpl @@ -5,40 +5,41 @@ xmlns:links="http://mxchange.org/jsf/core/links" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - + - + - + - + - + - + - + - + @@ -46,7 +47,7 @@ - + @@ -54,7 +55,7 @@ - +
diff --git a/web/WEB-INF/resources/tags/messages/message_box.tpl b/web/WEB-INF/resources/tags/messages/message_box.tpl index a68d361f..7d04f135 100644 --- a/web/WEB-INF/resources/tags/messages/message_box.tpl +++ b/web/WEB-INF/resources/tags/messages/message_box.tpl @@ -5,7 +5,7 @@ xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core"> - +
diff --git a/web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl b/web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl index 5c114779..90283cea 100644 --- a/web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl +++ b/web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl @@ -4,12 +4,13 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - + - + diff --git a/web/WEB-INF/resources/tags/table_rows/fax_input_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/fax_input_table_row.tpl index a6543fec..f63bbd6e 100644 --- a/web/WEB-INF/resources/tags/table_rows/fax_input_table_row.tpl +++ b/web/WEB-INF/resources/tags/table_rows/fax_input_table_row.tpl @@ -4,37 +4,38 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
- +
- + - + - + - + - + - +
- - + + - - + +
diff --git a/web/WEB-INF/resources/tags/table_rows/landline_input_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/landline_input_table_row.tpl index f16751bb..e1891b82 100644 --- a/web/WEB-INF/resources/tags/table_rows/landline_input_table_row.tpl +++ b/web/WEB-INF/resources/tags/table_rows/landline_input_table_row.tpl @@ -4,37 +4,38 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
- +
- + - + - + - + - + - +
- - + + - - + +
diff --git a/web/WEB-INF/resources/tags/table_rows/mobile_selection_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/mobile_selection_table_row.tpl index 9e981a08..a9445346 100644 --- a/web/WEB-INF/resources/tags/table_rows/mobile_selection_table_row.tpl +++ b/web/WEB-INF/resources/tags/table_rows/mobile_selection_table_row.tpl @@ -4,29 +4,30 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
- +
- + - + - + - +
- - + +
diff --git a/web/WEB-INF/resources/tags/table_rows/user_personal_title_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/user_personal_title_table_row.tpl index 387a7235..9bb9ea5b 100644 --- a/web/WEB-INF/resources/tags/table_rows/user_personal_title_table_row.tpl +++ b/web/WEB-INF/resources/tags/table_rows/user_personal_title_table_row.tpl @@ -4,24 +4,25 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
- +
- + - +
- - + +
diff --git a/web/WEB-INF/resources/tags/table_rows/user_profile_mode_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/user_profile_mode_table_row.tpl index 96d53b29..d1409ce1 100644 --- a/web/WEB-INF/resources/tags/table_rows/user_profile_mode_table_row.tpl +++ b/web/WEB-INF/resources/tags/table_rows/user_profile_mode_table_row.tpl @@ -4,23 +4,24 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui">
- +
- + - +
- - + +
diff --git a/web/WEB-INF/templates/admin/admin_footer.tpl b/web/WEB-INF/templates/admin/admin_footer.tpl index eeeb4add..ff9b5c83 100644 --- a/web/WEB-INF/templates/admin/admin_footer.tpl +++ b/web/WEB-INF/templates/admin/admin_footer.tpl @@ -1,12 +1,15 @@ + + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui" + xmlns:pm="http://primefaces.org/mobile"> - + diff --git a/web/WEB-INF/templates/admin/admin_menu.tpl b/web/WEB-INF/templates/admin/admin_menu.tpl index 90b5b17a..268b12df 100644 --- a/web/WEB-INF/templates/admin/admin_menu.tpl +++ b/web/WEB-INF/templates/admin/admin_menu.tpl @@ -3,91 +3,53 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - -
diff --git a/web/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl b/web/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl index f196a195..c8c9f099 100644 --- a/web/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl +++ b/web/WEB-INF/templates/admin/contact/admin_contact_data_mini.tpl @@ -3,9 +3,10 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - + @@ -13,19 +14,19 @@ - + - + - + diff --git a/web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl b/web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl index bfe0d957..7b1b357e 100644 --- a/web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl +++ b/web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl @@ -6,7 +6,7 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - + diff --git a/web/WEB-INF/templates/admin/country/admin_form_country_data.tpl b/web/WEB-INF/templates/admin/country/admin_form_country_data.tpl index d80453c9..5a0802d0 100644 --- a/web/WEB-INF/templates/admin/country/admin_form_country_data.tpl +++ b/web/WEB-INF/templates/admin/country/admin_form_country_data.tpl @@ -3,7 +3,8 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> @@ -17,103 +18,103 @@
- +
- + - +
- - + +
- +
- + - +
- - + +
- +
- + - +
- - + +
- +
- +
- - + +
- +
- + - +
- - + +
- +
- + - +
- - + +
diff --git a/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl b/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl index 48ee76d4..859622a5 100644 --- a/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl +++ b/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> @@ -20,15 +21,15 @@
- +
- + - +
@@ -39,9 +40,9 @@ diff --git a/web/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl b/web/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl index 30b289b5..e211f8c6 100644 --- a/web/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl +++ b/web/WEB-INF/templates/admin/landline/admin_form_add_contact_landline.tpl @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> @@ -20,15 +21,15 @@
- +
- + - +
@@ -39,11 +40,11 @@ diff --git a/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl b/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl index 2f9e444a..6e72a273 100644 --- a/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl +++ b/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> @@ -20,15 +21,15 @@
- +
- + - +
@@ -39,11 +40,11 @@ diff --git a/web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl b/web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl index bb704c3b..156b795d 100644 --- a/web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl +++ b/web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl @@ -3,7 +3,8 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> @@ -17,27 +18,27 @@
- +
- + - +
- - + +
- +
- +
@@ -45,24 +46,24 @@
- +
- +
- +
- + - +
diff --git a/web/WEB-INF/templates/admin/user/admin_show_user_data.tpl b/web/WEB-INF/templates/admin/user/admin_show_user_data.tpl index 67a5f7c8..7f5d92f5 100644 --- a/web/WEB-INF/templates/admin/user/admin_show_user_data.tpl +++ b/web/WEB-INF/templates/admin/user/admin_show_user_data.tpl @@ -4,9 +4,10 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - + @@ -15,21 +16,21 @@ - + - + - + @@ -37,7 +38,7 @@ - + @@ -45,19 +46,19 @@ - + - + - + @@ -65,7 +66,7 @@ - + diff --git a/web/WEB-INF/templates/admin/user/admin_show_user_data_mini.tpl b/web/WEB-INF/templates/admin/user/admin_show_user_data_mini.tpl index bf1fdef4..ef3e1c95 100644 --- a/web/WEB-INF/templates/admin/user/admin_show_user_data_mini.tpl +++ b/web/WEB-INF/templates/admin/user/admin_show_user_data_mini.tpl @@ -4,9 +4,10 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui"> - + @@ -15,25 +16,25 @@ - + - + - + - + - + @@ -41,7 +42,7 @@ - + diff --git a/web/WEB-INF/templates/base.tpl b/web/WEB-INF/templates/base.tpl index 4d640291..83ab95de 100644 --- a/web/WEB-INF/templates/base.tpl +++ b/web/WEB-INF/templates/base.tpl @@ -2,84 +2,108 @@ + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:p="http://primefaces.org/ui" + xmlns:pm="http://primefaces.org/mobile"> + - - + + + + - + + + + + + + - + + - - + + <h:outputText value="#{initParam['project_title']}" /> + <h:outputText value=" - " /> + <ui:insert name="title"> + <h:outputText value="Default title" /> + </ui:insert> + + - - <h:outputText value="Pizza-Service" /> - <h:outputText value=" - " /> - <ui:insert name="title"> - <h:outputText value="Default title" /> + <h:body> + <pm:header> + <div id="page-header"> + <h1> + <h:outputText value="#{initParam['project_title']} - " /> + + <ui:insert name="title"> + <h:outputText value="Default title" /> + </ui:insert> + </h1> + </div> + </pm:header> + + <h:panelGroup id="menu-content-wrapper" layout="block"> + <div id="left-menu-container"> + <ui:insert name="menu"> + <h:outputText value="Default menu" /> </ui:insert> - - - - - -
- + +
- - diff --git a/web/admin/user/admin_user_list.xhtml b/web/admin/user/admin_user_list.xhtml index d3c5660c..23db1d95 100644 --- a/web/admin/user/admin_user_list.xhtml +++ b/web/admin/user/admin_user_list.xhtml @@ -5,7 +5,8 @@ xmlns:links="http://mxchange.org/jsf/core/links" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -18,68 +19,68 @@ - - + + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -87,16 +88,16 @@ - + - + - - + + @@ -113,14 +114,14 @@
- +
- + - +
@@ -136,8 +137,8 @@
diff --git a/web/admin/user/admin_user_lock.xhtml b/web/admin/user/admin_user_lock.xhtml index 9c5be085..6e9d3c68 100644 --- a/web/admin/user/admin_user_lock.xhtml +++ b/web/admin/user/admin_user_lock.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -35,7 +36,7 @@
- +
@@ -45,7 +46,7 @@
- +
@@ -55,7 +56,7 @@
- +
@@ -65,18 +66,18 @@
- +
- +
diff --git a/web/admin/user/admin_user_resend_confirmation_link.xhtml b/web/admin/user/admin_user_resend_confirmation_link.xhtml index 74b2cb58..aee86a01 100644 --- a/web/admin/user/admin_user_resend_confirmation_link.xhtml +++ b/web/admin/user/admin_user_resend_confirmation_link.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -42,9 +43,9 @@ diff --git a/web/admin/user/admin_user_unlock.xhtml b/web/admin/user/admin_user_unlock.xhtml index 7b80ca88..e72a5b89 100644 --- a/web/admin/user/admin_user_unlock.xhtml +++ b/web/admin/user/admin_user_unlock.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -39,15 +40,15 @@
- + - +
- +
@@ -57,7 +58,7 @@
- +
@@ -67,7 +68,7 @@
- +
@@ -77,7 +78,7 @@
- +
@@ -89,7 +90,7 @@
- +
@@ -98,9 +99,9 @@ diff --git a/web/guest/user/user_list.xhtml b/web/guest/user/user_list.xhtml index a2fc13bf..c2c81347 100644 --- a/web/guest/user/user_list.xhtml +++ b/web/guest/user/user_list.xhtml @@ -5,7 +5,8 @@ xmlns:links="http://mxchange.org/jsf/core/links" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -18,30 +19,30 @@ - +
- + - + - + - + - + - +
>
diff --git a/web/guest/user/user_login.xhtml b/web/guest/user/user_login.xhtml index b65b7cf3..3191943d 100644 --- a/web/guest/user/user_login.xhtml +++ b/web/guest/user/user_login.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -23,7 +24,7 @@ - + @@ -31,7 +32,7 @@ - + diff --git a/web/guest/user/user_lost_password.xhtml b/web/guest/user/user_lost_password.xhtml index 1ece54b4..92c4fd4c 100644 --- a/web/guest/user/user_lost_password.xhtml +++ b/web/guest/user/user_lost_password.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -32,11 +33,11 @@
- +
- +
@@ -46,18 +47,18 @@
- +
- +
diff --git a/web/guest/user/user_register.xhtml b/web/guest/user/user_register.xhtml index f37ff331..e285b365 100644 --- a/web/guest/user/user_register.xhtml +++ b/web/guest/user/user_register.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -23,7 +24,7 @@ - + diff --git a/web/guest/user/user_register_done.xhtml b/web/guest/user/user_register_done.xhtml index 73f3b2c0..f26df549 100644 --- a/web/guest/user/user_register_done.xhtml +++ b/web/guest/user/user_register_done.xhtml @@ -3,7 +3,8 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -19,7 +20,7 @@ - + diff --git a/web/guest/user/user_register_page2.xhtml b/web/guest/user/user_register_page2.xhtml index 658b73ee..394b73e2 100644 --- a/web/guest/user/user_register_page2.xhtml +++ b/web/guest/user/user_register_page2.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -21,7 +22,7 @@ - + diff --git a/web/guest/user/user_resend_link.xhtml b/web/guest/user/user_resend_link.xhtml index 8bdf9d1f..76d7b1e2 100644 --- a/web/guest/user/user_resend_link.xhtml +++ b/web/guest/user/user_resend_link.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -30,19 +31,19 @@
- +
- + - +
- - + + @@ -50,8 +51,8 @@ diff --git a/web/resources/css/default.css b/web/resources/css/default.css index 9a84a100..42fb9258 100644 --- a/web/resources/css/default.css +++ b/web/resources/css/default.css @@ -4,7 +4,6 @@ body { font-family: sans-serif; color: black; margin: 0px; - line-height: 14px; } h1 { @@ -24,7 +23,3 @@ a:link:hover, a:visited:hover { color: #045491; text-decoration : underline; } - -label { - vertical-align: middle; -} diff --git a/web/resources/css/layout.css b/web/resources/css/layout.css index 59ea6530..a3e22a51 100644 --- a/web/resources/css/layout.css +++ b/web/resources/css/layout.css @@ -6,10 +6,6 @@ div, table { #page-header { border-bottom: 1px solid grey; - line-height: 20px; -} - -#page-header-container { background-color: steelblue; color: white; padding: 5px; @@ -46,13 +42,13 @@ div, table { margin: 2px; } -.page-header-container a:link, .page-header-container a:visited { +.page-header a:link, .page-header a:visited { color: white; font-weight : bold; text-decoration: none; } -.page-header-container a:link:hover, .page-header-container a:visited:hover { +.page-header a:link:hover, .page-header a:visited:hover { color: black; font-weight : bold; text-decoration : underline; @@ -166,15 +162,6 @@ ul.navbar-horizontal li.footer-copyright { margin-right: 10px; } -.menu ul { - list-style: none; - padding-left: 5px; -} - -.menu-header { - font-weight: bold; -} - .table-header { text-align: center; font-weight: bold; @@ -299,33 +286,19 @@ ul.navbar-horizontal li.footer-copyright { margin-right: 2px; } -#content-header, .input, .select, .submit, .reset, .button-danger, .button-warning, .fieldset { - border: 1px solid grey; - border-top-right-radius: 8px; - border-bottom-left-radius: 8px; -} - -.checkbox { +#content-header { border: 1px solid grey; } -input, textarea, select, option { - background-color: #fbfbfb; -} - -.submit, .reset, .button-danger, .button-warning { - cursor: pointer; +#content-header, .input, .submit, .reset, .button-danger, .button-warning, .fieldset { + border-top-right-radius: 8px; + border-bottom-left-radius: 8px; } .fieldset { padding: 5px; } -.input { - padding-left: 4px; - padding-right: 4px; -} - #menu-content-wrapper { overflow: auto; } @@ -342,11 +315,6 @@ input, textarea, select, option { color: white; } -input:hover, textarea:hover, select:hover, option:hover { - border-color: #666666; - background-color: #eeeeee; -} - .button-danger:hover { border-color: #dd0000; background-color: #aa0000; @@ -358,6 +326,7 @@ input:hover, textarea:hover, select:hover, option:hover { background-color: #cccc00; color: #eeeeee; } + #menu-content-wrapper::after { clear: both; } @@ -366,6 +335,6 @@ input:hover, textarea:hover, select:hover, option:hover { clear: both; } -.footer::after { +#footer::after { clear: both; } diff --git a/web/user/login_contact_data_saved.xhtml b/web/user/login_contact_data_saved.xhtml index e2a2cbca..300c586d 100644 --- a/web/user/login_contact_data_saved.xhtml +++ b/web/user/login_contact_data_saved.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -20,7 +21,7 @@ - + diff --git a/web/user/login_edit_user_data.xhtml b/web/user/login_edit_user_data.xhtml index 44336717..8e99559d 100644 --- a/web/user/login_edit_user_data.xhtml +++ b/web/user/login_edit_user_data.xhtml @@ -3,7 +3,8 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -27,18 +28,18 @@
  • - +
  • - +
  • - +
diff --git a/web/user/login_index.xhtml b/web/user/login_index.xhtml index 207e6965..63f89090 100644 --- a/web/user/login_index.xhtml +++ b/web/user/login_index.xhtml @@ -3,7 +3,8 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -19,7 +20,7 @@
- + diff --git a/web/user/login_logout.xhtml b/web/user/login_logout.xhtml index c80d0acc..d0eee5cb 100644 --- a/web/user/login_logout.xhtml +++ b/web/user/login_logout.xhtml @@ -3,7 +3,8 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -25,7 +26,7 @@ diff --git a/web/user/login_user_change_email_address.xhtml b/web/user/login_user_change_email_address.xhtml index fbecaf83..a019ba7d 100644 --- a/web/user/login_user_change_email_address.xhtml +++ b/web/user/login_user_change_email_address.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -46,8 +47,8 @@ diff --git a/web/user/login_user_change_password.xhtml b/web/user/login_user_change_password.xhtml index ec604868..ab920063 100644 --- a/web/user/login_user_change_password.xhtml +++ b/web/user/login_user_change_password.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -37,30 +38,30 @@
- +
- +
- - + +
- +
- +
- - + + @@ -70,8 +71,8 @@ diff --git a/web/user/login_user_change_personal_data.xhtml b/web/user/login_user_change_personal_data.xhtml index e5ee9bac..252a3486 100644 --- a/web/user/login_user_change_personal_data.xhtml +++ b/web/user/login_user_change_personal_data.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -18,7 +19,7 @@ - + @@ -38,8 +39,8 @@
diff --git a/web/user/login_user_contact_data_saved.xhtml b/web/user/login_user_contact_data_saved.xhtml index 04707419..a5fda2ee 100644 --- a/web/user/login_user_contact_data_saved.xhtml +++ b/web/user/login_user_contact_data_saved.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -20,7 +21,7 @@ - + diff --git a/web/user/login_user_data_saved.xhtml b/web/user/login_user_data_saved.xhtml index 167bdad5..014da48a 100644 --- a/web/user/login_user_data_saved.xhtml +++ b/web/user/login_user_data_saved.xhtml @@ -4,7 +4,8 @@ xmlns:widgets="http://mxchange.org/jsf/core/widgets" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" - xmlns:f="http://xmlns.jcp.org/jsf/core"> + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:p="http://primefaces.org/ui"> @@ -18,7 +19,7 @@ - +