Fix some styles, per flexbox layout changes
This commit is contained in:
parent
d369693f9f
commit
6a643411a4
|
@ -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">
|
||||
<div class="form-wrapper">
|
||||
${form.render()|n}
|
||||
</div>
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -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">
|
||||
<div class="form-wrapper">
|
||||
${form.render()|n}
|
||||
</div><!-- form-wrapper -->
|
||||
</div><!-- form-wrapper -->
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -30,15 +30,21 @@
|
|||
${h.end_form()}
|
||||
</%def>
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
|
||||
<br />
|
||||
<p>You are about to delete the following ${model_title} and all associated data:</p>
|
||||
<div>
|
||||
<br />
|
||||
<p>You are about to delete the following ${model_title} and all associated data:</p>
|
||||
|
||||
<div class="form-wrapper">
|
||||
<div class="form-wrapper">
|
||||
${form.render()|n}
|
||||
</div><!-- form-wrapper -->
|
||||
</div><!-- form-wrapper -->
|
||||
|
||||
${self.confirmation()}
|
||||
${self.confirmation()}
|
||||
</div>
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -44,11 +44,9 @@
|
|||
</%def>
|
||||
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
|
||||
<div class="form">
|
||||
<div class="form">
|
||||
${h.form(request.current_route_url(), class_='autodisable')}
|
||||
${h.csrf_token(request)}
|
||||
|
||||
|
@ -71,4 +69,10 @@
|
|||
</div>
|
||||
|
||||
${h.end_form()}
|
||||
</div>
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue