Schválený studentský projekt (karta Vše) má modrou barvu.

Schválený nestudentský projekt má zelenou barvu.
Částečně schválený projekt má žlutou barvu.

closes #172
This commit is contained in:
2014-11-10 07:56:15 +01:00
parent babb9f8312
commit 4c033deffb
7 changed files with 74 additions and 5 deletions
+13 -1
View File
@@ -76,4 +76,16 @@
.order-select-delivered {
background-color: #d19fe8 !important;
}
}
.req-select-partially {
background-color: #fffb90 !important;
}
.req-select-approved {
background-color: #afffb5 !important;
}
.req-select-approved-project {
background-color: #87cefa !important;
}
@@ -1,5 +1,6 @@
<listbox
vflex="1"
itemRenderer="@load(vm.requirementsItemRenderer)"
selectedItem="@bind(vm.dataBean)"
model="@load(vm.dataList)"
onAfterRender="@command('afterRender')"
@@ -144,7 +145,7 @@
</auxheader>
</auxhead>
<template name="model">
<listitem style="@load((each.state eq 'PARTIALLY') ? 'background-color: #fffb90' : ((each.state eq 'APPROVED') ? 'background-color: #afffb5' : ''))">
<listitem>
<listcell label="@load(each.project) @converter(vm.standardBoolConverter)" />
<listcell label="@load(each.numser)" />
<listcell label="@load(each.reqDate) @converter('formatedDate', format=labels.DateFormat)" />
@@ -2,6 +2,7 @@
<listbox
vflex="1"
hflex="7"
itemRenderer="@load(vm.requirementsItemRenderer)"
selectedItem="@bind(vm.dataBean)"
model="@load(vm.dataList)"
onAfterRender="@command('afterRender')"
@@ -171,7 +172,7 @@
</auxheader>
</auxhead>
<template name="model">
<listitem style="@load((each.state eq 'PARTIALLY') ? 'background-color: #fffb90' : ((each.state eq 'APPROVED') ? 'background-color: #afffb5' : ''))">
<listitem>
<listcell label="@load(each.project) @converter(vm.standardBoolConverter)" />
<listcell label="@load(each.numser)" />
<listcell label="@load(each.reqDate) @converter('formatedDate', format=labels.DateFormat)" />
@@ -2,6 +2,7 @@
<listbox
vflex="1"
hflex="7"
itemRenderer="@load(vm.requirementsItemRenderer)"
selectedItem="@bind(vm.dataBean)"
model="@load(vm.dataList)"
onAfterRender="@command('afterRender')"
@@ -171,7 +172,7 @@
</auxheader>
</auxhead>
<template name="model">
<listitem style="@load((each.state eq 'PARTIALLY') ? 'background-color: #fffb90' : ((each.state eq 'APPROVED') ? 'background-color: #afffb5' : ''))">
<listitem>
<listcell label="@load(each.project) @converter(vm.standardBoolConverter)" />
<listcell label="@load(each.numser)" />
<listcell label="@load(each.reqDate) @converter('formatedDate', format=labels.DateFormat)" />
@@ -2,6 +2,7 @@
<listbox
vflex="1"
hflex="7"
itemRenderer="@load(vm.requirementsItemRenderer)"
selectedItem="@bind(vm.dataBean)"
model="@load(vm.dataList)"
onAfterRender="@command('afterRender')"
@@ -171,7 +172,7 @@
</auxheader>
</auxhead>
<template name="model">
<listitem style="@load((each.state eq 'PARTIALLY') ? 'background-color: #fffb90' : ((each.state eq 'APPROVED') ? 'background-color: #afffb5' : ''))">
<listitem>
<listcell label="@load(each.project) @converter(vm.standardBoolConverter)" />
<listcell label="@load(each.numser)" />
<listcell label="@load(each.reqDate) @converter('formatedDate', format=labels.DateFormat)" />