Fix confirm_delete page
This commit is contained in:
parent
5e9fc9c0e7
commit
b2bbbb405f
3 changed files with 8 additions and 8 deletions
|
@ -21,10 +21,10 @@ table.file-input th {text-align: left}
|
|||
table.file-input tr :first-child {padding-left: 0}
|
||||
table.file-input tr :last-child {padding-right: 0}
|
||||
|
||||
form tfoot {
|
||||
.buttons {
|
||||
text-align: right;
|
||||
}
|
||||
form tfoot input {
|
||||
.buttons input {
|
||||
font: inherit;
|
||||
line-height: 1.5;
|
||||
margin-left: var(--gap);
|
||||
|
@ -32,17 +32,17 @@ form tfoot input {
|
|||
padding: 0 var(--gap);
|
||||
cursor: pointer;
|
||||
}
|
||||
form tfoot input:hover {
|
||||
.buttons input:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
form tfoot input[type="submit"] {
|
||||
.buttons input[type="submit"] {
|
||||
border: .1rem solid var(--green);
|
||||
background: var(--green-1);
|
||||
}
|
||||
form tfoot input[type="reset"] {
|
||||
.buttons input[type="reset"] {
|
||||
border: .1rem solid var(--red);
|
||||
background: var(--red-1);
|
||||
}
|
||||
form tfoot a.del {
|
||||
.buttons a.del {
|
||||
color: var(--red);
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</p>
|
||||
{{ form }}
|
||||
<div class="buttons">
|
||||
<a class="btn" href="{{ object.get_absolute_url }}">{% translate "Cancel" %}</a>
|
||||
<a href="{{ object.get_absolute_url }}">{% translate "Cancel" %}</a>
|
||||
<input class="del" type="submit" value="{% translate "Confirm" %}" />
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tfoot class="buttons">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{% block buttons %}
|
||||
|
|
Loading…
Reference in a new issue