Files
firefly-iii/resources/views/bills/index.twig

47 lines
1.9 KiB
Twig
Raw Normal View History

2016-11-06 16:17:22 +01:00
{% extends "./layout/default" %}
2015-06-19 20:59:14 +02:00
{% block breadcrumbs %}
{{ Breadcrumbs.render(Route.getCurrentRoute.getName) }}
2015-06-19 20:59:14 +02:00
{% endblock %}
2015-05-02 12:51:02 +02:00
{% block content %}
2017-02-23 07:30:08 +01:00
{% if bills.count == 0 %}
{% include 'partials.empty' with {what: 'default', type: 'bills',route: route('bills.create')} %}
{% else %}
2017-12-29 09:05:35 +01:00
<div class="row">
<div class="col-lg-12 col-sm-12 col-md-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ title }}</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>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ route('bills.create') }}"><i class="fa fa-plus fa-fw"></i> {{ 'new_bill'|_ }}</a></li>
</ul>
2017-02-23 07:30:08 +01:00
</div>
2015-06-22 17:55:37 +02:00
</div>
2015-05-02 12:51:02 +02:00
</div>
2017-12-29 09:05:35 +01:00
<div class="box-body table-responsive no-padding">
2018-01-13 18:01:53 +01:00
<div style="padding:8px;">
<a class="btn btn-success" href="{{ route('bills.create') }}"><i class="fa fa-plus fa-fw"></i> {{ 'create_new_bill'|_ }}</a>
</div>
2017-12-29 09:05:35 +01:00
{% include 'list/bills' %}
</div>
2018-01-13 18:01:53 +01:00
<div class="box-footer">
<a class="btn btn-success" href="{{ route('bills.create') }}"><i class="fa fa-plus fa-fw"></i> {{ 'create_new_bill'|_ }}</a>
</div>
2015-05-02 12:51:02 +02:00
</div>
2017-12-29 09:05:35 +01:00
</div>
</div>
{% endif %}
2017-07-07 08:09:42 +02:00
{% endblock %}
2017-09-27 14:42:12 +02:00
{% block styles %}
<link href="css/bootstrap-sortable.css?v={{ FF_VERSION }}" type="text/css" rel="stylesheet" media="all">
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="js/lib/bootstrap-sortable.js?v={{ FF_VERSION }}"></script>
2017-11-08 09:05:10 +01:00
{% endblock %}