make tables responsive

This commit is contained in:
Matthias Mair 2021-11-17 19:23:12 +00:00
parent e97af4c074
commit df9d83b3d6
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,7 @@
{% trans "Changing the settings below require you to immediatly restart InvenTree. Do not change this while under active usage." %}
</div>
<div class='table-responsive'>
<table class='table table-striped table-condensed'>
<tbody>
{% include "InvenTree/settings/setting.html" with key="ENABLE_PLUGINS_URL" %}
@ -24,12 +25,14 @@
{% include "InvenTree/settings/setting.html" with key="ENABLE_PLUGINS_APP"%}
</tbody>
</table>
</div>
<h4>{% trans "Plugin list" %}
{% url 'admin:plugin_pluginconfig_changelist' as url %}
{% include "admin_button.html" with url=url %}
</h4>
<div class='table-responsive'>
<table class='table table-striped table-condensed'>
<thead>
<tr>
@ -94,5 +97,6 @@
{% endif %}
</tbody>
</table>
</div>
{% endblock %}

View File

@ -15,6 +15,7 @@
<div class="row">
<div class="col-md-6">
<h4>{% trans "Plugin information" %}</h4>
<div class='table-responsive'>
<table class='table table-striped table-condensed'>
<col width='25'>
<tr>
@ -63,6 +64,7 @@
</tr>
{% endif %}
</table>
</div>
{% if plugin.is_package == False %}
<p>{% trans 'The code information is pulled from the latest git commit for this plugin. It might not reflect official version numbers or information but the actual code running.' %}</p>
@ -70,6 +72,7 @@
</div>
<div class="col-md-6">
<h4>{% trans "Package information" %}</h4>
<div class='table-responsive'>
<table class='table table-striped table-condensed'>
<col width='25'>
<tr>
@ -117,6 +120,7 @@
<td class="bg-{{plugin.sign_color}}">{{ plugin.package.key }}{% include "clip.html" %}</td>
</tr>
</table>
</div>
</div>
</div>