mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Start of mass delete code. #241
This commit is contained in:
parent
3972882a33
commit
8c8bb7a930
7
public/js/ff/transactions/list.js
Normal file
7
public/js/ff/transactions/list.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
/* globals $ */
|
||||||
|
$(document).ready(function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
$('.mass_select').click(startMassSelect);
|
||||||
|
$('.mass_stop_select').click(stopMassSelect);
|
||||||
|
});
|
@ -3,7 +3,8 @@
|
|||||||
<table class="table table-hover table-compressed {% if sorting %}sortable-table{% endif %}">
|
<table class="table table-hover table-compressed {% if sorting %}sortable-table{% endif %}">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="ignore">
|
<tr class="ignore">
|
||||||
<th class="hidden-xs" colspan="2"> </th>
|
<!--<th class="hidden-xs no_select_boxes" colspan="2"> </th>-->
|
||||||
|
<th class="hidden-xs select_boxes" colspan="2" style="display: xnone;"><input name="select_all" class=""</th>
|
||||||
<th>{{ trans('list.description') }}</th>
|
<th>{{ trans('list.description') }}</th>
|
||||||
<th>{{ trans('list.amount') }}</th>
|
<th>{{ trans('list.amount') }}</th>
|
||||||
<th class="hidden-sm hidden-xs">{{ trans('list.date') }}</th>
|
<th class="hidden-sm hidden-xs">{{ trans('list.date') }}</th>
|
||||||
@ -100,5 +101,23 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
|
||||||
|
<div class="mass_button_options btn-group btn-group" style="display:none;">
|
||||||
|
<a href="#" class="btn btn-default mass_edit" style="display:none;"><i class="fa fa-fw fa-pencil"></i> Edit selected (5)</a>
|
||||||
|
<a href="#" class="btn btn-danger mass_delete" style="display:none;"><i class="fa fa-fw fa-trash"></i> Delete selected (6)</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
|
||||||
|
|
||||||
|
<div class="mass_buttons btn-group btn-group pull-right">
|
||||||
|
<a href="#" class="btn btn-default mass_select"><i class="fa fa-fw fa-check-square-o"></i> Select transactions</a>
|
||||||
|
<a href="#" class="btn btn-default mass_stop_select" style="display:none;"><i class="fa faw-fw fa-square-o" aria-hidden="true"></i> Stop selecting transactions</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||||||
{{ journals.render|raw }}
|
{{ journals.render|raw }}
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -11,7 +11,7 @@
|
|||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h3 class="box-title">{{ subTitle }}</h3>
|
<h3 class="box-title">{{ subTitle }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body table-responsive no-padding">
|
<div class="box-body">
|
||||||
{% include 'list.journals' %}
|
{% include 'list.journals' %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user