fix alignment and remove install button from catalog

This commit is contained in:
Muhammad Labeeb 2025-02-21 17:08:58 +05:00 committed by Régis Behmo
parent 55db0d580d
commit bfe66ddc3a
3 changed files with 7 additions and 8 deletions

View File

@ -353,11 +353,14 @@ body {
flex-direction: column;
.item {
display: flex;
margin-bottom: 2em;
margin-bottom: 1em;
align-items: center;
height: 3em;
span {
font-weight: bold;
div {
height: 100%;
font-weight: 600;
width: 25em;
}
input {

View File

@ -1,7 +1,7 @@
<div class="config">
{% for key, value in config.items() %}
<div class="item">
<span>{{ key }}:</span>
<div>{{ key }}:</div>
<form
action="{{ url_for('config_set', name=key, next=url_for('plugin', name=plugin_name)) }}"
method="POST"

View File

@ -48,10 +48,6 @@ View and install available plugins.
<form action="{{ url_for('plugin_upgrade', name=plugin.name) }}" method="POST">
<button type="submit">Upgrade</button>
</form>
{% else %}
<form action="{{ url_for('plugin_install', name=plugin.name) }}" method="POST">
<button type="submit">Install</button>
</form>
{% endif %}
</div>
</div>