Fix some styles, per flexbox layout changes

This commit is contained in:
Lance Edgar 2018-12-17 22:35:42 -06:00
parent d369693f9f
commit 6a643411a4
4 changed files with 59 additions and 41 deletions

View file

@ -46,10 +46,14 @@
% endif
</%def>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
<div style="display: flex; justify-content: space-between;">
<div class="form-wrapper">
${form.render()|n}
</div>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>

View file

@ -5,10 +5,14 @@
<%def name="context_menu_items()"></%def>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
<div style="display: flex; justify-content: space-between;">
<div class="form-wrapper">
${form.render()|n}
</div><!-- form-wrapper -->
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>

View file

@ -30,10 +30,9 @@
${h.end_form()}
</%def>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
<div style="display: flex; justify-content: space-between;">
<div>
<br />
<p>You are about to delete the following ${model_title} and all associated data:</p>
@ -42,3 +41,10 @@
</div><!-- form-wrapper -->
${self.confirmation()}
</div>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>

View file

@ -44,9 +44,7 @@
</%def>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
<div style="display: flex; justify-content: space-between;">
<div class="form">
${h.form(request.current_route_url(), class_='autodisable')}
@ -72,3 +70,9 @@
${h.end_form()}
</div>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>