Skip to content

Commit

Permalink
Replace custom usersuite CSS with Bootstrap classes
Browse files Browse the repository at this point in the history
  • Loading branch information
FestplattenSchnitzel committed Feb 18, 2024
1 parent 21ad02b commit ad0a9fb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
4 changes: 0 additions & 4 deletions sipa/static/css/usersuite_index.css

This file was deleted.

6 changes: 3 additions & 3 deletions sipa/templates/_traffic.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2 id="traffic">{{ _('Dein Traffic') }}</h2>
<h2 id="traffic" class="pt-3">{{ _('Dein Traffic') }}</h2>

<h3 id="traffic-table">{{ _('Traffic Tabelle') }}</h3>
<h3 id="traffic-table" class="pt-3">{{ _('Traffic Tabelle') }}</h3>
<div class="card">
<table class="card-body table table-striped mb-0">
<thead>
Expand All @@ -26,7 +26,7 @@ <h3 id="traffic-table">{{ _('Traffic Tabelle') }}</h3>
</table>
</div>

<h3 id="traffic-chart">{{ _('Traffic Diagramm') }}</h3>
<h3 id="traffic-chart" class="pt-3">{{ _('Traffic Diagramm') }}</h3>
<div class="card">
<div class="card-body">
<figure id="trafficchart">
Expand Down
4 changes: 2 additions & 2 deletions sipa/templates/usersuite/_index_status.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h2 id="hot-buttons">{{ _("Häufige Aktionen") }}</h2>
<h2 id="hot-buttons" class="pt-3">{{ _("Häufige Aktionen") }}</h2>
<div class="btn-group">
{% if current_user.can_change_password %}
<a href="{{ url_for('.change_password') }}" class="btn btn-outline-secondary">
Expand Down Expand Up @@ -74,7 +74,7 @@ <h2 id="hot-buttons">{{ _("Häufige Aktionen") }}</h2>
</a>
</div>

<h2 id="status-information">{{ _("Statusinformationen") }}</h2>
<h2 id="status-information" class="pt-3">{{ _("Statusinformationen") }}</h2>
<div class="card">
<table class="card-body table table-striped table-hover mb-0">
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion sipa/templates/usersuite/_payment_details.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h2 id="payment-details">{{ _("Zahlungsdetails") }}</h2>
<h2 id="payment-details" class="pt-3">{{ _("Zahlungsdetails") }}</h2>
<form action="#payment-details" method="post" class="form-inline"
aria-label="{{ _("Monate der Beitragszahlung angeben") }}">
{{ payment_form.csrf_token }}
Expand Down
2 changes: 1 addition & 1 deletion sipa/templates/usersuite/_transaction_log.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{%- endif %}
{%- endmacro %}

<h2 id="transaction-log">{{ _("Buchungen") }}</h2>
<h2 id="transaction-log" class="pt-3">{{ _("Buchungen") }}</h2>
<div class="card">
<table class="card-body table table-borderless table-hover mb-0">
<thead>
Expand Down

0 comments on commit ad0a9fb

Please sign in to comment.