mirror of https://gitlab.crans.org/bde/nk20
Add light background to "Gift/Transfer" buttons
This commit is contained in:
parent
ef1e805538
commit
227cb2a801
|
@ -8,7 +8,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xl-12">
|
<div class="col-xl-12">
|
||||||
<div class="btn-group btn-group-toggle" style="width: 100%; padding: 0 0 2em 0" data-toggle="buttons">
|
<div class="btn-group btn-group-toggle bg-light" style="width: 100%" data-toggle="buttons">
|
||||||
<a href="{% url "note:transfer" %}#transfer" class="btn btn-sm btn-outline-primary">
|
<a href="{% url "note:transfer" %}#transfer" class="btn btn-sm btn-outline-primary">
|
||||||
{% trans "Transfer" %}
|
{% trans "Transfer" %}
|
||||||
</a>
|
</a>
|
||||||
|
@ -27,6 +27,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<a href="{% url "activity:activity_detail" pk=activity.pk %}">
|
<a href="{% url "activity:activity_detail" pk=activity.pk %}">
|
||||||
<button class="btn btn-light">{% trans "Return to activity page" %}</button>
|
<button class="btn btn-light">{% trans "Return to activity page" %}</button>
|
||||||
</a>
|
</a>
|
||||||
|
@ -35,7 +37,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div id="entry_table">
|
<div class="card" id="entry_table">
|
||||||
<h2 class="text-center">{{ entries.count }}
|
<h2 class="text-center">{{ entries.count }}
|
||||||
{% if entries.count >= 2 %}{% trans "entries" %}{% else %}{% trans "entry" %}{% endif %}</h2>
|
{% if entries.count >= 2 %}{% trans "entries" %}{% else %}{% trans "entry" %}{% endif %}</h2>
|
||||||
{% render_table table %}
|
{% render_table table %}
|
||||||
|
|
|
@ -9,7 +9,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
{# bandeau transfert/crédit/débit/activité #}
|
{# bandeau transfert/crédit/débit/activité #}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xl-12">
|
<div class="col-xl-12">
|
||||||
<div class="btn-group btn-group-toggle" style="width: 100%; padding: 0 0 2em 0" data-toggle="buttons">
|
<div class="btn-group btn-group-toggle bg-light" style="width: 100%" data-toggle="buttons">
|
||||||
<label for="type_transfer" class="btn btn-sm btn-outline-primary active">
|
<label for="type_transfer" class="btn btn-sm btn-outline-primary active">
|
||||||
<input type="radio" name="transaction_type" id="type_transfer">
|
<input type="radio" name="transaction_type" id="type_transfer">
|
||||||
{% trans "Transfer" %}
|
{% trans "Transfer" %}
|
||||||
|
@ -34,6 +34,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<hr>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{# Preview note profile (picture, username and balance) #}
|
{# Preview note profile (picture, username and balance) #}
|
||||||
<div class="col-md-3" id="note_infos_div">
|
<div class="col-md-3" id="note_infos_div">
|
||||||
|
|
|
@ -169,9 +169,6 @@ $(document).ready(function() {
|
||||||
type_transfer.removeAttr('checked');
|
type_transfer.removeAttr('checked');
|
||||||
$("#type_credit").removeAttr('checked');
|
$("#type_credit").removeAttr('checked');
|
||||||
$("#type_debit").removeAttr('checked');
|
$("#type_debit").removeAttr('checked');
|
||||||
$("label[for='type_transfer']").attr('class', 'btn btn-sm btn-outline-primary');
|
|
||||||
$("label[for='type_credit']").attr('class', 'btn btn-sm btn-outline-primary');
|
|
||||||
$("label[for='type_debit']").attr('class', 'btn btn-sm btn-outline-primary');
|
|
||||||
|
|
||||||
if (location.hash)
|
if (location.hash)
|
||||||
$("#type_" + location.hash.substr(1)).click();
|
$("#type_" + location.hash.substr(1)).click();
|
||||||
|
|
Loading…
Reference in New Issue