Add buttons to views

This commit is contained in:
James Cole
2018-01-13 18:01:53 +01:00
parent a5515ac89f
commit 7d96b281b6
8 changed files with 45 additions and 12 deletions

View File

@@ -10,7 +10,9 @@
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="box" id="account-index-{{ what }}">
<div class="box-header with-border">
<h3 class="box-title">{{ subTitle }}</h3>
<h3 class="box-title">
{{ subTitle }}
</h3>
<div class="box-tools pull-right">
<div class="btn-group">
<button class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown"><i class="fa fa-ellipsis-v"></i></button>
@@ -26,9 +28,15 @@
</div>
<div class="box-body table-responsive no-padding">
<div style="padding:8px;">
<a href="{{ route('accounts.create', what) }}" class="btn btn-success"><i class="fa fa-plus fa-fw"></i> {{ ('make_new_' ~ what ~ '_account')|_ }}</a>
</div>
{% include 'list.accounts' %}
</div>
<div class="box-footer">
<a href="{{ route('accounts.create', what) }}" class="btn btn-success"><i class="fa fa-plus fa-fw"></i> {{ ('make_new_' ~ what ~ '_account')|_ }}</a>
</div>
</div>
</div>
</div>