Updated boxes and what-not.

This commit is contained in:
James Cole
2015-06-20 07:29:25 +02:00
parent 707f4e2965
commit 4d017dc8a9
67 changed files with 427 additions and 1167 deletions

View File

@@ -11,22 +11,22 @@
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="panel panel-primary">
<div class="panel-heading">
<div class="box box-primary">
<div class="box-header with-border">
<i class="fa {{ subTitleIcon }}"></i> {{ 'mandatoryFields'|_ }}
</div>
<div class="panel-body">
<div class="box-body">
{{ ExpandedForm.text('name') }}
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">
<div class="box">
<div class="box-header with-border">
<i class="fa fa-smile-o"></i> {{ 'optionalFields'|_ }}
</div>
<div class="panel-body">
<div class="box-body">
{% if account.accounttype.type == 'Default account' or account.accounttype.type == 'Asset account' %}
{{ ExpandedForm.balance('openingBalance',null, {'currency' : openingBalance ? openingBalance.transactionCurrency : null}) }}
{{ ExpandedForm.date('openingBalanceDate') }}
@@ -40,11 +40,11 @@
<!-- panel for credit card options -->
{% if Session.get('preFilled').accountRole == 'ccAsset' %}
<div class="panel panel-default">
<div class="panel-heading">
<div class="box">
<div class="box-header with-border">
<i class="fa fa-credit-card"></i> Credit card options
</div>
<div class="panel-body">
<div class="box-body">
{{ ExpandedForm.select('ccType',Config.get('firefly.ccTypes')) }}
{{ ExpandedForm.date('ccMonthlyPaymentDate',null,{'helpText' : 'Select any year and any month, it will be ignored anway. Only the day of the month is relevant.'}) }}
</div>
@@ -52,11 +52,11 @@
{% endif %}
<!-- panel for options -->
<div class="panel panel-default">
<div class="panel-heading">
<div class="box">
<div class="box-header with-border">
<i class="fa fa-bolt"></i> {{ 'options'|_ }}
</div>
<div class="panel-body">
<div class="box-body">
{{ ExpandedForm.optionsList('update','account') }}
</div>
</div>