Commit 077fdf82 by Tuukka Kivilahti

colors are nice

1 parent 8ab62ad1
......@@ -19,7 +19,7 @@
<h:form rendered="#{billListView.bills.rowCount gt 0}">
<p:dataTable styleClass="bordertable" id="billList" value="#{billListView.bills}" var="bill"
rowStyleClass="#{bill.expired ? 'expired' : null}" >
rowStyleClass="#{bill.expired ? 'expired' : (bill.paidDate != null ? 'paid' : null)}" >
<p:column rendered="#{billListView.canWriteBill}">
<f:facet name="header">
......
......@@ -300,3 +300,7 @@ button.ui-button span
.expired {
color: #c0c0c0;
}
.paid {
color: #006600;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!