mirror of
https://github.com/pretix/pretix.git
synced 2026-08-29 13:44:40 +00:00
Banktransfer: make row-headers sticky (Z#23127000) (#3537)
This commit is contained in:
+7
-7
@@ -11,10 +11,10 @@
|
|||||||
<span class="icon icon-upload"></span> {% trans "Continue" %}
|
<span class="icon icon-upload"></span> {% trans "Continue" %}
|
||||||
</button>
|
</button>
|
||||||
<div class="flipped-scroll-wrapper clearfix">
|
<div class="flipped-scroll-wrapper clearfix">
|
||||||
<table class="table table-condensed flipped-scroll-inner">
|
<table class="table table-condensed table-th-sticky-horizontal flipped-scroll-inner">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Date" %}</th>
|
<th scope="row">{% trans "Date" %}</th>
|
||||||
{% for col in rows.0 %}
|
{% for col in rows.0 %}
|
||||||
<th>
|
<th>
|
||||||
<input type="radio" name="date" value="{{ forloop.counter0 }}"/>
|
<input type="radio" name="date" value="{{ forloop.counter0 }}"/>
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Amount" %}</th>
|
<th scope="row">{% trans "Amount" %}</th>
|
||||||
{% for col in rows.0 %}
|
{% for col in rows.0 %}
|
||||||
<th>
|
<th>
|
||||||
<input type="radio" name="amount" value="{{ forloop.counter0 }}" required="required"/>
|
<input type="radio" name="amount" value="{{ forloop.counter0 }}" required="required"/>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Reference" %}</th>
|
<th scope="row">{% trans "Reference" %}</th>
|
||||||
{% for col in rows.0 %}
|
{% for col in rows.0 %}
|
||||||
<th>
|
<th>
|
||||||
<input type="checkbox" name="reference" value="{{ forloop.counter0 }}"/>
|
<input type="checkbox" name="reference" value="{{ forloop.counter0 }}"/>
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Payer" %}</th>
|
<th scope="row">{% trans "Payer" %}</th>
|
||||||
{% for col in rows.0 %}
|
{% for col in rows.0 %}
|
||||||
<th>
|
<th>
|
||||||
<input type="checkbox" name="payer" value="{{ forloop.counter0 }}"/>
|
<input type="checkbox" name="payer" value="{{ forloop.counter0 }}"/>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th scope="row">
|
||||||
{% trans "IBAN" %}
|
{% trans "IBAN" %}
|
||||||
<label for="id_iban_clear">
|
<label for="id_iban_clear">
|
||||||
<span class="btn btn-default btn-sm fa fa-close"></span>
|
<span class="btn btn-default btn-sm fa fa-close"></span>
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th scope="row">
|
||||||
{% trans "BIC" %}
|
{% trans "BIC" %}
|
||||||
<label for="id_bic_clear">
|
<label for="id_bic_clear">
|
||||||
<span class="btn btn-default btn-sm fa fa-close"></span>
|
<span class="btn btn-default btn-sm fa fa-close"></span>
|
||||||
|
|||||||
@@ -813,7 +813,11 @@ tbody[data-dnd-url] {
|
|||||||
tbody th {
|
tbody th {
|
||||||
background: $table-bg-hover;
|
background: $table-bg-hover;
|
||||||
}
|
}
|
||||||
|
.table-th-sticky-horizontal th[scope=row] {
|
||||||
|
position: sticky;
|
||||||
|
left: 0;
|
||||||
|
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 96%, rgba(255,255,255,0) 100%);;
|
||||||
|
}
|
||||||
.large-link-group {
|
.large-link-group {
|
||||||
a.list-group-item {
|
a.list-group-item {
|
||||||
&::before {
|
&::before {
|
||||||
|
|||||||
Reference in New Issue
Block a user