Make the apply button always visible
This commit is contained in:
parent
388d9d46fe
commit
0c1dc70217
@ -5,12 +5,24 @@ html, body {
|
|||||||
height: unset;
|
height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin-bottom: 57px;
|
||||||
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
background: gray;
|
background: #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
background-color: #222;
|
||||||
|
z-index: 2;
|
||||||
|
padding: 10px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
border-top: 1px solid #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row .map-input {
|
.row .map-input {
|
||||||
|
@ -57,8 +57,8 @@ class SettingsFormController(AuthorizationMixin, WebpageController, metaclass=AB
|
|||||||
return """
|
return """
|
||||||
<form class="settings-body" method="POST">
|
<form class="settings-body" method="POST">
|
||||||
{sections}
|
{sections}
|
||||||
<div class="buttons">
|
<div class="buttons container">
|
||||||
<button type="submit" class="btn btn-primary">Apply</button>
|
<button type="submit" class="btn btn-primary">Apply and save</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
""".format(
|
""".format(
|
||||||
|
Loading…
Reference in New Issue
Block a user