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

59 lines
2.0 KiB
Twig
Raw Normal View History

2015-05-01 15:44:35 -05:00
{% extends "./layout/default.twig" %}
2015-06-19 13:59:14 -05:00
{% block breadcrumbs %}
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, what) }}
{% endblock %}
2015-05-01 15:44:35 -05:00
{% block content %}
2015-06-19 13:59:14 -05:00
2015-05-14 10:52:50 -05:00
<div class="row">
<div class="col-lg-6 col-md-8 col-sm-12 col-xs-12">
<p>
{{ ('accountExtraHelp_'~what)|_ }}
</p>
</div>
</div>
2015-05-01 15:44:35 -05:00
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
2015-06-20 00:29:25 -05:00
<div class="box">
<div class="box-header with-border">
2015-06-20 00:48:44 -05:00
<h3 class="box-title">{{ subTitle}}</h3>
2015-05-01 15:44:35 -05:00
<!-- ACTIONS MENU -->
2015-06-22 10:55:37 -05:00
<div class="box-tools pull-right">
<button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
2015-05-01 15:44:35 -05:00
<div class="btn-group">
2015-06-22 10:55:37 -05:00
<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">
2015-05-21 00:30:38 -05:00
<li><a href="{{route('accounts.create', what)}}"><i class="fa fa-plus fa-fw"></i> {{ ('make_new_' ~ what ~ '_account')|_ }}</a></li>
2015-05-01 15:44:35 -05:00
</ul>
</div>
</div>
</div>
2015-06-20 00:48:44 -05:00
<div class="box-body table-responsive no-padding">
{% include 'list/accounts.twig' %}
</div>
2015-05-01 15:44:35 -05:00
</div>
</div>
</div>
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="css/bootstrap-sortable.css" type="text/css" media="all" />
{% endblock %}
{% block scripts %}
<script type="text/javascript">
var what = '{{ what }}';
</script>
<!-- load the libraries and scripts necessary for Google Charts: -->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" src="js/gcharts.options.js"></script>
<script type="text/javascript" src="js/gcharts.js"></script>
<script type="text/javascript" src="js/bootstrap-sortable.js"></script>
<script type="text/javascript" src="js/accounts.js"></script>
{% endblock %}