Skip to content

Commit

Permalink
Merge remote-tracking branch 'wagner-intevation/new-theme' into new-t…
Browse files Browse the repository at this point in the history
…heme
  • Loading branch information
cintek committed Jan 22, 2024
2 parents 5b77df7 + db34fcd commit ea1587f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/moin/themes/focus/static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ header a, header a:link, header a:visited,
padding: 0pt 6pt; }
.moin-form .submit-buttons { display: flex; column-gap: 8pt; justify-content: end;
margin: 12pt 0;
float: right;
flex-direction: row-reverse;
}
.moin-form button, .moin-form input[type="submit"] { clear: none; margin: unset; }
.moin-form button, .moin-button, .moin-form input[type="submit"] { display: flex;
Expand Down
10 changes: 5 additions & 5 deletions src/moin/themes/focus/templates/modify.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ <h1>{{ title }}</h1>
<button class="moin-button" type="button" >{{ _("Load Draft") }}</button>
{% set warning = _("Clicking this button will delete draft!") %}
{% endif %}
{{ gen.input(type='submit', id='moin-cancel-text-button', name='cancel', value=form.cancel_label,
class='moin-button moin-modify-submit negative', onclick="$('#moin-modify').removeClass('moin-changed-input')",
title=warning) }}
{{ gen.input(type='submit', id='moin-save-text-button', value=form.submit_label,
class='moin-button moin-modify-submit', title=warning, tabindex='-1') }}
{{ gen.input(type='submit', id='moin-preview-text-button', name='preview', value=form.preview_label,
class='moin-button moin-modify-submit', onclick="$('#moin-modify').removeClass('moin-changed-input')",
title=warning) }}
{{ gen.input(type='submit', id='moin-save-text-button', value=form.submit_label,
class='moin-button moin-modify-submit', title=warning) }}
{{ gen.input(type='submit', id='moin-cancel-text-button', name='cancel', value=form.cancel_label,
class='moin-button moin-modify-submit negative', onclick="$('#moin-modify').removeClass('moin-changed-input')",
title=warning) }}
</div>

{% endif %}
Expand Down

0 comments on commit ea1587f

Please sign in to comment.