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