mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Adopt a consistent and new table style
Rows in bootstrap 4 tables are taller by default. This is better suited for mobile layouts and look prettier on desktops too. Adopting this approach instead of condensed tables eliminates the need for striping, bordering and narrower tables. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
00bc55f762
commit
fef8da230f
26 files changed
+60
-72
No files matched your search
@@ -11,22 +11,18 @@
|
||||
|
||||
<p>{% trans "Delete this archive permanently?" %}</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<table class="table table-bordered table-sm table-striped">
|
||||
<thead>
|
||||
<th>{% trans "Name" %}</th>
|
||||
<th>{% trans "Time" %}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ archive.name }}</td>
|
||||
<td>{{ archive.time }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<th>{% trans "Name" %}</th>
|
||||
<th>{% trans "Time" %}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ archive.name }}</td>
|
||||
<td>{{ archive.time }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
<form class="form" method="post">
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
<table class="table table-bordered table-condensed table-striped"
|
||||
id="archives-list">
|
||||
<table class="table" id="archives-list">
|
||||
<thead class="collapsible-button" data-toggle="collapse" data-target="#{{ uuid }}">
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
|
||||
Reference in new issue
Block a user