filters.zul: csak 25 találat/oldal választható
authorSweidan Omar <TFS\sweidan.omar>
Mon, 29 Nov 2021 14:37:16 +0000 (14:37 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Mon, 29 Nov 2021 14:37:16 +0000 (14:37 +0000)
git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32372

server/user.mediacube.gui/pages/searchitems/filters.zul

index 2ecd4660d36574ac62f7061e3068cf1787737168..3aa9f3bc647f1356fdf261bb65579fc16963d8df 100644 (file)
@@ -1,20 +1,18 @@
 <zk xmlns:w="http://www.zkoss.org/2005/zk/client" xmlns:h="xhtml" xmlns:c="client" height="100%" width="100%">\r
        <menupopup id="searchSettings">\r
-               <menuitem label="10 találat oldalanként" value="10" checked="true" onClick="@command('setPageSize', source=self)" />\r
-               <menuitem label="25 találat oldalanként" value="25" checked="true" onClick="@command('setPageSize', source=self)" />\r
-               <menuitem label="50 találat oldalanként" value="50" checked="true" onClick="@command('setPageSize', source=self)" />\r
-               <menuitem label="100 találat oldalanként" value="100" checked="true" onClick="@command('setPageSize', source=self)" />\r
-               <menuitem label="200 találat oldalanként" value="200" checked="true" onClick="@command('setPageSize', source=self)" />\r
+               <menuitem label="10 találat oldalanként" value="10" checked="true" />\r
+               <menuitem label="25 találat oldalanként" value="25" checked="true" onClick="@command('setPageSize', source=self)" autocheck="true"/>\r
+               <menuitem label="50 találat oldalanként" value="50" checked="true" />\r
+               <menuitem label="100 találat oldalanként" value="100" checked="true" />\r
+               <menuitem label="200 találat oldalanként" value="200" checked="true" />\r
                <menuseparator />\r
                <menuitem label="Előzmények törlése" onClick="@command('clearHistory')" />\r
        </menupopup>\r
+\r
        <menupopup id="calendarSettings" >\r
                <menuitem label="Ma" checkmark="true" checked="@bind(vm.selectedDateOption eq self.value)" value="1" onClick="@command('setCalendar', source=self)" />\r
                <menuitem label="Hét" checkmark="true" checked="@bind(vm.selectedDateOption eq self.value)" value="2" onClick="@command('setCalendar', source=self)" />\r
                <menuitem label="Hónap" checkmark="true" checked="@bind(vm.selectedDateOption eq self.value)" value="3" onClick="@command('setCalendar', source=self)" />\r
-<!--           <menuseparator /> -->\r
-<!--           <menuitem label="Előző" value="100" onClick="@command('setCalendar', source=self)" /> -->\r
-<!--           <menuitem label="Következő" value="200" onClick="@command('setCalendar', source=self)" /> -->\r
                <menuseparator />\r
                <menuitem label="Törlés" value="300" onClick="@command('setCalendar', source=self)" />\r
        </menupopup>\r
                <h:textarea name='filterTags' placeholder='Címkék'></h:textarea>\r
        </toolbar>\r
        <toolbar id="filterToolbar" width="100%" style="background: transparent">\r
-               <toolbarbutton id="toggleShowTypeFilters" iconSclass="z-icon-caret-down" mode="toggle" onCheck="@command('toggleTypeFiltersCheck')">\r
-<!-- \r
-                       <attribute name="onCheck">\r
-                               serachDetails.open = toggleShowTypeFilters.checked;\r
-                               self.iconSclass = toggleShowTypeFilters.checked ? "z-icon-caret-up" : "z-icon-caret-down"; \r
-                       </attribute>\r
- -->\r
-           </toolbarbutton>\r
+               <toolbarbutton id="toggleShowTypeFilters" iconSclass="z-icon-caret-down" mode="toggle" onCheck="@command('toggleTypeFiltersCheck')"/>       \r
         <toolbarbutton iconSclass="z-icon-th" popup="searchSettings, after_start" />\r
                <separator orient="vertical" />\r
                <toolbarbutton iconSclass="z-icon-calendar"  popup="calendarSettings, after_start" />\r