Sjednoceny hlavičky pro filtrování záznamů.
Header přeformátován a texty načítány z labels. closes #77
This commit is contained in:
@@ -10,38 +10,6 @@
|
||||
<hbox width="100%">
|
||||
<listbox id="dataGrid" model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)"
|
||||
onAfterRender="@command('afterRender')" selectedIndex="@load(vm.selIndex)" hflex="6" height="480px">
|
||||
<auxhead sclass="category-center" visible="@load(vm.filter)">
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox instant="true" width="85%"
|
||||
value="@bind(vm.filterTemplate.company)" onChange="@command('doFilter')" />
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox instant="true" width="85%"
|
||||
value="@bind(vm.filterTemplate.ic)" onChange="@command('doFilter')" />
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox instant="true" width="85%"
|
||||
value="@bind(vm.filterTemplate.contactName)" onChange="@command('doFilter')"/>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox instant="true" width="85%"
|
||||
value="@bind(vm.filterTemplate.street)" onChange="@command('doFilter')"/>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox instant="true" width="85%"
|
||||
value="@bind(vm.filterTemplate.houseNumber)" onChange="@command('doFilter')"/>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox instant="true" width="85%"
|
||||
value="@bind(vm.filterTemplate.city)" onChange="@command('doFilter')"/>
|
||||
</auxheader>
|
||||
</auxhead>
|
||||
<listhead vflex="true">
|
||||
<listheader label="Firma" sort="auto(company)" onSort="@command('onSort', column='company')" />
|
||||
<listheader label="IČ" width="100px"/>
|
||||
@@ -50,6 +18,70 @@
|
||||
<listheader label="Číslo domu" width="80px"/>
|
||||
<listheader label="Město" sort="auto(city)" onSort="@command('onSort', column='city')"/>
|
||||
</listhead>
|
||||
|
||||
<auxhead sclass="category-center" visible="@load(vm.filter)">
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.company)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.ic)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.contactName)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.street)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.houseNumber)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.city)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
</auxhead>
|
||||
|
||||
<template name="model">
|
||||
<listitem>
|
||||
<listcell label="@load(each.company)"/>
|
||||
|
||||
@@ -8,30 +8,56 @@
|
||||
|
||||
<hbox width="100%" height="500px">
|
||||
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" width="650px" height="480px">
|
||||
<auxhead sclass="category-center" visible="@load(vm.filter)">
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox value="@bind(vm.filterTemplate.username)" instant="true" onChange="@command('doFilter')"/>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox value="@bind(vm.filterTemplate.personalNumber)" instant="true" onChange="@command('doFilter')"/>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox value="@bind(vm.filterTemplate.firstName)" instant="true" onChange="@command('doFilter')"/>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<image src="/img/funnel.png" />
|
||||
<textbox value="@bind(vm.filterTemplate.lastName)" instant="true" onChange="@command('doFilter')"/>
|
||||
</auxheader>
|
||||
</auxhead>
|
||||
<listhead>
|
||||
<listheader label="Login"/>
|
||||
<listheader label="Osobní číslo"/>
|
||||
<listheader label="Jméno"/>
|
||||
<listheader label="Příjmení"/>
|
||||
</listhead>
|
||||
|
||||
<auxhead sclass="category-center" visible="@load(vm.filter)">
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.username)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.personalNumber)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.firstName)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
<auxheader>
|
||||
<div sclass="find-grid-cell">
|
||||
<div sclass="find-grid-divtextbox">
|
||||
<textbox value="@bind(vm.filterTemplate.lastName)" instant="true" onChange="@command('doFilter')" sclass="find-grid-textbox" />
|
||||
</div>
|
||||
<div sclass="find-grid-img">
|
||||
<image src="/img/funnel.png" />
|
||||
</div>
|
||||
</div>
|
||||
</auxheader>
|
||||
</auxhead>
|
||||
|
||||
<template name="model">
|
||||
<listitem>
|
||||
<listcell label="@load(each.username)"/>
|
||||
|
||||
Reference in New Issue
Block a user