firefly-iii/resources/views/accounts/index.twig

46 lines
1.6 KiB
Twig
Raw Normal View History

2016-11-06 01:11:43 -06:00
{% extends "./layout/default" %}
2015-06-19 13:59:14 -05:00
{% block breadcrumbs %}
2015-06-27 01:06:24 -05:00
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, what) }}
2015-06-19 13:59:14 -05:00
{% endblock %}
2015-05-01 15:44:35 -05:00
{% block content %}
2015-06-19 13:59:14 -05:00
2015-06-27 01:06:24 -05:00
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="box" id="account-index-{{ what }}">
2015-06-27 01:06:24 -05:00
<div class="box-header with-border">
<h3 class="box-title">{{ subTitle }}</h3>
<!-- ACTIONS MENU -->
<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>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ route('accounts.create', what) }}"><i class="fa fa-plus fa-fw"></i> {{ ('make_new_' ~ what ~ '_account')|_ }}
</a></li>
</ul>
</div>
2015-05-01 15:44:35 -05:00
</div>
2015-06-27 01:06:24 -05:00
</div>
<div class="box-body table-responsive no-padding">
2016-11-06 07:52:48 -06:00
{% include 'list.accounts' %}
2015-06-27 01:06:24 -05:00
</div>
2015-06-20 00:48:44 -05:00
</div>
2015-05-01 15:44:35 -05:00
</div>
</div>
{% endblock %}
{% block styles %}
2015-06-27 01:06:24 -05:00
<link rel="stylesheet" href="css/bootstrap-sortable.css" type="text/css" media="all"/>
2015-05-01 15:44:35 -05:00
{% endblock %}
{% block scripts %}
2015-06-27 01:06:24 -05:00
<script type="text/javascript">
2016-11-25 09:54:13 -06:00
var what = '{{ what|escape }}';
2015-06-27 01:06:24 -05:00
</script>
2016-04-10 10:51:51 -05:00
<script type="text/javascript" src="js/lib/bootstrap-sortable.js"></script>
2015-05-01 15:44:35 -05:00
{% endblock %}