From 2547134420c4ccc152b8b70a0d979803bbc9f58f Mon Sep 17 00:00:00 2001 From: Franta Pribyl Date: Fri, 13 Jun 2014 12:06:31 +0200 Subject: [PATCH] =?UTF-8?q?P=C5=99epracov=C3=A1na=20struktura=20hlavn?= =?UTF-8?q?=C3=ADho=20menu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../info/bukova/isspst/ui/NavigationVM.java | 7 + .../WEB-INF/locales/zk-label.properties | 15 ++ src/main/webapp/app/navigation.zul | 37 ++- .../addressbook/addrFindResult.zul | 0 .../{admin => lists}/addressbook/address.zul | 0 .../addressbook/addressbook.zul | 250 +++++++++--------- .../{admin => lists}/addressbook/index.zul | 0 .../webapp/{ => lists}/buildings/building.zul | 0 .../{ => lists}/buildings/buildingForm.zul | 0 .../webapp/{ => lists}/buildings/index.zul | 0 .../webapp/{ => lists}/material/index.zul | 0 .../webapp/{ => lists}/material/material.zul | 0 .../{ => lists}/material/materialForm.zul | 0 src/main/webapp/{ => lists}/munits/index.zul | 0 .../webapp/{ => lists}/munits/munitsForm.zul | 0 .../webapp/{ => lists}/munits/munitsGrid.zul | 0 16 files changed, 171 insertions(+), 138 deletions(-) rename src/main/webapp/{admin => lists}/addressbook/addrFindResult.zul (100%) rename src/main/webapp/{admin => lists}/addressbook/address.zul (100%) rename src/main/webapp/{admin => lists}/addressbook/addressbook.zul (97%) rename src/main/webapp/{admin => lists}/addressbook/index.zul (100%) rename src/main/webapp/{ => lists}/buildings/building.zul (100%) rename src/main/webapp/{ => lists}/buildings/buildingForm.zul (100%) rename src/main/webapp/{ => lists}/buildings/index.zul (100%) rename src/main/webapp/{ => lists}/material/index.zul (100%) rename src/main/webapp/{ => lists}/material/material.zul (100%) rename src/main/webapp/{ => lists}/material/materialForm.zul (100%) rename src/main/webapp/{ => lists}/munits/index.zul (100%) rename src/main/webapp/{ => lists}/munits/munitsForm.zul (100%) rename src/main/webapp/{ => lists}/munits/munitsGrid.zul (100%) diff --git a/src/main/java/info/bukova/isspst/ui/NavigationVM.java b/src/main/java/info/bukova/isspst/ui/NavigationVM.java index 3c64dc6b..e857a06b 100644 --- a/src/main/java/info/bukova/isspst/ui/NavigationVM.java +++ b/src/main/java/info/bukova/isspst/ui/NavigationVM.java @@ -46,4 +46,11 @@ public class NavigationVM { return moduleUrl.contains("passwd"); } + public boolean isLists() { + return moduleUrl.contains("lists"); + } + + public boolean isRequirements() { + return moduleUrl.contains("requirements"); + } } diff --git a/src/main/webapp/WEB-INF/locales/zk-label.properties b/src/main/webapp/WEB-INF/locales/zk-label.properties index 199d4841..b3b5df06 100644 --- a/src/main/webapp/WEB-INF/locales/zk-label.properties +++ b/src/main/webapp/WEB-INF/locales/zk-label.properties @@ -1,6 +1,19 @@ # Default file AppName=Objednávkový systém SPŠ Třebíč +MenuRequirements=Požadavky +MenuOrders=Objednávky +MenuLists=Seznamy +MenuSettings=Nastavení +MenuAdministration=Administrace +MenuUser=Uživatel + +AgendaMyRequirements=Aktuální +AgendaRequirementsHistory=Ukončené + +AgendaMyOrders=Aktuální +AgendaOrdersHistory=Ukončené + AgendaMUnits=Měrné jednotky MUnitsFormTitle=Měrná jednotka MUnitsFormCode=Kód @@ -19,6 +32,8 @@ BuildingsGridColumnCode=Kód BuildingsGridColumnName=Název BuildingsGridColumnDescription=Popis +AgendaRooms=Místnosti + AgendaRights=Práva RightsFormTitle=Práva RightsGridRole=Role diff --git a/src/main/webapp/app/navigation.zul b/src/main/webapp/app/navigation.zul index 04b3e7c4..205e1dc5 100644 --- a/src/main/webapp/app/navigation.zul +++ b/src/main/webapp/app/navigation.zul @@ -6,24 +6,39 @@ - - - - + + + + + + - - + + - + + + + + + + + + + + + + + + + - - @@ -31,10 +46,6 @@ - - - - diff --git a/src/main/webapp/admin/addressbook/addrFindResult.zul b/src/main/webapp/lists/addressbook/addrFindResult.zul similarity index 100% rename from src/main/webapp/admin/addressbook/addrFindResult.zul rename to src/main/webapp/lists/addressbook/addrFindResult.zul diff --git a/src/main/webapp/admin/addressbook/address.zul b/src/main/webapp/lists/addressbook/address.zul similarity index 100% rename from src/main/webapp/admin/addressbook/address.zul rename to src/main/webapp/lists/addressbook/address.zul diff --git a/src/main/webapp/admin/addressbook/addressbook.zul b/src/main/webapp/lists/addressbook/addressbook.zul similarity index 97% rename from src/main/webapp/admin/addressbook/addressbook.zul rename to src/main/webapp/lists/addressbook/addressbook.zul index 112721b8..9247c8f6 100644 --- a/src/main/webapp/admin/addressbook/addressbook.zul +++ b/src/main/webapp/lists/addressbook/addressbook.zul @@ -1,126 +1,126 @@ - - - - - - - - - - - - - - - - - - - - -
-
- -
-
- -
-
-
- -
-
- -
-
- -
-
-
- -
-
- -
-
- -
-
-
- -
-
- -
-
- -
-
-
- -
-
- -
-
- -
-
-
- -
-
- -
-
- -
-
-
-
- - -
- -
-
-
-
+ + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+
+ + +
+ +
+
+
+
\ No newline at end of file diff --git a/src/main/webapp/admin/addressbook/index.zul b/src/main/webapp/lists/addressbook/index.zul similarity index 100% rename from src/main/webapp/admin/addressbook/index.zul rename to src/main/webapp/lists/addressbook/index.zul diff --git a/src/main/webapp/buildings/building.zul b/src/main/webapp/lists/buildings/building.zul similarity index 100% rename from src/main/webapp/buildings/building.zul rename to src/main/webapp/lists/buildings/building.zul diff --git a/src/main/webapp/buildings/buildingForm.zul b/src/main/webapp/lists/buildings/buildingForm.zul similarity index 100% rename from src/main/webapp/buildings/buildingForm.zul rename to src/main/webapp/lists/buildings/buildingForm.zul diff --git a/src/main/webapp/buildings/index.zul b/src/main/webapp/lists/buildings/index.zul similarity index 100% rename from src/main/webapp/buildings/index.zul rename to src/main/webapp/lists/buildings/index.zul diff --git a/src/main/webapp/material/index.zul b/src/main/webapp/lists/material/index.zul similarity index 100% rename from src/main/webapp/material/index.zul rename to src/main/webapp/lists/material/index.zul diff --git a/src/main/webapp/material/material.zul b/src/main/webapp/lists/material/material.zul similarity index 100% rename from src/main/webapp/material/material.zul rename to src/main/webapp/lists/material/material.zul diff --git a/src/main/webapp/material/materialForm.zul b/src/main/webapp/lists/material/materialForm.zul similarity index 100% rename from src/main/webapp/material/materialForm.zul rename to src/main/webapp/lists/material/materialForm.zul diff --git a/src/main/webapp/munits/index.zul b/src/main/webapp/lists/munits/index.zul similarity index 100% rename from src/main/webapp/munits/index.zul rename to src/main/webapp/lists/munits/index.zul diff --git a/src/main/webapp/munits/munitsForm.zul b/src/main/webapp/lists/munits/munitsForm.zul similarity index 100% rename from src/main/webapp/munits/munitsForm.zul rename to src/main/webapp/lists/munits/munitsForm.zul diff --git a/src/main/webapp/munits/munitsGrid.zul b/src/main/webapp/lists/munits/munitsGrid.zul similarity index 100% rename from src/main/webapp/munits/munitsGrid.zul rename to src/main/webapp/lists/munits/munitsGrid.zul