highlight negative user balance in select screen

This commit is contained in:
nek0 2016-03-18 22:39:52 +01:00
parent cc29424057
commit 04efb94d53
2 changed files with 6 additions and 1 deletions

View file

@ -281,3 +281,8 @@ input[type], button {
font-weight: bold; font-weight: bold;
font-size: 150%; font-size: 150%;
} }
.negative {
color: red;
font-weight: bold;
}

View file

@ -2,7 +2,7 @@ $doctype 5
<div .header> <div .header>
<ul> <ul>
<li> <li :userBalance user < 0:.negative>
_{MsgCurrentCharge (userBalance user) (appCurrency $ appSettings master)} _{MsgCurrentCharge (userBalance user) (appCurrency $ appSettings master)}
<li> <li>
<a href=@{RechargeR uId}> <a href=@{RechargeR uId}>