Tweaks to client portal dashboard

This commit is contained in:
Hillel Coren 2017-07-03 19:36:22 +03:00
parent 2786aae871
commit 80ad0a18d4
2 changed files with 5 additions and 21 deletions

View File

@ -8,10 +8,6 @@
line-height: 1.5em;
}
div.main-container {
min-height: 700px;
}
#main-row {
background: #fff;
line-height: 1.5;
@ -39,8 +35,8 @@
}
#main-row {
margin-top: 100px;
margin-bottom: 100px;
margin-top: 80px;
margin-bottom: 80px;
}
}
@ -353,20 +349,6 @@
</div>
@endif
<div style="min-height: 550px" class="hide">
{!! Datatable::table()
->addColumn(
trans('texts.date'),
trans('texts.message'),
trans('texts.balance'),
trans('texts.adjustment'))
->setUrl(route('api.client.activity'))
->setOptions('bFilter', false)
->setOptions('aaSorting', [['0', 'desc']])
->setOptions('sPaginationType', 'bootstrap')
->render('datatable') !!}
</div>
<div class="row" id="account-row">
<div class="col-md-2 invoices-from">
{{trans('texts.invoice_from')}}

View File

@ -84,7 +84,7 @@
&& $account->getGatewayByType(GATEWAY_TYPE_TOKEN)
&& $account->token_billing_type_id != TOKEN_BILLING_DISABLED)
&nbsp;&nbsp;
{!! Button::success(strtoupper(trans('texts.update_credit_card')))->asLinkTo(URL::to("/payment/$invitationKey/credit_card?update=true")) !!}
{!! Button::success(strtoupper(trans(!empty($paymentMethods) && count($paymentMethods) ? 'texts.update_credit_card' : 'texts.add_credit_card')))->asLinkTo(URL::to("/payment/$invitationKey/credit_card?update=true")) !!}
@endif
</h3>
@ -132,6 +132,8 @@
</div>
@endforeach
@endif
<br/>&nbsp;<br/>
@endif
<center>