...
 
Commits (8)
......@@ -102,16 +102,34 @@ body #toast-container
h4.col
padding-left: 8px
#modal > h4
padding-left: 24px
#modal
width: 80%
left: 10%
right: 10%
max-height: 90% !important /* goes with the top: 0 from Materialize */
#modal.modal-fixed-footer
max-height: 95% !important
height: 95% !important
max-width: 95% !important
width: 95% !important
.input-field.col label
left: 0
h4
margin: 0 0 1.5rem 0
.modal-content
padding: 1.5rem 1.5rem 0 1.5rem
.modal-footer
padding: 0 1.5rem 1.5rem 1.5rem
/* cancel out materialize */
text-align: left !important;
.btn
margin: 0
.row .col
padding: 0
.modal-bottom
@extend .z-depth-3
background-color: white
z-index: 999
......
......@@ -33,10 +33,10 @@
{% endblock %}
{% block buttons %}
{{ render_button(view.title_submit, button_type="submit", button_class="btn-primary") }}
{% if request.META.get('HTTP_X_MODAL') %}
<a class="modal-close waves-effect waves-green btn-flat">{{ _('cancel') }}</a>
<a style="position: absolute; right: 0" class="modal-close waves-effect waves-green btn-flat">{{ _('cancel') }}</a>
{% endif %}
{{ render_button(view.title_submit, button_type="submit", button_class="btn-primary") }}
{% endblock %}
{% block form_close %}
......
......@@ -4,10 +4,10 @@
<div class="section no-pad-bot" id="index-banner">
<div class="container">
<br><br>
<h1 class="header center orange-text">In the train for 2018</h1>
<h1 class="header center orange-text">In the train for 2019</h1>
<div class="row center">
<h5 class="header col s12 light">
The time has come for 2018, MaterializeCSS+Turbolinks+StimulusJS+Webpack for better user experience.
The time has come for 2019, MaterializeCSS+Turbolinks+StimulusJS+Webpack for better user experience.
</h5>
</div>
<div class="row center">
......
......@@ -259,7 +259,7 @@ class Router(object):
Router with the ``detail`` slug.
Set get_absolute_url in your model class to disable this feature. Until
then, welcome in 2018.
then, you got it for free.
Also, register this router as default router for its model class in the
RouterRegistry.
......
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
......@@ -16,7 +16,6 @@ crudlfap.Router(
crudlfap.DeleteObjectsView,
crudlfap.DeleteView,
crudlfap.UpdateView.clone(
body_class='modal-fixed-footer',
fields=[
'username',
'email',
......@@ -29,7 +28,6 @@ crudlfap.Router(
]
),
crudlfap.CreateView.clone(
body_class='modal-fixed-footer',
fields=[
'username',
'email',
......