diff --git a/kfet/static/kfet/css/index.css b/kfet/static/kfet/css/index.css index 7d4324b4..f0eaedf0 100644 --- a/kfet/static/kfet/css/index.css +++ b/kfet/static/kfet/css/index.css @@ -41,10 +41,19 @@ } .frozen-account { - background:#5072e0; + background:#000FBA; color:#fff; } +.frozen-account .btn-default { + color: #aaa; +} + +.frozen-account .btn-default:hover, .frozen-account .btn-default.focus, +.frozen-account .btn-default:focus { + color: #ed2545; +} + .main .table a:not(.btn) { color: inherit; diff --git a/kfet/static/kfet/js/account.js b/kfet/static/kfet/js/account.js index 5ce3c8cd..3e216155 100644 --- a/kfet/static/kfet/js/account.js +++ b/kfet/static/kfet/js/account.js @@ -69,6 +69,8 @@ var AccountView = Backbone.View.extend({ attr_data_balance: function () { if (this.model.id == 0) { return ''; + } else if (this.model.get("is_frozen")) { + return "frozen"; } else if (this.model.get("balance") < 0) { return 'neg'; } else if (this.model.get("balance") <= 5) {