fix alignment and remove install button from catalog
This commit is contained in:
parent
55db0d580d
commit
bfe66ddc3a
@ -353,11 +353,14 @@ body {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
.item {
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 1em;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
height: 3em;
|
||||||
|
|
||||||
span {
|
div {
|
||||||
font-weight: bold;
|
height: 100%;
|
||||||
|
font-weight: 600;
|
||||||
|
width: 25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<div class="config">
|
<div class="config">
|
||||||
{% for key, value in config.items() %}
|
{% for key, value in config.items() %}
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span>{{ key }}:</span>
|
<div>{{ key }}:</div>
|
||||||
<form
|
<form
|
||||||
action="{{ url_for('config_set', name=key, next=url_for('plugin', name=plugin_name)) }}"
|
action="{{ url_for('config_set', name=key, next=url_for('plugin', name=plugin_name)) }}"
|
||||||
method="POST"
|
method="POST"
|
||||||
|
|||||||
@ -48,10 +48,6 @@ View and install available plugins.
|
|||||||
<form action="{{ url_for('plugin_upgrade', name=plugin.name) }}" method="POST">
|
<form action="{{ url_for('plugin_upgrade', name=plugin.name) }}" method="POST">
|
||||||
<button type="submit">Upgrade</button>
|
<button type="submit">Upgrade</button>
|
||||||
</form>
|
</form>
|
||||||
{% else %}
|
|
||||||
<form action="{{ url_for('plugin_install', name=plugin.name) }}" method="POST">
|
|
||||||
<button type="submit">Install</button>
|
|
||||||
</form>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user