tab/app/views/users/show.html.haml

55 lines
2.2 KiB
Plaintext
Raw Normal View History

2015-09-08 17:39:13 +00:00
%h2= @user.name
2015-09-09 18:54:16 +00:00
2015-09-11 11:16:53 +00:00
= render 'transactions/new'
2015-09-10 19:12:03 +00:00
.panel.panel-default.data-table-filters
2015-09-11 12:52:26 +00:00
.panel-heading
2015-09-10 19:12:03 +00:00
%h3.panel-title Filters
.panel-body
2015-09-11 13:18:36 +00:00
.row
.col-md-8.col-md-offset-2
.bound.input-listen{ 'data-input-type': 'date-range', 'data-filter-name': 'Time' }
.row
.col-md-6
.input-group
%span.input-group-addon
%span.glyphicon.glyphicon-calendar
2015-09-11 14:34:09 +00:00
%input.lower-bound.form-control.filter-align{type: 'date', placeholder: 'After', class: 'pure-group-addon'}
2015-09-11 13:18:36 +00:00
.col-md-6
.input-group
%span.input-group-addon
%span.glyphicon.glyphicon-calendar
2015-09-11 14:34:09 +00:00
%input.upper-bound.form-control.filter-align{type: 'date', placeholder: 'Before', class: 'pure-group-addon'}
2015-09-11 13:18:36 +00:00
.bound.input-listen.pure-u-1{ 'data-input-type': 'number-range', 'data-filter-name': 'Amount' }
.row
.col-md-6
.input-group
%span.input-group-addon
%span.glyphicon.glyphicon-euro
%input.lower-bound.form-control.filter-align{type: 'number', placeholder: 'Minimum'}
.col-md-6
.input-group
%span.input-group-addon
%span.glyphicon.glyphicon-euro
%input.upper-bound.form-control.filter-align{type: 'number', placeholder: 'Maximum'}
.row
.col-md-4
.input-listen{ 'data-input-type': 'text', 'data-filter-name': 'Issuer' }
%input{type: 'text', placeholder: 'Filter on Issuer', class: "form-control" }
.col-md-4
.input-listen{ 'data-input-type': 'text', 'data-filter-name': 'Peer' }
%input{type: 'text', placeholder: 'Filter on Peer', class: "form-control" }
.col-md-4
.input-listen{ 'data-input-type': 'text', 'data-filter-name': 'Message' }
%input{type: 'text', placeholder: 'Filter on Message', class: "form-control" }
2015-09-10 19:12:03 +00:00
2015-09-09 19:26:19 +00:00
%table#transactions.pure-table.pure-table-striped{data: { source: user_path(@user) }}
2015-09-08 17:39:13 +00:00
%thead
%tr
2015-09-09 18:00:47 +00:00
%th Time
2015-09-08 17:39:13 +00:00
%th Amount
2015-09-09 18:00:47 +00:00
%th Peer
%th Issuer
2015-09-08 17:39:13 +00:00
%th Message
2015-09-09 18:54:16 +00:00
%tbody