diff --git a/tests/django_admin/admin/app_list.html b/tests/django_admin/admin/app_list.html index b20be2a..7159a9b 100644 --- a/tests/django_admin/admin/app_list.html +++ b/tests/django_admin/admin/app_list.html @@ -2,62 +2,62 @@ {% if app_list %} {% for app in app_list %}
- - - {% for model in app.models %} - - {% if model.admin_url %} - + {% for model in app.models %} + + {% if model.admin_url %} + + {% else %} + + {% endif %} + {% if model.add_url %} + + {% else %} + + {% endif %} + {% if model.admin_url and show_changelinks %} + {% if model.view_only %} + + {% else %} + {% endif %} - > - {{ model.name }} - - - {% else %} - - {% endif %} - {% if model.add_url %} - - {% else %} - - {% endif %} - {% if model.admin_url and show_changelinks %} - {% if model.view_only %} - - {% else %} - - {% endif %} - {% elif show_changelinks %} - - {% endif %} - - {% endfor %} -
- - {{ app.name }} - -
- +
+ + {{ app.name }} + +
+ + {{ model.name }} + + {{ model.name }} + + {% translate 'Add' %} + + + + {% translate 'View' %} + + + + {% translate 'Change' %} + + {{ model.name }} - - {% translate 'Add' %} - - - - {% translate 'View' %} - - - - {% translate 'Change' %} - -
-
-{% endfor %} + {% elif show_changelinks %} + + {% endif %} + + {% endfor %} + + + {% endfor %} {% else %} -

-{% translate 'You don’t have permission to view or edit anything.' %} -

+

+ {% translate 'You don’t have permission to view or edit anything.' %} +

{% endif %} diff --git a/tests/django_admin/admin/base.html b/tests/django_admin/admin/base.html index 89852c9..b5fe1b8 100644 --- a/tests/django_admin/admin/base.html +++ b/tests/django_admin/admin/base.html @@ -29,94 +29,94 @@ - -
- {% if not is_popup %} - - {% block header %} - + +
+ {% endblock %} diff --git a/tests/django_admin/admin/change_list.html b/tests/django_admin/admin/change_list.html index ececaa4..a29b361 100644 --- a/tests/django_admin/admin/change_list.html +++ b/tests/django_admin/admin/change_list.html @@ -57,57 +57,57 @@ {{ cl.formset.non_form_errors }} {% endif %}
-
- {% block search %} - {% search_form cl %} - {% endblock %} - {% block date_hierarchy %} - {% if cl.date_hierarchy %} - {% date_hierarchy cl %} - {% endif %} - {% endblock %} -
- {% csrf_token %} - {% if cl.formset %} -
- {{ cl.formset.management_form }} +
+ {% block search %} + {% search_form cl %} + {% endblock %} + {% block date_hierarchy %} + {% if cl.date_hierarchy %} + {% date_hierarchy cl %} + {% endif %} + {% endblock %} + + {% csrf_token %} + {% if cl.formset %} +
+ {{ cl.formset.management_form }} +
+ {% endif %} + {% block result_list %} + {% if action_form and actions_on_top and cl.show_admin_actions %} + {% admin_actions %} + {% endif %} + {% result_list cl %} + {% if action_form and actions_on_bottom and cl.show_admin_actions %} + {% admin_actions %} + {% endif %} + {% endblock %} + {% block pagination %} + {% pagination cl %} + {% endblock %} + +
+ {% block filters %} + {% if cl.has_filters %} +
+

{% translate 'Filter' %}

+ {% if cl.has_active_filters %} +

+ + ✖ {% translate "Clear all filters" %} + +

+ {% endif %} + {% for spec in cl.filter_specs %} + {% admin_list_filter cl spec %} + {% endfor %}
{% endif %} - {% block result_list %} - {% if action_form and actions_on_top and cl.show_admin_actions %} - {% admin_actions %} - {% endif %} - {% result_list cl %} - {% if action_form and actions_on_bottom and cl.show_admin_actions %} - {% admin_actions %} - {% endif %} - {% endblock %} - {% block pagination %} - {% pagination cl %} - {% endblock %} - + {% endblock %}
- {% block filters %} - {% if cl.has_filters %} -
-

{% translate 'Filter' %}

- {% if cl.has_active_filters %} -

- - ✖ {% translate "Clear all filters" %} - -

- {% endif %} - {% for spec in cl.filter_specs %} - {% admin_list_filter cl spec %} - {% endfor %} -
- {% endif %} - {% endblock %}
-
{% endblock %} diff --git a/tests/django_admin/admin/edit_inline/stacked.html b/tests/django_admin/admin/edit_inline/stacked.html index dacb1a4..610b3ff 100644 --- a/tests/django_admin/admin/edit_inline/stacked.html +++ b/tests/django_admin/admin/edit_inline/stacked.html @@ -14,40 +14,40 @@ {% for inline_admin_form in inline_admin_formset %}
-

- - {{ inline_admin_formset.opts.verbose_name|capfirst }}: - - - {% if inline_admin_form.original %} - {{ inline_admin_form.original }} - {% if inline_admin_form.model_admin.show_change_link and inline_admin_form.model_admin.has_registered_model %} - - {% if inline_admin_formset.has_change_permission %}{% translate "Change" %}{% else %}{% translate "View" %}{% endif %} +

+ + {{ inline_admin_formset.opts.verbose_name|capfirst }}: + + + {% if inline_admin_form.original %} + {{ inline_admin_form.original }} + {% if inline_admin_form.model_admin.show_change_link and inline_admin_form.model_admin.has_registered_model %} + + {% if inline_admin_formset.has_change_permission %}{% translate "Change" %}{% else %}{% translate "View" %}{% endif %} + + {% endif %} + {% else %} + #{{ forloop.counter }} + {% endif %} + + {% if inline_admin_form.show_url %} + + {% translate "View on site" %} {% endif %} - {% else %} - #{{ forloop.counter }} - {% endif %} - - {% if inline_admin_form.show_url %} - - {% translate "View on site" %} - - {% endif %} - {% if inline_admin_formset.formset.can_delete and inline_admin_formset.has_delete_permission and inline_admin_form.original %} - - {{ inline_admin_form.deletion_field.field }} {{ inline_admin_form.deletion_field.label_tag }} - - {% endif %} -

- {% if inline_admin_form.form.non_field_errors %}{{ inline_admin_form.form.non_field_errors }}{% endif %} - {% for fieldset in inline_admin_form %} - {% include "admin/includes/fieldset.html" %}{% endfor %} - {% if inline_admin_form.needs_explicit_pk_field %}{{ inline_admin_form.pk_field.field }}{% endif %} - {% if inline_admin_form.fk_field %}{{ inline_admin_form.fk_field.field }}{% endif %} -

- {% endfor %} - - + {% if inline_admin_formset.formset.can_delete and inline_admin_formset.has_delete_permission and inline_admin_form.original %} + + {{ inline_admin_form.deletion_field.field }} {{ inline_admin_form.deletion_field.label_tag }} + + {% endif %} + + {% if inline_admin_form.form.non_field_errors %}{{ inline_admin_form.form.non_field_errors }}{% endif %} + {% for fieldset in inline_admin_form %} + {% include "admin/includes/fieldset.html" %}{% endfor %} + {% if inline_admin_form.needs_explicit_pk_field %}{{ inline_admin_form.pk_field.field }}{% endif %} + {% if inline_admin_form.fk_field %}{{ inline_admin_form.fk_field.field }}{% endif %} + + {% endfor %} + + diff --git a/tests/django_admin/admin/edit_inline/tabular.html b/tests/django_admin/admin/edit_inline/tabular.html index 491868b..23cdeec 100644 --- a/tests/django_admin/admin/edit_inline/tabular.html +++ b/tests/django_admin/admin/edit_inline/tabular.html @@ -4,107 +4,107 @@ data-inline-type="tabular" data-inline-formset="{{ inline_admin_formset.inline_formset_data }}"> + + + + diff --git a/tests/django_admin/admin/includes/fieldset.html b/tests/django_admin/admin/includes/fieldset.html index 4d36059..738498b 100644 --- a/tests/django_admin/admin/includes/fieldset.html +++ b/tests/django_admin/admin/includes/fieldset.html @@ -7,31 +7,31 @@ {% endif %} {% for line in fieldset %}
- {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} - {% for field in line %} -
- {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} - {% if field.is_checkbox %} - {{ field.field }}{{ field.label_tag }} - {% else %} - {{ field.label_tag }} - {% if field.is_readonly %} -
- {{ field.contents }} -
+ {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} + {% for field in line %} +
+ {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} + {% if field.is_checkbox %} + {{ field.field }}{{ field.label_tag }} {% else %} - {{ field.field }} + {{ field.label_tag }} + {% if field.is_readonly %} +
+ {{ field.contents }} +
+ {% else %} + {{ field.field }} + {% endif %} {% endif %} - {% endif %} - {% if field.field.help_text %} -
- {{ field.field.help_text|safe }} -
- {% endif %} -
- {% endfor %} -
- {% endfor %} - + {% if field.field.help_text %} +
+ {{ field.field.help_text|safe }} +
+ {% endif %} +
+ {% endfor %} + + {% endfor %} + diff --git a/tests/django_admin/admin/index.html b/tests/django_admin/admin/index.html index 867311b..957bc81 100644 --- a/tests/django_admin/admin/index.html +++ b/tests/django_admin/admin/index.html @@ -28,26 +28,26 @@ - {% endif %} - + + {% endfor %} + + {% endif %} + {% endblock %} diff --git a/tests/django_admin/admin/search_form.html b/tests/django_admin/admin/search_form.html index ec2f252..adf76c7 100644 --- a/tests/django_admin/admin/search_form.html +++ b/tests/django_admin/admin/search_form.html @@ -6,16 +6,16 @@ - - - {% if show_result_count %} - - {% blocktranslate count counter=cl.result_count %} - {{ counter }} result{% plural %}{{ counter }} results - {% endblocktranslate %} - ( - + + + + {% if show_result_count %} + + {% blocktranslate count counter=cl.result_count %} + {{ counter }} result{% plural %}{{ counter }} results + {% endblocktranslate %} + ( + {% if cl.show_full_result_count %} {% blocktranslate with full_result_count=cl.full_result_count %} {{ full_result_count }} total diff --git a/tests/django_admin/admin/widgets/clearable_file_input.html b/tests/django_admin/admin/widgets/clearable_file_input.html index c24d089..0197dab 100644 --- a/tests/django_admin/admin/widgets/clearable_file_input.html +++ b/tests/django_admin/admin/widgets/clearable_file_input.html @@ -7,9 +7,7 @@ - + {% endif %}
diff --git a/tests/django_admin/admin/widgets/related_widget_wrapper.html b/tests/django_admin/admin/widgets/related_widget_wrapper.html index 176d89a..295f23d 100644 --- a/tests/django_admin/admin/widgets/related_widget_wrapper.html +++ b/tests/django_admin/admin/widgets/related_widget_wrapper.html @@ -10,25 +10,25 @@ data-href-template="{{ change_related_template_url }}?{{ url_params }}" title="{% blocktranslate %}Change selected {{ model }}{% endblocktranslate %}"> {% translate 'Change' %} -
- {% endif %} - {% if can_add_related %} - - {% translate 'Add' %} - - {% endif %} - {% if can_delete_related %} - - {% translate 'Delete' %} - - {% endif %} - {% endif %} - {% endspaceless %} - {% endblock %} - + + {% endif %} + {% if can_add_related %} + + {% translate 'Add' %} + + {% endif %} + {% if can_delete_related %} + + {% translate 'Delete' %} + + {% endif %} + {% endif %} + {% endspaceless %} + {% endblock %} + diff --git a/tests/django_admin/admin/widgets/split_datetime.html b/tests/django_admin/admin/widgets/split_datetime.html index 8d4f327..9355a62 100644 --- a/tests/django_admin/admin/widgets/split_datetime.html +++ b/tests/django_admin/admin/widgets/split_datetime.html @@ -1,7 +1,11 @@

- {{ date_label }} {% with widget=widget.subwidgets.0 %} - {% include widget.template_name %}{% endwith %} + {{ date_label }} + {% with widget=widget.subwidgets.0 %} + {% include widget.template_name %} + {% endwith %}
- {{ time_label }} {% with widget=widget.subwidgets.1 %} - {% include widget.template_name %}{% endwith %} + {{ time_label }} + {% with widget=widget.subwidgets.1 %} + {% include widget.template_name %} + {% endwith %}

diff --git a/tests/django_admin/registration/password_reset_confirm.html b/tests/django_admin/registration/password_reset_confirm.html index 1f8c454..be40a0e 100644 --- a/tests/django_admin/registration/password_reset_confirm.html +++ b/tests/django_admin/registration/password_reset_confirm.html @@ -21,16 +21,12 @@
{{ form.new_password1.errors }} - + {{ form.new_password1 }}
{{ form.new_password2.errors }} - + {{ form.new_password2 }}
diff --git a/tests/django_admin/registration/password_reset_form.html b/tests/django_admin/registration/password_reset_form.html index 82a204d..a9bee27 100644 --- a/tests/django_admin/registration/password_reset_form.html +++ b/tests/django_admin/registration/password_reset_form.html @@ -19,9 +19,7 @@
{{ form.email.errors }} - + {{ form.email }}
diff --git a/tests/django_cms/admin/cms/page/change_form.html b/tests/django_cms/admin/cms/page/change_form.html index 53a51ad..c5a5b74 100644 --- a/tests/django_cms/admin/cms/page/change_form.html +++ b/tests/django_cms/admin/cms/page/change_form.html @@ -60,71 +60,74 @@ {% endif %}action="?language={{ language }}{% if request.GET.parent_node %}&parent_node={{ request.GET.parent_node }}{% endif %}{% if request.GET.source %}&source={{ request.GET.source }}{% endif %}" method="post" id="page_form"> - {% csrf_token %} - {% block form_top %}{% endblock %} -
- {% if show_language_tabs and not show_permissions %} -
- {% for lang_code, lang_name in language_tabs %} - - {% endfor %} -
-
- {% endif %} -
- {% if is_popup %}{% endif %} - {% if save_on_top %}{% submit_row %}{% endif %} - {% if errors %} -

- {% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} -

- - {% endif %} - {% for fieldset in adminform %} - {% include "admin/cms/page/includes/fieldset.html" %}{% endfor %} - {% for inline_admin_formset in inline_admin_formsets %} - {% include inline_admin_formset.opts.template %}{% endfor %} - {% if show_permissions %} - {% if CMS_PERMISSION and can_change_permissions %} -
- -
- {% endif %} - {% endif %} - {% block after_related_objects %}{% endblock %} - {% if add %} -
- - -
- {% else %} - {% page_submit_row %} - {% endif %} -
- - - {% block admin_change_form_document_ready %} - {{ block.super }} - {% endblock %} - {% for url in unihandecode_urls %}{% endfor %} - {% if unihandecode_urls %} - + {% if show_language_tabs and not show_permissions %} +
+ {% for lang_code, lang_name in language_tabs %} + + {% endfor %} +
+
{% endif %} - {# JavaScript for prepopulated fields #} - {% prepopulated_fields_js %} - {% endblock %} +
+ {% if is_popup %}{% endif %} + {% if save_on_top %}{% submit_row %}{% endif %} + {% if errors %} +

+ {% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} +

+ + {% endif %} + {% for fieldset in adminform %} + {% include "admin/cms/page/includes/fieldset.html" %}{% endfor %} + {% for inline_admin_formset in inline_admin_formsets %} + {% include inline_admin_formset.opts.template %}{% endfor %} + {% if show_permissions %} + {% if CMS_PERMISSION and can_change_permissions %} +
+ +
+ {% endif %} + {% endif %} + {% block after_related_objects %}{% endblock %} + {% if add %} +
+ + +
+ {% else %} + {% page_submit_row %} + {% endif %} +
+ + + {% block admin_change_form_document_ready %} + {{ block.super }} + {% endblock %} + {% for url in unihandecode_urls %}{% endfor %} + {% if unihandecode_urls %} + + {% endif %} + {# JavaScript for prepopulated fields #} + {% prepopulated_fields_js %} + {% endblock %} diff --git a/tests/django_cms/admin/cms/page/permissions.html b/tests/django_cms/admin/cms/page/permissions.html index 50034e2..b1e7e36 100644 --- a/tests/django_cms/admin/cms/page/permissions.html +++ b/tests/django_cms/admin/cms/page/permissions.html @@ -21,55 +21,55 @@ {% for row in rows %} {% with permission=row.permission %} - - - {% if row.is_global %} - {% if row.can_change %} - - {% trans "(global)" %} - - {% else %} - {% trans "(global)" %} - {% endif %} - {% else %} - {% if permission.page_id == page.id %} - {% trans "(current)" %} - {% else %} + + + {% if row.is_global %} {% if row.can_change %} - - {{ permission.page }} + + {% trans "(global)" %} {% else %} - {{ permission.page }} + {% trans "(global)" %} + {% endif %} + {% else %} + {% if permission.page_id == page.id %} + {% trans "(current)" %} + {% else %} + {% if row.can_change %} + + {{ permission.page }} + + {% else %} + {{ permission.page }} + {% endif %} {% endif %} {% endif %} - {% endif %} - - {{ permission.user|default_if_none:"-" }} - {{ permission.group|default_if_none:"-" }} - {{ permission.can_change|boolean_icon }} - {{ permission.can_add|boolean_icon }} - {{ permission.can_delete|boolean_icon }} - {{ permission.can_publish|boolean_icon }} - - {{ permission.can_change_permissions|boolean_icon }} - - {{ permission.can_move_page|boolean_icon }} - {{ permission.can_view|boolean_icon }} - - {% if row.is_global %} - {% trans "All" %} - {% else %} - {{ permission.get_grant_on_display }} - {% endif %} - - - {% endwith %} - {% endfor %} - - + + {{ permission.user|default_if_none:"-" }} + {{ permission.group|default_if_none:"-" }} + {{ permission.can_change|boolean_icon }} + {{ permission.can_add|boolean_icon }} + {{ permission.can_delete|boolean_icon }} + {{ permission.can_publish|boolean_icon }} + + {{ permission.can_change_permissions|boolean_icon }} + + {{ permission.can_move_page|boolean_icon }} + {{ permission.can_view|boolean_icon }} + + {% if row.is_global %} + {% trans "All" %} + {% else %} + {{ permission.get_grant_on_display }} + {% endif %} + + + {% endwith %} + {% endfor %} + + {% else %} -

- {% trans "Page doesn't inherit any permissions." %} -

+

+ {% trans "Page doesn't inherit any permissions." %} +

{% endif %} diff --git a/tests/django_cms/admin/cms/page/submit_row.html b/tests/django_cms/admin/cms/page/submit_row.html index 91199e8..0a35328 100644 --- a/tests/django_cms/admin/cms/page/submit_row.html +++ b/tests/django_cms/admin/cms/page/submit_row.html @@ -14,21 +14,21 @@ {% if show_buttons %} - {% trans "Basic Settings" %} - - - {% trans "Advanced Settings" %} - -{% endif %} -

-{% if show_save_as_new %} - -{% endif %} -{% if show_save_and_add_another %} - -{% endif %} -{% if show_save_and_continue %} - -{% endif %} + {% trans "Basic Settings" %} + + + {% trans "Advanced Settings" %} + + {% endif %} +

+ {% if show_save_as_new %} + + {% endif %} + {% if show_save_and_add_another %} + + {% endif %} + {% if show_save_and_continue %} + + {% endif %} diff --git a/tests/django_cms/admin/cms/page/tree/actions_dropdown.html b/tests/django_cms/admin/cms/page/tree/actions_dropdown.html index 8f4fa55..10695db 100644 --- a/tests/django_cms/admin/cms/page/tree/actions_dropdown.html +++ b/tests/django_cms/admin/cms/page/tree/actions_dropdown.html @@ -39,124 +39,124 @@ data-id="{{ page.pk }}" data-node-id="{{ node.pk }}" class="{% if has_add_permission %}js-cms-tree-item-paste{% endif %} {% if not has_add_permission or not paste_enabled %} cms-pagetree-dropdown-item-disabled{% endif %}"> - - {% filter escapejs %}{% trans "Paste" %}{% endfilter %} - - -
  • - {% if has_delete_permission %} - - {% else %} - - {% endif %} - - {% filter escapejs %}{% trans "Delete" %}...{% endfilter %} + + {% filter escapejs %}{% trans "Paste" %}{% endfilter %}
  • - {% if has_change_permission and page.is_potential_home %} -
  • - - - {% filter escapejs %}{% trans "Set as home" %}{% endfilter %} - -
  • - {% else %} -
  • - - - {% filter escapejs %}{% trans "Set as home" %}{% endfilter %} - -
  • - {% endif %}
  • - {% if has_change_advanced_settings_permission %} - {% else %} {% endif %} - - {% filter escapejs %}{% trans "Advanced settings" %}{% endfilter %} + + {% filter escapejs %}{% trans "Delete" %}...{% endfilter %}
  • - {% if CMS_PERMISSION %} -
  • - {% if has_change_permissions_permission %} - - {% else %} - - {% endif %} - - {% filter escapejs %}{% trans "Permissions" %}{% endfilter %} - -
  • - {% endif %} - {% endblock actions %} -
  • -   -
  • + {% if has_change_permission and page.is_potential_home %} +
  • + + + {% filter escapejs %}{% trans "Set as home" %}{% endfilter %} + +
  • + {% else %} +
  • + + + {% filter escapejs %}{% trans "Set as home" %}{% endfilter %} + +
  • + {% endif %}
  • - {% if page.publication_date %} -

    - {% filter escapejs %}{% trans "publication date" %}{% endfilter %}: - {{ page.publication_date|date:"Y-m-d" }} -

    - {% endif %} - {% if page.publication_end_date %} -

    - {% filter escapejs %}{% trans "publication end date" %}{% endfilter %}: - {{ page.publication_end_date|date:"Y-m-d" }} -

    - {% endif %} -

    - {% filter escapejs %}{% trans "is restricted" %}{% endfilter %}: - {% if page_is_restricted %} - {% filter escapejs %}{% trans "Yes" %}{% endfilter %} + {% if has_change_advanced_settings_permission %} + {% else %} - {% filter escapejs %}{% trans "No" %}{% endfilter %} + + {% endif %} + + {% filter escapejs %}{% trans "Advanced settings" %}{% endfilter %} + +

  • + {% if CMS_PERMISSION %} +
  • + {% if has_change_permissions_permission %} + + {% else %} + + {% endif %} + + {% filter escapejs %}{% trans "Permissions" %}{% endfilter %} + +
  • + {% endif %} + {% endblock actions %} +
  • +   +
  • +
  • + {% if page.publication_date %} +

    + {% filter escapejs %}{% trans "publication date" %}{% endfilter %}: + {{ page.publication_date|date:"Y-m-d" }} +

    + {% endif %} + {% if page.publication_end_date %} +

    + {% filter escapejs %}{% trans "publication end date" %}{% endfilter %}: + {{ page.publication_end_date|date:"Y-m-d" }} +

    {% endif %} -

    - {% if page.changed_by %}

    - {% filter escapejs %}{% trans "last change by" %}{% endfilter %}: - {{ page.changed_by }} + {% filter escapejs %}{% trans "is restricted" %}{% endfilter %}: + {% if page_is_restricted %} + {% filter escapejs %}{% trans "Yes" %}{% endfilter %} + {% else %} + {% filter escapejs %}{% trans "No" %}{% endfilter %} + {% endif %}

    - {% endif %} - {% if page.changed_date %} -

    - - {% filter escapejs %}{% trans "last change on" %}{% endfilter %}: - - {{ page.changed_date|date:"Y-m-d H:i:s" }} -

    - {% endif %} - {% if page.get_template_display %} -

    - - {% filter escapejs %}{% trans "template" %}{% endfilter %}: - - {{ page.get_template_display }} -

    - {% endif %} - {% if metadata %} -

    - - {% filter escapejs %}{% trans "meta" %}{% endfilter %}: - - {{ metadata }} -

    - {% endif %} - {% if page.site %} -

    - - {% filter escapejs %}{% trans "site" %}{% endfilter %}: - - {{ page.site }} -

    - {% endif %} -
  • - - {% endspaceless %} + {% if page.changed_by %} +

    + {% filter escapejs %}{% trans "last change by" %}{% endfilter %}: + {{ page.changed_by }} +

    + {% endif %} + {% if page.changed_date %} +

    + + {% filter escapejs %}{% trans "last change on" %}{% endfilter %}: + + {{ page.changed_date|date:"Y-m-d H:i:s" }} +

    + {% endif %} + {% if page.get_template_display %} +

    + + {% filter escapejs %}{% trans "template" %}{% endfilter %}: + + {{ page.get_template_display }} +

    + {% endif %} + {% if metadata %} +

    + + {% filter escapejs %}{% trans "meta" %}{% endfilter %}: + + {{ metadata }} +

    + {% endif %} + {% if page.site %} +

    + + {% filter escapejs %}{% trans "site" %}{% endfilter %}: + + {{ page.site }} +

    + {% endif %} + + + {% endspaceless %} diff --git a/tests/django_cms/cms/toolbar/clipboard.html b/tests/django_cms/cms/toolbar/clipboard.html index c923c45..58c14fe 100644 --- a/tests/django_cms/cms/toolbar/clipboard.html +++ b/tests/django_cms/cms/toolbar/clipboard.html @@ -3,6 +3,7 @@
    {% if clipboard_plugin %} - {% include cms_toolbar.templates.drag_item_template with clipboard="true" plugin=clipboard_plugin %}{% endif %} -
    + {% include cms_toolbar.templates.drag_item_template with clipboard="true" plugin=clipboard_plugin %} + {% endif %} + diff --git a/tests/django_cms/cms/toolbar/dragitem.html b/tests/django_cms/cms/toolbar/dragitem.html index ef49b78..5bee299 100644 --- a/tests/django_cms/cms/toolbar/dragitem.html +++ b/tests/django_cms/cms/toolbar/dragitem.html @@ -1,77 +1,79 @@ {% load i18n l10n cms_tags %} {% with allow_children=plugin.get_plugin_class.allow_children disable_child_plugins=plugin.get_plugin_class.disable_child_plugins %} -
    -
    -{% if not disabled_child %} -
    - -
    -
    - {% if not allow_children %} - - {% else %} - - {% endif %} -
    -
    -{% else %} -
    - -
    -{% endif %} -
    -
    - - - - - {% render_extra_menu_items plugin %} -
    -
    -{% if not clipboard %} -
    -
    - -
    - {# plugin child classes here #} -
    -{% endif %} - -{{ plugin.get_plugin_name }} -{{ plugin.get_short_description }} - -
    -
    -{% if plugin.child_plugin_instances %} -{% for child in plugin.child_plugin_instances %} -{% include cms_toolbar.templates.drag_item_template with plugin=child disabled_child=disable_child_plugins %}{% endfor %} -{% endif %} -
    -
    -{% endwith %} +
    +
    + {% if not disabled_child %} +
    + +
    +
    + {% if not allow_children %} + + {% else %} + + {% endif %} +
    +
    + {% else %} +
    + +
    + {% endif %} +
    +
    + + + + + {% render_extra_menu_items plugin %} +
    +
    + {% if not clipboard %} +
    +
    + +
    + {# plugin child classes here #} +
    + {% endif %} + + {{ plugin.get_plugin_name }} + {{ plugin.get_short_description }} + +
    +
    + {% if plugin.child_plugin_instances %} + {% for child in plugin.child_plugin_instances %} + {% include cms_toolbar.templates.drag_item_template with plugin=child disabled_child=disable_child_plugins %}{% endfor %} + {% endif %} +
    +
    + {% endwith %} diff --git a/tests/django_cms/cms/toolbar/items/button.html b/tests/django_cms/cms/toolbar/items/button.html index edf5d49..4b0c543 100644 --- a/tests/django_cms/cms/toolbar/items/button.html +++ b/tests/django_cms/cms/toolbar/items/button.html @@ -1,4 +1,4 @@ -{{ name }} + {{ name }} diff --git a/tests/django_cms/cms/toolbar/items/button_modal.html b/tests/django_cms/cms/toolbar/items/button_modal.html index bf4c3c5..190e93d 100644 --- a/tests/django_cms/cms/toolbar/items/button_modal.html +++ b/tests/django_cms/cms/toolbar/items/button_modal.html @@ -1,5 +1,5 @@ -{{ name }} + {% if on_close %}data-on-close="{{ on_close }}" {% endif %} + > + {{ name }} diff --git a/tests/django_cms/cms/toolbar/items/button_sideframe.html b/tests/django_cms/cms/toolbar/items/button_sideframe.html index f92d38a..e8f61e0 100644 --- a/tests/django_cms/cms/toolbar/items/button_sideframe.html +++ b/tests/django_cms/cms/toolbar/items/button_sideframe.html @@ -1,5 +1,5 @@ -{{ name }} + {% if on_close %}data-on-close="{{ on_close }}" {% endif %} + > + {{ name }} diff --git a/tests/django_cms/cms/toolbar/items/dropdown_button.html b/tests/django_cms/cms/toolbar/items/dropdown_button.html index a593b1e..ecdc8b6 100644 --- a/tests/django_cms/cms/toolbar/items/dropdown_button.html +++ b/tests/django_cms/cms/toolbar/items/dropdown_button.html @@ -1,5 +1,5 @@ -{{ name }} - + {{ name }} + diff --git a/tests/django_cms/cms/toolbar/items/item_ajax.html b/tests/django_cms/cms/toolbar/items/item_ajax.html index 264d07c..d5032cb 100644 --- a/tests/django_cms/cms/toolbar/items/item_ajax.html +++ b/tests/django_cms/cms/toolbar/items/item_ajax.html @@ -1,13 +1,13 @@
  • - - - {{ name }} - - - + + + {{ name }} + + +
  • diff --git a/tests/django_cms/cms/toolbar/items/item_link.html b/tests/django_cms/cms/toolbar/items/item_link.html index 31f85ee..c7964be 100644 --- a/tests/django_cms/cms/toolbar/items/item_link.html +++ b/tests/django_cms/cms/toolbar/items/item_link.html @@ -1,10 +1,10 @@
  • - - - {{ name }} - - - + + + {{ name }} + + +
  • diff --git a/tests/django_cms/cms/toolbar/items/item_modal.html b/tests/django_cms/cms/toolbar/items/item_modal.html index bb50b80..4a7d88f 100644 --- a/tests/django_cms/cms/toolbar/items/item_modal.html +++ b/tests/django_cms/cms/toolbar/items/item_modal.html @@ -1,12 +1,12 @@
  • - - - {{ name }} - - - + + + {{ name }} + + +
  • diff --git a/tests/django_cms/cms/toolbar/items/item_sideframe.html b/tests/django_cms/cms/toolbar/items/item_sideframe.html index 918a904..e370b1a 100644 --- a/tests/django_cms/cms/toolbar/items/item_sideframe.html +++ b/tests/django_cms/cms/toolbar/items/item_sideframe.html @@ -1,12 +1,12 @@
  • - - - {{ name }} - - - + + + {{ name }} + + +
  • diff --git a/tests/django_cms/cms/toolbar/items/menu.html b/tests/django_cms/cms/toolbar/items/menu.html index c213ca2..1d5a51f 100644 --- a/tests/django_cms/cms/toolbar/items/menu.html +++ b/tests/django_cms/cms/toolbar/items/menu.html @@ -1,15 +1,15 @@
  • - - - {{ title }} - - - -{% if items %} - -{% endif %} + + + {{ title }} + + + + {% if items %} + + {% endif %}
  • diff --git a/tests/django_cms/cms/toolbar/plugin.html b/tests/django_cms/cms/toolbar/plugin.html index 0592900..aa4dc11 100644 --- a/tests/django_cms/cms/toolbar/plugin.html +++ b/tests/django_cms/cms/toolbar/plugin.html @@ -5,15 +5,15 @@ {% if content %} {{ content }}{% elif render_model_icon %} - {% elif render_model_add %} - - {% else %} - {{ rendered_content }} - {% endif %} - {% spaceless %} - - {% addtoblock "js" %} - +{% elif render_model_add %} + +{% else %} + {{ rendered_content }} +{% endif %} +{% spaceless %} + + {% addtoblock "js" %} + CMS._plugins.push(['cms-plugin-{% if generic %}{{ generic.app_label }}-{{ generic.model_name }}-{% if attribute_name %}{{ attribute_name|slugify }}-{% endif %}{% endif %}{{ instance.pk|unlocalize }}', { type: {% if generic %}'generic'{% else %}'plugin'{% endif %}, placeholder_id: '{{ instance.placeholder_id|unlocalize }}', @@ -39,6 +39,6 @@ CMS._plugins.push(['cms-plugin-{% if generic %}{{ generic.app_label }}-{{ generi copy_plugin: '{% if copy_url %}{{ copy_url }}{% else %}{% cms_admin_url "cms_page_copy_plugins" %}{% endif %}' } {% endlanguage %} }]); - - {% endaddtoblock %} - {% endspaceless %} + + {% endaddtoblock %} +{% endspaceless %} diff --git a/tests/django_cms/cms/toolbar/toolbar.html b/tests/django_cms/cms/toolbar/toolbar.html index c14909c..9ea9861 100644 --- a/tests/django_cms/cms/toolbar/toolbar.html +++ b/tests/django_cms/cms/toolbar/toolbar.html @@ -3,7 +3,7 @@ class="cms cms-reset {% if not user.is_authenticated %}cms-toolbar-auth{% endif %} {% if debug %}cms-toolbar-debug{% endif %}" dir="ltr" data-touch-action="none"> -{% block toolbar_top %}{% endblock toolbar_top %} + {% block toolbar_top %}{% endblock toolbar_top %} {# start: toolbar #}
    @@ -36,4 +36,4 @@
    {# end: toolbar #} {% block toolbar_bottom %}{% endblock toolbar_bottom %} - + diff --git a/tests/django_cms/cms/toolbar/toolbar_with_structure.html b/tests/django_cms/cms/toolbar/toolbar_with_structure.html index a6e9f35..4854c8e 100644 --- a/tests/django_cms/cms/toolbar/toolbar_with_structure.html +++ b/tests/django_cms/cms/toolbar/toolbar_with_structure.html @@ -39,68 +39,70 @@ {% endspaceless %} {% if cms_toolbar.edit_mode_active %} - {% include 'cms/toolbar/clipboard.html' with clipboard_plugin=cms_toolbar.clipboard_plugin %}{% endif %} -
    -
    - - - - - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    + {% include 'cms/toolbar/clipboard.html' with clipboard_plugin=cms_toolbar.clipboard_plugin %} + {% endif %} +
    +
    + + + + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    - {# start: structure #} -
    -
    - {% if cms_renderer.load_structure %} - {% for placeholder in cms_renderer.get_rendered_editable_placeholders %} -
    +
    + {# start: structure #} +
    +
    + {% if cms_renderer.load_structure %} + {% for placeholder in cms_renderer.get_rendered_editable_placeholders %} +
    {% include cms_toolbar.templates.dragbar_template with placeholder=placeholder %}
    {% trans "Drop a plugin here" %}
    {% for plugin in placeholder.get_cached_plugins %} - {% include cms_toolbar.templates.drag_item_template with plugin=plugin %}{% endfor %} -
    + {% include cms_toolbar.templates.drag_item_template with plugin=plugin %} + {% endfor %}
    - {% endfor %} - {% endif %} +
    + {% endfor %} + {% endif %} +
    +
    + {# end: structure #} + {% if cms_toolbar.redirect_url %} +
    +
    +

    {% trans "This page has no preview!" %}

    +

    + {% trans "It is being redirected to:" %} + + {{ cms_toolbar.redirect_url }} + +

    - {# end: structure #} - {% if cms_toolbar.redirect_url %} -
    -
    -

    {% trans "This page has no preview!" %}

    -

    - {% trans "It is being redirected to:" %} - - {{ cms_toolbar.redirect_url }} - -

    -
    -
    - {% endif %} - - {% endblock toolbar_bottom %} + +{% endblock toolbar_bottom %} diff --git a/tests/django_cms/cms/wizards/includes/form_fields.html b/tests/django_cms/cms/wizards/includes/form_fields.html index f2c075d..ec1db95 100755 --- a/tests/django_cms/cms/wizards/includes/form_fields.html +++ b/tests/django_cms/cms/wizards/includes/form_fields.html @@ -5,28 +5,28 @@
    {% for field in form.visible_fields %}
    - {% if field.errors %} -
      - {% for error in field.errors %} -
    • - {{ error }} -
    • - {% endfor %} -
    - {% endif %} -
    - - {{ field }} - {% if field.help_text %} -

    - {{ field.help_text }} -

    + {% if field.errors %} +
      + {% for error in field.errors %} +
    • + {{ error }} +
    • + {% endfor %} +
    {% endif %} +
    + + {{ field }} + {% if field.help_text %} +

    + {{ field.help_text }} +

    + {% endif %} +
    -
    -{% endfor %} + {% endfor %}
    diff --git a/tests/django_cms/cms/wizards/wizardoptionwidget.html b/tests/django_cms/cms/wizards/wizardoptionwidget.html index a9164da..536899b 100644 --- a/tests/django_cms/cms/wizards/wizardoptionwidget.html +++ b/tests/django_cms/cms/wizards/wizardoptionwidget.html @@ -1,11 +1,11 @@ {% for group, entries, index in widget.optgroups %} {% for entry in entries %} -{% endfor %} + + {{ entry.label }} + {{ entry.attrs.description }} + + {% endfor %} {% endfor %} diff --git a/tests/django_ledger/auth/login.html b/tests/django_ledger/auth/login.html index e10579f..316e116 100644 --- a/tests/django_ledger/auth/login.html +++ b/tests/django_ledger/auth/login.html @@ -15,18 +15,18 @@
    -{# + {#

    #} {# Hero title#} -{# + {#

    #} -{# + {#

    #} {# Hero subtitle#} -{# + {#

    #}
    diff --git a/tests/django_ledger/includes/card_po.html b/tests/django_ledger/includes/card_po.html index cb4f0d5..21e1c8e 100644 --- a/tests/django_ledger/includes/card_po.html +++ b/tests/django_ledger/includes/card_po.html @@ -14,56 +14,56 @@

    Status: - {{ po_model.get_po_status_display }} - -

    -

    - Inventory Purchase: - {% if po_model.for_inventory %} - {% icon 'ant-design:check-circle-filled' 24 %} - {% else %} - - {% icon 'maki:roadblock-11' 24 %} + {{ po_model.get_po_status_display }} - {% endif %} -

    -

    - Fulfilled: - {% if po_model.fulfilled %} - {% icon 'ant-design:check-circle-filled' 24 %} - {{ po_model.fulfillment_date | date }} - {% else %} - - {% icon 'maki:roadblock-11' 24 %} - - {% endif %} -

    + +

    + Inventory Purchase: + {% if po_model.for_inventory %} + {% icon 'ant-design:check-circle-filled' 24 %} + {% else %} + + {% icon 'maki:roadblock-11' 24 %} + + {% endif %} +

    +

    + Fulfilled: + {% if po_model.fulfilled %} + {% icon 'ant-design:check-circle-filled' 24 %} + {{ po_model.fulfillment_date | date }} + {% else %} + + {% icon 'maki:roadblock-11' 24 %} + + {% endif %} +

    +
    +
    - + {% endif %} +{% else %} + {% endif %} -{% else %} - -{% endif %} diff --git a/tests/django_ledger/includes/nav.html b/tests/django_ledger/includes/nav.html index 77269b6..b0ceaee 100644 --- a/tests/django_ledger/includes/nav.html +++ b/tests/django_ledger/includes/nav.html @@ -8,32 +8,32 @@ - + diff --git a/tests/django_ledger/po_detail.html b/tests/django_ledger/po_detail.html index 2e99aaf..3ec1572 100644 --- a/tests/django_ledger/po_detail.html +++ b/tests/django_ledger/po_detail.html @@ -69,43 +69,43 @@ {{ item.quantity }} {{ item.unit_cost }} - {% currency_symbol %}{{ item.total_amount | currency_format }} - - - {% if item.po_item_status %}{{ item.get_po_item_status_display }}{% endif %} - + {% currency_symbol %}{{ item.total_amount | currency_format }} + + + {% if item.po_item_status %}{{ item.get_po_item_status_display }}{% endif %} + + + {% if item.bill_model_id %} + + View Bill + + {% endif %} + + + {% endfor %} + + + + + - {% if item.bill_model_id %} - - View Bill - - {% endif %} + Total PO Amount + + {% currency_symbol %}{{ total_amount_due | currency_format }} + + + - {% endfor %} - - - - - - - Total PO Amount - - - {% currency_symbol %}{{ total_amount_due | currency_format }} - - - - - - + + + + +
    + {% include 'django_ledger/includes/card_markdown.html' with style='card_1' title='PO Notes' notes_html=po_model.notes_html %} +
    -
    - {% include 'django_ledger/includes/card_markdown.html' with style='card_1' title='PO Notes' notes_html=po_model.notes_html %} -
    - - -{% endblock %} + {% endblock %} diff --git a/tests/django_ledger/tags/data_import_job_txs_imported.html b/tests/django_ledger/tags/data_import_job_txs_imported.html index 38cf19e..49f40c7 100644 --- a/tests/django_ledger/tags/data_import_job_txs_imported.html +++ b/tests/django_ledger/tags/data_import_job_txs_imported.html @@ -16,17 +16,17 @@ {{ imported_tx.date_posted }} {{ imported_tx.name }} - ${{ imported_tx.amount }} - - {{ imported_tx.earnings_account }} - {{ imported_tx.tx }} - - - View - - - - {% endfor %} - - + ${{ imported_tx.amount }} + + {{ imported_tx.earnings_account }} + {{ imported_tx.tx }} + + + View + + + + {% endfor %} + + diff --git a/tests/django_ledger/tags/data_import_job_txs_table.html b/tests/django_ledger/tags/data_import_job_txs_table.html index 83a36a8..c3c9770 100644 --- a/tests/django_ledger/tags/data_import_job_txs_table.html +++ b/tests/django_ledger/tags/data_import_job_txs_table.html @@ -28,26 +28,26 @@ {{ txf.date_posted.value }} {{ txf.name.value }} - ${{ txf.amount.value }} - - {{ txf.earnings_account }} - {{ txf.tx_import }} - - {% endfor %} - - + ${{ txf.amount.value }} + + {{ txf.earnings_account }} + {{ txf.tx_import }} + + {% endfor %} + +
    -
    - -
    - +
    + +
    +
    diff --git a/tests/django_ledger/tags/vendor_table.html b/tests/django_ledger/tags/vendor_table.html index 7ebf2fa..908e87a 100644 --- a/tests/django_ledger/tags/vendor_table.html +++ b/tests/django_ledger/tags/vendor_table.html @@ -26,7 +26,7 @@
    - - + {% include 'oscar/partials/form_field.html' with field=form.email %} + {% endif %} + + {% trans "or" %} + + {% trans "cancel" %} + + + + {% endblock %} diff --git a/tests/django_oscar/oscar/catalogue/reviews/review_list.html b/tests/django_oscar/oscar/catalogue/reviews/review_list.html index c71ce96..52c47ca 100644 --- a/tests/django_oscar/oscar/catalogue/reviews/review_list.html +++ b/tests/django_oscar/oscar/catalogue/reviews/review_list.html @@ -11,41 +11,42 @@ {% trans "Home" %} {% with category=product.categories.all.0 %} - {% for c in category.get_ancestors_and_self %} + {% for c in category.get_ancestors_and_self %} + + {% endfor %} - {% endfor %} - - {% endwith %} - - - + + {% endblock %} {% block headertext %} -{% trans "Customer reviews" %} + {% trans "Customer reviews" %} {% endblock %} {% block content %} -
    - {% include 'oscar/catalogue/reviews/review_product.html' %} - {% if reviews %} -
    - {% include "oscar/partials/form_fields_inline.html" with form=form %} - -
    -
    - {% for review in reviews %} - {% include 'oscar/catalogue/partials/review.html' %}{% endfor %} +
    + {% include 'oscar/catalogue/reviews/review_product.html' %} + {% if reviews %} +
    + {% include "oscar/partials/form_fields_inline.html" with form=form %} + +
    +
    + {% for review in reviews %} + {% include 'oscar/catalogue/partials/review.html' %} + {% endfor %} {% include 'oscar/partials/pagination.html' %} {% else %}

    diff --git a/tests/django_oscar/oscar/catalogue/reviews/review_product.html b/tests/django_oscar/oscar/catalogue/reviews/review_product.html index cfad5d0..8a9b163 100644 --- a/tests/django_oscar/oscar/catalogue/reviews/review_product.html +++ b/tests/django_oscar/oscar/catalogue/reviews/review_product.html @@ -3,9 +3,9 @@

    {% with image=product.primary_image %} - {% oscar_thumbnail image.original "x155" upscale=False as thumb %} - - {{ product.get_title }} + {% oscar_thumbnail image.original "x155" upscale=False as thumb %} + + {{ product.get_title }} {% endwith %}
    diff --git a/tests/django_oscar/oscar/checkout/checkout.html b/tests/django_oscar/oscar/checkout/checkout.html index 4f1ba60..8c327f3 100644 --- a/tests/django_oscar/oscar/checkout/checkout.html +++ b/tests/django_oscar/oscar/checkout/checkout.html @@ -7,167 +7,168 @@ {% trans "Checkout" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' %}{% endblock %} - {% block content %} - {% if error %} -
    - {{ error }} -
    - {% endif %} -
    - {% block shipping_address %} -
    -
    -

    {% trans "Shipping" %}

    -
    - {% if shipping_address %} -
    -

    - {% trans "Address" %} - {% block shipping_address_actions %} - - {% trans "Change" %} - - {% endblock %} -

    -
    - {% for field in shipping_address.active_address_fields %} - {{ field }} -
    - {% endfor %} -
    - {% if shipping_address.phone_number %} -

    {% trans "Contact" %}

    -

    - {% trans "Phone" %}: {{ shipping_address.phone_number }} - {% if guest_email %} -
    - {% trans "Email" %}: {{ guest_email }} - {% endif %} -

    - {% endif %} - {% if shipping_address.notes %} -

    {% trans "Instructions" %}

    -

    - {{ shipping_address.notes|linebreaks }} -

    - {% endif %} -
    - {% endif %} - {% if shipping_method %} -
    -

    - {% trans "Shipping method" %} - {% block shipping_method_actions %} - - {% trans "Change" %} - - {% endblock %} -

    -

    - {{ shipping_method.name }} - {% if shipping_method.description %}- {{ shipping_method.description|safe }}{% endif %} -

    -
    - {% endif %} + {% include 'oscar/checkout/nav.html' %} +{% endblock %} +{% block content %} + {% if error %} +
    + {{ error }} +
    + {% endif %} +
    + {% block shipping_address %} +
    +
    +

    {% trans "Shipping" %}

    - {% endblock shipping_address %} - {# You will almost certainly want to override this block to provide a payment summary #} - {% block payment_method %} -
    -
    -

    {% trans "Payment" %}

    -
    -
    + {% if shipping_address %} +

    - {% trans "Payment" %} - - {% trans "Change" %} - + {% trans "Address" %} + {% block shipping_address_actions %} + + {% trans "Change" %} + + {% endblock %} +

    +
    + {% for field in shipping_address.active_address_fields %} + {{ field }} +
    + {% endfor %} +
    + {% if shipping_address.phone_number %} +

    {% trans "Contact" %}

    +

    + {% trans "Phone" %}: {{ shipping_address.phone_number }} + {% if guest_email %} +
    + {% trans "Email" %}: {{ guest_email }} + {% endif %} +

    + {% endif %} + {% if shipping_address.notes %} +

    {% trans "Instructions" %}

    +

    + {{ shipping_address.notes|linebreaks }} +

    + {% endif %} +
    + {% endif %} + {% if shipping_method %} +
    +

    + {% trans "Shipping method" %} + {% block shipping_method_actions %} + + {% trans "Change" %} + + {% endblock %}

    - {% trans "Payment details to go here" %} + {{ shipping_method.name }} + {% if shipping_method.description %}- {{ shipping_method.description|safe }}{% endif %}

    + {% endif %} +
    + {% endblock shipping_address %} + {# You will almost certainly want to override this block to provide a payment summary #} + {% block payment_method %} +
    +
    +

    {% trans "Payment" %}

    - {% endblock payment_method %} +
    +

    + {% trans "Payment" %} + + {% trans "Change" %} + +

    +

    + {% trans "Payment details to go here" %} +

    +
    +
    + {% endblock payment_method %} +
    + {% block order_contents %} +
    + {% block order_contents_actions %} + + {% trans "Edit order contents" %} + + {% endblock %} +

    {% trans "Order contents" %}

    - {% block order_contents %} -
    - {% block order_contents_actions %} - - {% trans "Edit order contents" %} - - {% endblock %} -

    {% trans "Order contents" %}

    +
    +
    +

    + {% trans "Item" %} +

    +

    + {% trans "Quantity" %} +

    +

    + {% trans "Total" %} +

    -
    +
    + {% for line in basket.all_lines %} + {% purchase_info_for_line request line as session %} +
    -

    - {% trans "Item" %} -

    -

    - {% trans "Quantity" %} -

    -

    - {% trans "Total" %} -

    -
    -
    - {% for line in basket.all_lines %} - {% purchase_info_for_line request line as session %} -
    -
    -
    -
    - {% with image=line.product.primary_image %} +
    +
    + {% with image=line.product.primary_image %} {% oscar_thumbnail image.original "100x100" upscale=False as thumb %} {{ product.get_title }} - - {% endwith %} -
    -
    -
    -

    - - {{ line.description }} -

    - - {{ session.availability.message }} - -
    -
    - {{ line.quantity }} -
    -
    -

    - {% if not show_tax_separately and line.is_tax_known %} - {{ line.line_price_incl_tax|currency:basket.currency }} - {% else %} - {{ line.line_price_excl_tax|currency:basket.currency }} - {% endif %} -

    + {% endwith %}
    -
    - {% endfor %} -
    -
    -   -
    -
    -
    -

    {% trans 'Totals' %}

    +
    +

    + + {{ line.description }} + +

    + + {{ session.availability.message }} + +
    +
    + {{ line.quantity }} +
    +
    +

    + {% if not show_tax_separately and line.is_tax_known %} + {{ line.line_price_incl_tax|currency:basket.currency }} + {% else %} + {{ line.line_price_excl_tax|currency:basket.currency }} + {% endif %} +

    - {% include 'oscar/basket/partials/basket_totals.html' %}
    - {% endblock order_contents %} - {% block shipping_method %}{% endblock shipping_method %} - {% block payment_details %}{% endblock payment_details %} - {% block place_order %}{% endblock place_order %} - {% endblock content %} + {% endfor %} +
    +
    +   +
    +
    +
    +

    {% trans 'Totals' %}

    +
    + {% include 'oscar/basket/partials/basket_totals.html' %} +
    +
    + {% endblock order_contents %} + {% block shipping_method %}{% endblock shipping_method %} + {% block payment_details %}{% endblock payment_details %} + {% block place_order %}{% endblock place_order %} +{% endblock content %} diff --git a/tests/django_oscar/oscar/checkout/gateway.html b/tests/django_oscar/oscar/checkout/gateway.html index 240ba24..3f1830b 100644 --- a/tests/django_oscar/oscar/checkout/gateway.html +++ b/tests/django_oscar/oscar/checkout/gateway.html @@ -5,23 +5,24 @@ {% trans "Checkout gateway" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' with step=0 %}{% endblock %} - {% block checkout_title %} - {% trans "Who are you?" %} - {% endblock %} - {% block content %} -
    - {% csrf_token %} - {{ form.non_field_errors }} - {% include "oscar/partials/form_field.html" with field=form.username %} -
    -
    -
    - {{ form.options.0 }} -
    + {% include 'oscar/checkout/nav.html' with step=0 %} +{% endblock %} +{% block checkout_title %} + {% trans "Who are you?" %} +{% endblock %} +{% block content %} + + {% csrf_token %} + {{ form.non_field_errors }} + {% include "oscar/partials/form_field.html" with field=form.username %} +
    +
    +
    + {{ form.options.0 }}
    -
    +
    +
    {{ form.options.errors }}
    diff --git a/tests/django_oscar/oscar/checkout/layout.html b/tests/django_oscar/oscar/checkout/layout.html index 76ed5ec..e15919e 100644 --- a/tests/django_oscar/oscar/checkout/layout.html +++ b/tests/django_oscar/oscar/checkout/layout.html @@ -42,4 +42,5 @@
    - {% include "oscar/partials/footer_checkout.html" %}{% endblock %} + {% include "oscar/partials/footer_checkout.html" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/checkout/nav.html b/tests/django_oscar/oscar/checkout/nav.html index 8a41194..b23c643 100644 --- a/tests/django_oscar/oscar/checkout/nav.html +++ b/tests/django_oscar/oscar/checkout/nav.html @@ -39,7 +39,8 @@
  • 3 %}visited {% else %} -disabled{% endif %} +disabled +{% endif %} {% endif %} {% endif %} "> diff --git a/tests/django_oscar/oscar/checkout/payment_details.html b/tests/django_oscar/oscar/checkout/payment_details.html index dd925cf..8f60f4b 100644 --- a/tests/django_oscar/oscar/checkout/payment_details.html +++ b/tests/django_oscar/oscar/checkout/payment_details.html @@ -4,43 +4,44 @@ {% trans "Payment details" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' with step=3 %}{% endblock %} - {% block checkout_title %} - {% trans "Enter payment details" %} - {% endblock %} - {% block order_contents %}{% endblock %} - {% block shipping_address %}{% endblock %} - {% block shipping_method %}{% endblock %} - {% block payment_method %}{% endblock %} - {% block payment_details %} - {% block payment_details_content %} -

    - {% trans "This page needs implementing within your project. You may want to use one of Oscar's payment gateway libraries:" %} -

    - - - {% trans "Continue" %} - - {% endblock payment_details_content %} - {% endblock payment_details %} + {% include 'oscar/checkout/nav.html' with step=3 %} +{% endblock %} +{% block checkout_title %} + {% trans "Enter payment details" %} +{% endblock %} +{% block order_contents %}{% endblock %} +{% block shipping_address %}{% endblock %} +{% block shipping_method %}{% endblock %} +{% block payment_method %}{% endblock %} +{% block payment_details %} + {% block payment_details_content %} +

    + {% trans "This page needs implementing within your project. You may want to use one of Oscar's payment gateway libraries:" %} +

    + + + {% trans "Continue" %} + + {% endblock payment_details_content %} +{% endblock payment_details %} diff --git a/tests/django_oscar/oscar/checkout/preview.html b/tests/django_oscar/oscar/checkout/preview.html index 8768bf3..fb29f5a 100644 --- a/tests/django_oscar/oscar/checkout/preview.html +++ b/tests/django_oscar/oscar/checkout/preview.html @@ -4,34 +4,35 @@ {% trans "Order preview" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' with step=4 %}{% endblock %} - {% block checkout_title %} - {% trans "Preview order" %} - {% endblock %} - {% block place_order %} - - {% csrf_token %} - - {% comment %} - When submitting sensitive data on the payment details page (eg a bankcard) - we don't want to save the data and so we pass the bound form to the preview - template and render it in a hidden div. Then the payment information will - get re-submitted when the user confirms the order. - {% endcomment %} -
    - {% block hiddenforms %}{% endblock %} -
    -
    -
    -
    - -
    + {% include 'oscar/checkout/nav.html' with step=4 %} +{% endblock %} +{% block checkout_title %} + {% trans "Preview order" %} +{% endblock %} +{% block place_order %} + + {% csrf_token %} + + {% comment %} + When submitting sensitive data on the payment details page (eg a bankcard) + we don't want to save the data and so we pass the bound form to the preview + template and render it in a hidden div. Then the payment information will + get re-submitted when the user confirms the order. + {% endcomment %} +
    + {% block hiddenforms %}{% endblock %} +
    +
    +
    +
    +
    - +
    + {% endblock place_order %} diff --git a/tests/django_oscar/oscar/checkout/shipping_address.html b/tests/django_oscar/oscar/checkout/shipping_address.html index d08d749..098fe8e 100644 --- a/tests/django_oscar/oscar/checkout/shipping_address.html +++ b/tests/django_oscar/oscar/checkout/shipping_address.html @@ -4,104 +4,105 @@ {% trans "Shipping address" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' with step=1 %}{% endblock %} - {% block checkout_title %} - {% trans "Shipping address" %} - {% endblock %} - {% block order_contents %}{% endblock %} - {% block shipping_address %} -
    -
    -

    {% trans "Where should we ship to?" %}

    -
    - {% if user.is_authenticated %} - {% if addresses %} -

    {% trans "An address from your address book?" %}

    -
    -
    - {% for address in addresses %} - {% block select_address_form %} -
    -
    -
    - {% block select_address_fields %} - {% for field in address.active_address_fields %} - {{ field }} - {% if not forloop.first %}
    {% endif %} - {% endfor %} - {% endblock %} -
    -
    - {% csrf_token %} - - - {% if address.is_default_for_shipping %} - - {% else %} - - {% endif %} -
    +

    {% trans "Or a new address?" %}

    + {% endif %} + {% endif %} + {% block new_address_form %} +
    +
    + {% csrf_token %} + {% include "oscar/partials/form_fields.html" with form=form style='horizontal' %} +
    +
    + + {% trans "or" %} + + {% trans "return to basket" %} +
    -

    {% trans "Or a new address?" %}

    - {% endif %} - {% endif %} - {% block new_address_form %} -
    - - {% csrf_token %} - {% include "oscar/partials/form_fields.html" with form=form style='horizontal' %} -
    -
    - - {% trans "or" %} - - {% trans "return to basket" %} - -
    -
    - -
    - {% endblock %} -
    - {% endblock shipping_address %} - {% block shipping_method %}{% endblock %} - {% block payment_method %}{% endblock %} + +
    + {% endblock %} +
    +{% endblock shipping_address %} +{% block shipping_method %}{% endblock %} +{% block payment_method %}{% endblock %} diff --git a/tests/django_oscar/oscar/checkout/shipping_methods.html b/tests/django_oscar/oscar/checkout/shipping_methods.html index 4c424c4..41a804e 100644 --- a/tests/django_oscar/oscar/checkout/shipping_methods.html +++ b/tests/django_oscar/oscar/checkout/shipping_methods.html @@ -6,64 +6,65 @@ {% trans "Shipping method" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' with step=2 %}{% endblock %} - {% block checkout_title %} - {% trans "Shipping method" %} - {% endblock %} - {% block order_contents %}{% endblock %} - {% block shipping_address %}{% endblock %} - {% block payment_method %}{% endblock %} - {% block shipping_method %} -
    -
    -

    {% trans "Method" %}

    -

    {% trans "Cost" %}

    -
    + {% include 'oscar/checkout/nav.html' with step=2 %} +{% endblock %} +{% block checkout_title %} + {% trans "Shipping method" %} +{% endblock %} +{% block order_contents %}{% endblock %} +{% block shipping_address %}{% endblock %} +{% block payment_method %}{% endblock %} +{% block shipping_method %} +
    +
    +

    {% trans "Method" %}

    +

    {% trans "Cost" %}

    - {% for method in methods %} -
    -
    -
    -

    {{ method.name }}

    - {% if method.description %} -

    - {{ method.description|safe }} -

    - {% endif %} - {% if method.is_discounted %} - - {% shipping_charge_discount method basket as discount %} - {% blocktrans with amount=discount|currency:basket.currency name=method.discount_name %} - This includes a discount of - {{ amount }} - as - your basket qualifies for the - {{ name }} - offer. - {% endblocktrans %} - - {% endif %} -
    -
    - {% shipping_charge method basket as charge %} - {% if charge.is_tax_known %} - {{ charge.incl_tax|currency:basket.currency }} - {% else %} - {{ charge.excl_tax|currency:basket.currency }} - {% endif %} -
    -
    -
    - {% csrf_token %} - - -
    -
    +
    + {% for method in methods %} +
    +
    +
    +

    {{ method.name }}

    + {% if method.description %} +

    + {{ method.description|safe }} +

    + {% endif %} + {% if method.is_discounted %} + + {% shipping_charge_discount method basket as discount %} + {% blocktrans with amount=discount|currency:basket.currency name=method.discount_name %} + This includes a discount of + {{ amount }} + as + your basket qualifies for the + {{ name }} + offer. + {% endblocktrans %} + + {% endif %} +
    +
    + {% shipping_charge method basket as charge %} + {% if charge.is_tax_known %} + {{ charge.incl_tax|currency:basket.currency }} + {% else %} + {{ charge.excl_tax|currency:basket.currency }} + {% endif %} +
    +
    +
    + {% csrf_token %} + + +
    - {% endfor %} - {% endblock shipping_method %} +
    + {% endfor %} +{% endblock shipping_method %} diff --git a/tests/django_oscar/oscar/checkout/thank_you.html b/tests/django_oscar/oscar/checkout/thank_you.html index 914f31a..e7310c7 100644 --- a/tests/django_oscar/oscar/checkout/thank_you.html +++ b/tests/django_oscar/oscar/checkout/thank_you.html @@ -9,217 +9,219 @@ | {{ block.super }} {% endblock title %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' with step=5 %}{% endblock %} - {% block checkout_title %} + {% include 'oscar/checkout/nav.html' with step=5 %} +{% endblock %} +{% block checkout_title %} + {% blocktrans with number=order.number %} + Order {{ number }}: confirmation + {% endblocktrans %} +{% endblock %} +{% block content %} +

    {% blocktrans with number=order.number %} - Order {{ number }}: confirmation + Your order has been placed and a confirmation email has been sent - your order number is + {{ number }} + . {% endblocktrans %} - {% endblock %} - {% block content %} -

    - {% blocktrans with number=order.number %} - Your order has been placed and a confirmation email has been sent - your order number is - {{ number }} - . - {% endblocktrans %} - {% trans "Please make a note of this reference or print this page and quote it in any communication with us regarding your order." %} -

    -
    -
    - {% block shipping_info %} -
    -

    {% trans "Shipping" %}

    -
    -
    -

    {% trans "Address" %}

    - {% if order.shipping_address %} -
    - {% for field in order.shipping_address.active_address_fields %} - {{ field }} + {% trans "Please make a note of this reference or print this page and quote it in any communication with us regarding your order." %} +

    +
    +
    + {% block shipping_info %} +
    +

    {% trans "Shipping" %}

    +
    +
    +

    {% trans "Address" %}

    + {% if order.shipping_address %} +
    + {% for field in order.shipping_address.active_address_fields %} + {{ field }} +
    + {% endfor %} +
    + {% if order.shipping_address.phone_number %} +

    {% trans "Contact" %}

    +

    + {% trans "Phone" %}: {{ order.shipping_address.phone_number }} + {% if order.guest_email %}
    - {% endfor %} -

    - {% if order.shipping_address.phone_number %} -

    {% trans "Contact" %}

    -

    - {% trans "Phone" %}: {{ order.shipping_address.phone_number }} - {% if order.guest_email %} -
    - {% trans "Email" %}: {{ order.guest_email }} - {% endif %} -

    - {% endif %} - {% if order.shipping_address.notes %} -

    {% trans "Instructions" %}

    -

    - {{ order.shipping_address.notes|linebreaks }} -

    - {% endif %} - {% else %} -

    - {% trans "No shipping address required." %} -

    - {% endif %} -
    -
    -

    {% trans "Shipping method" %}

    -

    - {{ order.shipping_method }} -

    -
    - {% endblock %} -
    -
    - {% block payment_info %} -
    -

    {% trans "Payment" %}

    -
    -
    -

    {% trans "Payment" %}

    - {% for source in order.sources.all %} -

    - {% if source.reference %} - {% blocktrans with amount=source.amount_allocated|currency:source.currency type=source.source_type.name reference=source.reference %} - Allocation of {{ amount }} from type {{ type }} (reference: {{ reference }}) - {% endblocktrans %} - {% else %} - {% blocktrans with amount=source.amount_allocated|currency:source.currency type=source.source_type.name %} - Allocation of {{ amount }} from type {{ type }} - {% endblocktrans %} + {% trans "Email" %}: {{ order.guest_email }} {% endif %}

    - {% empty %} -

    - {% trans "No payment was required for this order." %} -

    - {% endfor %} - {% if order.billing_address %} -

    {% trans "Billing address" %}

    -
    - {% for field in order.billing_address.active_address_fields %} - {{ field }} -
    - {% endfor %} -
    {% endif %} -
    - {% endblock %} -
    -
    - {% block order_contents %} -
    -

    {% trans "Order contents" %}

    -
    -
    -
    -

    - {% trans "Items purchased" %} -

    -

    - {% trans "Quantity" %} -

    -

    - {% trans "Total" %} + {% if order.shipping_address.notes %} +

    {% trans "Instructions" %}

    +

    + {{ order.shipping_address.notes|linebreaks }} +

    + {% endif %} + {% else %} +

    + {% trans "No shipping address required." %} +

    + {% endif %} +
    +
    +

    {% trans "Shipping method" %}

    +

    + {{ order.shipping_method }}

    + {% endblock %} +
    +
    + {% block payment_info %} +
    +

    {% trans "Payment" %}

    +
    +
    +

    {% trans "Payment" %}

    + {% for source in order.sources.all %} +

    + {% if source.reference %} + {% blocktrans with amount=source.amount_allocated|currency:source.currency type=source.source_type.name reference=source.reference %} + Allocation of {{ amount }} from type {{ type }} (reference: {{ reference }}) + {% endblocktrans %} + {% else %} + {% blocktrans with amount=source.amount_allocated|currency:source.currency type=source.source_type.name %} + Allocation of {{ amount }} from type {{ type }} + {% endblocktrans %} + {% endif %} +

    + {% empty %} +

    + {% trans "No payment was required for this order." %} +

    + {% endfor %} + {% if order.billing_address %} +

    {% trans "Billing address" %}

    +
    + {% for field in order.billing_address.active_address_fields %} + {{ field }} +
    + {% endfor %} +
    + {% endif %} +
    + {% endblock %} +
    +
    + {% block order_contents %} +
    +

    {% trans "Order contents" %}

    +
    +
    +
    +

    + {% trans "Items purchased" %} +

    +

    + {% trans "Quantity" %} +

    +

    + {% trans "Total" %} +

    - {% for line in order.lines.all %} -
    -
    -
    -
    - {% with image=line.product.primary_image %} +
    + {% for line in order.lines.all %} +
    +
    +
    +
    + {% with image=line.product.primary_image %} {% oscar_thumbnail image.original "200x200" upscale=False as thumb %} {{ product.get_title }} - - {% endwith %} -
    -
    -
    -

    - - {{ line.description }} -

    - {% if line.upc %} -

    - {{ line.upc }} -

    - {% endif %} + {% endwith %}
    -
    - {{ line.quantity }} -
    -
    -

    - {% if show_tax_separately %} - {{ line.line_price_before_discounts_excl_tax|currency:order.currency }} - {% else %} - {{ line.line_price_before_discounts_incl_tax|currency:order.currency }} - {% endif %} +

    +
    +

    + + {{ line.description }} + +

    + {% if line.upc %} +

    + {{ line.upc }}

    -
    + {% endif %}
    -
    - {% endfor %} - {% block basket_totals %} -
    -
    -   +
    + {{ line.quantity }}
    -
    -
    -

    - {% trans 'Totals' %} -

    -
    - {% include 'oscar/order/partials/basket_totals.html' %} -
    -
    - {% endblock basket_totals %} - {% endblock order_contents %} - {% block order_tracking %} - {% if not order.user %} -
    -

    - {% trans "Tracking your order" %} -

    -
    -

    - {% trans "You can track the status of your order" %} - - {% trans "View order status" %} - - . -

    - {% endif %} - {% endblock %} - {% block order_actions %} -
    -
    - -
    -

    - - {% trans "Continue shopping" %} - +

    +

    + {% if show_tax_separately %} + {{ line.line_price_before_discounts_excl_tax|currency:order.currency }} + {% else %} + {{ line.line_price_before_discounts_incl_tax|currency:order.currency }} + {% endif %}

    - {% endblock order_actions %} - {% endblock content %} - {% block tracking %} - {% if send_analytics_event %} - {% include "oscar/partials/google_analytics_transaction.html" %}{% endif %} - {% endblock %} + {% endfor %} + {% block basket_totals %} +
    +
    +   +
    +
    +
    +

    + {% trans 'Totals' %} +

    +
    + {% include 'oscar/order/partials/basket_totals.html' %} +
    +
    + {% endblock basket_totals %} + {% endblock order_contents %} + {% block order_tracking %} + {% if not order.user %} +
    +

    + {% trans "Tracking your order" %} +

    +
    +

    + {% trans "You can track the status of your order" %} + + {% trans "View order status" %} + + . +

    + {% endif %} + {% endblock %} + {% block order_actions %} + + {% endblock order_actions %} +{% endblock content %} +{% block tracking %} + {% if send_analytics_event %} + {% include "oscar/partials/google_analytics_transaction.html" %} + {% endif %} +{% endblock %} diff --git a/tests/django_oscar/oscar/checkout/user_address_delete.html b/tests/django_oscar/oscar/checkout/user_address_delete.html index 93a7ff1..013212e 100644 --- a/tests/django_oscar/oscar/checkout/user_address_delete.html +++ b/tests/django_oscar/oscar/checkout/user_address_delete.html @@ -8,31 +8,32 @@ {% block payment_method %}{% endblock %} {% block payment_details %}{% endblock %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' with step=1 %}{% endblock %} - {% block checkout_title %} - {% trans "Delete address?" %} - {% endblock %} - {% block shipping_address %} -
    - {% csrf_token %} -
    -
    - {% for field in object.active_address_fields %} - {{ field }} -
    - {% endfor %} -
    -
    -

    - {% trans "Are you sure you want to delete this address?" %} - - {% trans "or" %} - - {% trans "cancel" %} - - . -

    -
    - {% endblock shipping_address %} + {% include 'oscar/checkout/nav.html' with step=1 %} +{% endblock %} +{% block checkout_title %} + {% trans "Delete address?" %} +{% endblock %} +{% block shipping_address %} +
    + {% csrf_token %} +
    +
    + {% for field in object.active_address_fields %} + {{ field }} +
    + {% endfor %} +
    +
    +

    + {% trans "Are you sure you want to delete this address?" %} + + {% trans "or" %} + + {% trans "cancel" %} + + . +

    +
    +{% endblock shipping_address %} diff --git a/tests/django_oscar/oscar/checkout/user_address_form.html b/tests/django_oscar/oscar/checkout/user_address_form.html index 6ce5da7..18ec4b2 100644 --- a/tests/django_oscar/oscar/checkout/user_address_form.html +++ b/tests/django_oscar/oscar/checkout/user_address_form.html @@ -8,29 +8,28 @@ {% block payment_method %}{% endblock %} {% block payment_details %}{% endblock %} {% block checkout_nav %} - {% include 'oscar/checkout/nav.html' with step=1 %}{% endblock %} - {% block checkout_title %} - {% trans "Edit address" %} - {% endblock %} - {% block shipping_address %} -
    -
    - {% csrf_token %} - {% include "oscar/partials/form_fields.html" with form=form style='horizontal' %} -
    -
    - - {% trans "or" %} - - {% trans "cancel" %} - - . -
    + {% include 'oscar/checkout/nav.html' with step=1 %} +{% endblock %} +{% block checkout_title %} + {% trans "Edit address" %} +{% endblock %} +{% block shipping_address %} +
    + + {% csrf_token %} + {% include "oscar/partials/form_fields.html" with form=form style='horizontal' %} +
    +
    + + {% trans "or" %} + + {% trans "cancel" %} + + .
    - -
    - {% endblock shipping_address %} +
    + +
    +{% endblock shipping_address %} diff --git a/tests/django_oscar/oscar/communication/notifications/list.html b/tests/django_oscar/oscar/communication/notifications/list.html index 7a5e688..3bc2fc2 100644 --- a/tests/django_oscar/oscar/communication/notifications/list.html +++ b/tests/django_oscar/oscar/communication/notifications/list.html @@ -5,87 +5,87 @@
  • - - -{% if notifications %} -{% include "oscar/partials/pagination.html" %} -
    - {% csrf_token %} - - - {% for notification in notifications %} - - - - - - - {% endfor %} - -
    - - - {% if notification.is_read %} - - {% else %} - - {% endif %} - - {% if notification.is_read %} - {{ notification.subject|safe }} - {% else %} - {{ notification.subject|safe }} - {% endif %} -
    - {{ notification.date_sent }} -
    - - {% trans 'View' %} - - {% if list_type == 'inbox' %} - - {% trans 'Archive' context 'verb' %} - - {% endif %} - - {% trans 'Delete' %} - -
    - {% trans "With selected items:" %} - {% if list_type == 'inbox' %} - + {% trans 'Inbox' %} + + + + + {% if notifications %} + {% include "oscar/partials/pagination.html" %} + + {% csrf_token %} + + + {% for notification in notifications %} + + + + + + + {% endfor %} + +
    + + + {% if notification.is_read %} + + {% else %} + + {% endif %} + + {% if notification.is_read %} + {{ notification.subject|safe }} + {% else %} + {{ notification.subject|safe }} + {% endif %} +
    + {{ notification.date_sent }} +
    + + {% trans 'View' %} + + {% if list_type == 'inbox' %} + + {% trans 'Archive' context 'verb' %} + + {% endif %} + + {% trans 'Delete' %} + +
    + {% trans "With selected items:" %} + {% if list_type == 'inbox' %} + + {% endif %} + +
    + {% include "oscar/partials/pagination.html" %} + {% else %} +

    + {% trans "There are no notifications to display." %} +

    {% endif %} - - -{% include "oscar/partials/pagination.html" %} -{% else %} -

    - {% trans "There are no notifications to display." %} -

    -{% endif %} {% endblock tabcontent %} {% block onbodyload %} -{{ block.super }} -oscar.notifications.init(); + {{ block.super }} + oscar.notifications.init(); {% endblock %} diff --git a/tests/django_oscar/oscar/customer/address/address_form.html b/tests/django_oscar/oscar/customer/address/address_form.html index 349fe8b..6b66494 100644 --- a/tests/django_oscar/oscar/customer/address/address_form.html +++ b/tests/django_oscar/oscar/customer/address/address_form.html @@ -9,5 +9,6 @@ {% endblock %} {% block tabcontent %} {% with style='horizontal' %} - {% include "oscar/partials/form.html" %}{% endwith %} + {% include "oscar/partials/form.html" %} + {% endwith %} {% endblock tabcontent %} diff --git a/tests/django_oscar/oscar/customer/alerts/alert_list.html b/tests/django_oscar/oscar/customer/alerts/alert_list.html index f1f1b12..59db620 100644 --- a/tests/django_oscar/oscar/customer/alerts/alert_list.html +++ b/tests/django_oscar/oscar/customer/alerts/alert_list.html @@ -19,29 +19,29 @@ {% with product=alert.product %} - {% if product.is_public %} - + {% if product.is_public %} + + {{ product.get_title }} + + {% else %} {{ product.get_title }} + {% endif %} + {% endwith %} + + {{ alert.status }} + {{ alert.date_created }} + + {% if alert.can_be_cancelled %} + + {% trans "Cancel" %} - {% else %} - {{ product.get_title }} {% endif %} - {% endwith %} - - {{ alert.status }} - {{ alert.date_created }} - - {% if alert.can_be_cancelled %} - - {% trans "Cancel" %} - - {% endif %} - - - {% endfor %} - - {% include "oscar/partials/pagination.html" %} - -{% endif %} + + + {% endfor %} + + {% include "oscar/partials/pagination.html" %} + + {% endif %} {% endblock tabcontent %} diff --git a/tests/django_oscar/oscar/customer/anon_order.html b/tests/django_oscar/oscar/customer/anon_order.html index 420fb42..9f00b4b 100644 --- a/tests/django_oscar/oscar/customer/anon_order.html +++ b/tests/django_oscar/oscar/customer/anon_order.html @@ -18,134 +18,134 @@

    {% endif %} {% with address=order.shipping_address %} +
    +

    {% trans 'Shipping address' %}

    +
    + + + + + + {% if address.phone_number %} + + + + + {% endif %} + {% if address.notes %} + + + + + {% endif %} +
    {% trans 'Address' %} + {% for field in address.active_address_fields %} + {{ field }} +
    + {% endfor %} +
    {% trans 'Contact number' %}{{ address.phone_number }}
    {% trans 'Notes' %}{{ address.notes|linebreaks }}
    + {% endwith %}
    -

    {% trans 'Shipping address' %}

    +

    {% trans 'Shipping method' %}

    +

    + {{ order.shipping_method }} +

    +
    +

    {% trans 'Order contents' %}

    +
    + {% csrf_token %} - - - - {% if address.phone_number %} - - - - - {% endif %} - {% if address.notes %} - - - - - {% endif %} -
    {% trans 'Address' %} - {% for field in address.active_address_fields %} - {{ field }} -
    - {% endfor %} -
    {% trans 'Contact number' %}{{ address.phone_number }}
    {% trans 'Notes' %}{{ address.notes|linebreaks }}
    -{% endwith %} -
    -

    {% trans 'Shipping method' %}

    -
    -

    - {{ order.shipping_method }} -

    -
    -

    {% trans 'Order contents' %}

    -
    -{% csrf_token %} - - - - - - - - {% iffeature "reviews" %} - - {% endiffeature %} - - {% for line in order.lines.all %} - - - - - - + + + + + {% iffeature "reviews" %} - + {% endiffeature %} - {% endfor %} - {% for discount in order.discounts.all %} + {% for line in order.lines.all %} + + + + + + + {% iffeature "reviews" %} + + {% endiffeature %} + + {% endfor %} + {% for discount in order.discounts.all %} + + + + + + {% endfor %} +
    {% trans 'Product' %} - {% trans 'Status' %} - - {% trans 'Quantity' %} - - {% trans 'Line price excl. tax' %} - - {% trans 'Line price incl. tax' %} -
    - {% if product.is_public %} - - {{ line.description }} - - {% else %} - {{ line.description }} - {% endif %} - - {{ line.shipping_status|default:"-" }} - - {{ line.quantity }} - - {{ line.line_price_before_discounts_excl_tax|currency:order.currency }} - - {{ line.line_price_before_discounts_incl_tax|currency:order.currency }} - {% trans 'Product' %} + {% trans 'Status' %} + + {% trans 'Quantity' %} + + {% trans 'Line price excl. tax' %} + + {% trans 'Line price incl. tax' %} + - {% if line.product|is_review_permitted:user %} - - {% trans 'Write a review' %} - - {% endif %} -
    + {% if product.is_public %} + + {{ line.description }} + + {% else %} + {{ line.description }} + {% endif %} + + {{ line.shipping_status|default:"-" }} + + {{ line.quantity }} + + {{ line.line_price_before_discounts_excl_tax|currency:order.currency }} + + {{ line.line_price_before_discounts_incl_tax|currency:order.currency }} + + {% if line.product|is_review_permitted:user %} + + {% trans 'Write a review' %} + + {% endif %} +
    {{ discount.description }} + -{{ discount.amount|currency:order.currency }} +
    + + - + - - {% endfor %} -
    + {% trans 'Totals' %} +
    {{ discount.description }} + {% trans 'Basket total (inc. tax)' %} + - -{{ discount.amount|currency:order.currency }} + {{ order.basket_total_incl_tax|currency:order.currency }}
    - - - - - - - - - - - - - - -
    - {% trans 'Totals' %} -
    - {% trans 'Basket total (inc. tax)' %} - - {{ order.basket_total_incl_tax|currency:order.currency }} -
    - {% trans 'Shipping charge (inc. tax)' %} - - {{ order.shipping_incl_tax|currency:order.currency }} -
    - {% trans 'Order total' %} - - {{ order.total_incl_tax|currency:order.currency }} -
    + + + {% trans 'Shipping charge (inc. tax)' %} + + + {{ order.shipping_incl_tax|currency:order.currency }} + + + + + {% trans 'Order total' %} + + + {{ order.total_incl_tax|currency:order.currency }} + + + {% endblock content %} diff --git a/tests/django_oscar/oscar/customer/baseaccountpage.html b/tests/django_oscar/oscar/customer/baseaccountpage.html index 9b6d618..0d42872 100644 --- a/tests/django_oscar/oscar/customer/baseaccountpage.html +++ b/tests/django_oscar/oscar/customer/baseaccountpage.html @@ -26,9 +26,10 @@ {% block column_left %} - {% endblock %} - {% block content %} - {% block tabcontent %}{% endblock tabcontent %} - {% endblock content %} + {% include 'oscar/customer/partials/standard_tabs.html' %} + {% endblock %} + +{% endblock %} +{% block content %} + {% block tabcontent %}{% endblock tabcontent %} +{% endblock content %} diff --git a/tests/django_oscar/oscar/customer/history/recently_viewed_products.html b/tests/django_oscar/oscar/customer/history/recently_viewed_products.html index b0827e9..20eb28e 100644 --- a/tests/django_oscar/oscar/customer/history/recently_viewed_products.html +++ b/tests/django_oscar/oscar/customer/history/recently_viewed_products.html @@ -1,16 +1,16 @@ {% load i18n %} {% load product_tags %} {% with products_sliced=products|slice:":6" %} -{% if products_sliced %} -
    -

    {% trans 'Products you recently viewed' %}

    -
    -
      - {% for product in products_sliced %} -
    • - {% render_product product %} -
    • - {% endfor %} -
    -{% endif %} + {% if products_sliced %} +
    +

    {% trans 'Products you recently viewed' %}

    +
    +
      + {% for product in products_sliced %} +
    • + {% render_product product %} +
    • + {% endfor %} +
    + {% endif %} {% endwith %} diff --git a/tests/django_oscar/oscar/customer/order/order_detail.html b/tests/django_oscar/oscar/customer/order/order_detail.html index 48df791..8b9361a 100644 --- a/tests/django_oscar/oscar/customer/order/order_detail.html +++ b/tests/django_oscar/oscar/customer/order/order_detail.html @@ -31,184 +31,188 @@ {% for line in order.lines.all %} {% with product=line.product %} - - - {% if product %} - {% if product.is_public %} -

    - + + + {% if product %} + {% if product.is_public %} +

    + + {{ line.description }} + +

    + {% else %} +

    {{ line.description }} - -

    +

    + {% endif %} + {% iffeature "reviews" %} + {% if product|is_review_permitted:user %} + + {% trans 'Write a review' %} + + {% endif %} + {% endiffeature %} {% else %}

    {{ line.description }}

    {% endif %} - {% iffeature "reviews" %} - {% if product|is_review_permitted:user %} - - {% trans 'Write a review' %} - - {% endif %} - {% endiffeature %} - {% else %} -

    - {{ line.description }} -

    - {% endif %} - - {{ line.quantity }} - {{ line.line_price_before_discounts_excl_tax|currency:order.currency }} - {{ line.line_price_before_discounts_incl_tax|currency:order.currency }} - - {% if product and product.is_public %} -
    - {% csrf_token %} - - -
    - {% else %} - {% trans 'Not available anymore' %} - {% endif %} - - - {% endwith %} - {% endfor %} - {% with discounts=order.basket_discounts %} - {% block discount_totals %} - {% if discounts %} - - {% trans "Basket total (excl. discounts)" %} - - {{ order.basket_total_before_discounts_incl_tax|currency:order.currency }} - - - {% for discount in discounts %} - - - {% trans "Discount" %} - {{ discount.offer_name }} - - {{ discount.amount|currency:order.currency }} + {{ line.quantity }} + {{ line.line_price_before_discounts_excl_tax|currency:order.currency }} + {{ line.line_price_before_discounts_incl_tax|currency:order.currency }} + + {% if product and product.is_public %} +
    + {% csrf_token %} + + +
    + {% else %} + {% trans 'Not available anymore' %} + {% endif %} + - {% endfor %} - {% endif %} - {% endblock discount_totals %} - {% block basket_total %} - {% if discounts %} - - {% trans "Basket total (inc. discounts)" %} - - {{ order.basket_total_incl_tax|currency:order.currency }} - - - {% else %} - - {% trans "Basket total" %} - - {{ order.basket_total_incl_tax|currency:order.currency }} - - - {% endif %} - {% endblock basket_total %} - {% endwith %} - {% block shipping_totals %} - {% if order.has_shipping_discounts %} - - {% trans "Shipping total (excl. discounts)" %} - - {{ order.shipping_before_discounts_incl_tax|currency:order.currency }} - - - {% for discount in order.shipping_discounts %} - - - {% trans "Discount" %} - {{ discount.offer_name }} - - - {{ discount.amount|currency:order.currency }} - + {% endwith %} {% endfor %} - - {% trans "Shipping total (inc. discounts)" %} - - {{ order.shipping_incl_tax|currency:order.currency }} - - - {% else %} - - {% trans "Shipping total" %} - - {{ order.shipping_incl_tax|currency:order.currency }} - - - {% endif %} - {% endblock %} - {% block order_total %} + {% with discounts=order.basket_discounts %} + {% block discount_totals %} + {% if discounts %} + + {% trans "Basket total (excl. discounts)" %} + + {{ order.basket_total_before_discounts_incl_tax|currency:order.currency }} + + + {% for discount in discounts %} + + + {% trans "Discount" %} + {{ discount.offer_name }} + + - {{ discount.amount|currency:order.currency }} + + {% endfor %} + {% endif %} + {% endblock discount_totals %} + {% block basket_total %} + {% if discounts %} + + {% trans "Basket total (inc. discounts)" %} + + {{ order.basket_total_incl_tax|currency:order.currency }} + + + {% else %} + + {% trans "Basket total" %} + + {{ order.basket_total_incl_tax|currency:order.currency }} + + + {% endif %} + {% endblock basket_total %} + {% endwith %} + {% block shipping_totals %} + {% if order.has_shipping_discounts %} + + {% trans "Shipping total (excl. discounts)" %} + + {{ order.shipping_before_discounts_incl_tax|currency:order.currency }} + + + {% for discount in order.shipping_discounts %} + + + {% trans "Discount" %} + {{ discount.offer_name }} + + - {{ discount.amount|currency:order.currency }} + + {% endfor %} + + {% trans "Shipping total (inc. discounts)" %} + + {{ order.shipping_incl_tax|currency:order.currency }} + + + {% else %} + + {% trans "Shipping total" %} + + {{ order.shipping_incl_tax|currency:order.currency }} + + + {% endif %} + {% endblock %} + {% block order_total %} + + + {% trans 'Order total' %} + + + {{ order.total_incl_tax|currency:order.currency }} + + + {% endblock order_total %} + + + {% block order_actions %} +
    + {% csrf_token %} + + + +
    + {% endblock order_actions %} +
    +

    {% trans 'Shipping Method' %}

    +

    + {{ order.shipping_method }} +

    +
    +

    + {% trans 'Shipping Address' %} +

    + - - + + + + + + - {% endblock order_total %} - -
    - {% trans 'Order total' %} + + {% trans 'Address' %} - {{ order.total_incl_tax|currency:order.currency }} + + {% trans 'Contact Number' %} + + {% trans 'Shipping Notes' %} +
    + {% for field in order.shipping_address.active_address_fields %} + {{ field }} +
    + {% endfor %} +
    + {{ order.shipping_address.phone_number|default:"-" }} + + {{ order.shipping_address.notes|linebreaks }}
    -{% block order_actions %} -
    - {% csrf_token %} - - - -
    -{% endblock order_actions %} -
    -

    {% trans 'Shipping Method' %}

    -

    -{{ order.shipping_method }} -

    -
    -

    -{% trans 'Shipping Address' %} -

    - - - - - - - - - - - -
    - {% trans 'Address' %} - - {% trans 'Contact Number' %} - - {% trans 'Shipping Notes' %} -
    - {% for field in order.shipping_address.active_address_fields %} - {{ field }} -
    - {% endfor %} -
    - {{ order.shipping_address.phone_number|default:"-" }} - - {{ order.shipping_address.notes|linebreaks }} -
    + {% endblock tabcontent %} diff --git a/tests/django_oscar/oscar/customer/partials/standard_tabs.html b/tests/django_oscar/oscar/customer/partials/standard_tabs.html index fac91f5..20ef1f3 100644 --- a/tests/django_oscar/oscar/customer/partials/standard_tabs.html +++ b/tests/django_oscar/oscar/customer/partials/standard_tabs.html @@ -2,39 +2,40 @@ {% load display_tags %} {% iffeature 'wishlists' %} - + {% endiffeature %} diff --git a/tests/django_oscar/oscar/customer/profile/change_password_form.html b/tests/django_oscar/oscar/customer/profile/change_password_form.html index fd01b95..c409b48 100644 --- a/tests/django_oscar/oscar/customer/profile/change_password_form.html +++ b/tests/django_oscar/oscar/customer/profile/change_password_form.html @@ -1,4 +1,5 @@ {% extends "oscar/customer/baseaccountpage.html" %} {% load i18n %} {% block tabcontent %} - {% include 'oscar/partials/form.html' with form_id="change_password_form" %}{% endblock tabcontent %} + {% include 'oscar/partials/form.html' with form_id="change_password_form" %} +{% endblock tabcontent %} diff --git a/tests/django_oscar/oscar/customer/profile/profile_form.html b/tests/django_oscar/oscar/customer/profile/profile_form.html index a406b2f..62904bf 100644 --- a/tests/django_oscar/oscar/customer/profile/profile_form.html +++ b/tests/django_oscar/oscar/customer/profile/profile_form.html @@ -1,4 +1,5 @@ {% extends "oscar/customer/baseaccountpage.html" %} {% load i18n %} {% block tabcontent %} - {% include 'oscar/partials/form.html' with form_id="profile_form" %}{% endblock tabcontent %} + {% include 'oscar/partials/form.html' with form_id="profile_form" %} +{% endblock tabcontent %} diff --git a/tests/django_oscar/oscar/customer/wishlists/wishlists_detail.html b/tests/django_oscar/oscar/customer/wishlists/wishlists_detail.html index 1dc8e97..3c5b2a7 100644 --- a/tests/django_oscar/oscar/customer/wishlists/wishlists_detail.html +++ b/tests/django_oscar/oscar/customer/wishlists/wishlists_detail.html @@ -38,94 +38,99 @@ {% for subform in form %} {% with line=subform.instance product=subform.instance.product %} - - - {% if product %} - {% with image=product.primary_image %} - {% oscar_thumbnail image.original "100x100" upscale=False as thumb %} - {% if product.is_public %} - - {{ product.get_title }} + + + {% if product %} + {% with image=product.primary_image %} + {% oscar_thumbnail image.original "100x100" upscale=False as thumb %} + {% if product.is_public %} + + {{ product.get_title }} + + {% else %} + {{ product.get_title }} + {% endif %} + {% endwith %} + {% endif %} + + + {% if product and product.is_public %} + + {{ line.get_title }} {% else %} - {{ product.get_title }} + {{ line.get_title }} ({% trans 'Not available anymore' %}) {% endif %} - {% endwith %} - {% endif %} - - - {% if product and product.is_public %} - - {{ line.get_title }} - - {% else %} - {{ line.get_title }} ({% trans 'Not available anymore' %}) - {% endif %} - - - {% for field in subform %} - {% render_field field class+="form-control" %} - {% for error in field.errors %} -
      -
    • - {{ error }} -
    • -
    - {% endfor %} - {% endfor %} - - -
    - {% if product %} - - {% trans 'View product' %} - - - {% else %} - - {% trans 'Actions' %} - - {% endif %} - -
    + + +
    + {% if product %} + + {% trans 'View product' %} + + + {% else %} + + {% trans 'Actions' %} + + {% endif %} + +
    + + + {% endwith %} + {% endfor %} + + + + + - {% endwith %} - {% endfor %} - - - - - - - - - - -{% else %} -{% trans "Your wish list is empty." %} -{% endif %} + + + + {% else %} + {% trans "Your wish list is empty." %} + {% endif %} {% endblock tabcontent %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/attribute_option_group_form.html b/tests/django_oscar/oscar/dashboard/catalogue/attribute_option_group_form.html index 470190a..cb04a1a 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/attribute_option_group_form.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/attribute_option_group_form.html @@ -95,74 +95,75 @@ {% endfor %} {% endif %} {% for field in form %} - {% include 'oscar/dashboard/partials/form_field.html' with field=field %}{% endfor %} -
    + {% include 'oscar/dashboard/partials/form_field.html' with field=field %} + {% endfor %}
    - {% endblock %} - {% block attribute_options %} -
    -
    -

    {% trans "Attribute Options" %}

    -
    -
    - - {{ attribute_option_formset.management_form }} - {{ attribute_option_formset.non_form_errors }} - - - + + {% endblock %} + {% block attribute_options %} +
    +
    +

    {% trans "Attribute Options" %}

    +
    +
    +
    + {{ attribute_option_formset.management_form }} + {{ attribute_option_formset.non_form_errors }} + + + + + + + + + + {% for attribute_option_form in attribute_option_formset %} - - + {% for hidden_field in attribute_option_form.hidden_fields %} + {{ hidden_field }} + {% endfor %} + + - - - {% for attribute_option_form in attribute_option_formset %} - - {% for hidden_field in attribute_option_form.hidden_fields %} - {{ hidden_field }} - {% endfor %} - - - - {% endfor %} - -
    {% trans "Option" %}{% trans "Delete?" %}
    {% trans "Option" %}{% trans "Delete?" %} + {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_option_form.option nolabel=True %} + + {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_option_form.DELETE nolabel=True %} +
    - {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_option_form.option nolabel=True %} - - {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_option_form.DELETE nolabel=True %} -
    -
    + {% endfor %} + +
    - {% endblock %} - {% endblock tab_content %} +
    + {% endblock %} + {% endblock tab_content %} +
    +
    +
    + {% block fixed_actions_group %} +
    +
    +
    + + {% trans "Cancel" %} + + {% trans "or" %} +
    - {% block fixed_actions_group %} -
    -
    -
    - - {% trans "Cancel" %} - - {% trans "or" %} - -
    -
    -
    - {% endblock fixed_actions_group %} - + {% endblock fixed_actions_group %} + {% endblock dashboard_content %} {% block onbodyload %} - {{ block.super }} - oscar.dashboard.product_attributes.init(); +{{ block.super }} +oscar.dashboard.product_attributes.init(); {% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/category_delete.html b/tests/django_oscar/oscar/dashboard/catalogue/category_delete.html index 08669ba..5e7d3f9 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/category_delete.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/category_delete.html @@ -11,40 +11,40 @@ - - - + {% trans "Categories" %} + + + + + {% endblock %} {% block headertext %} -{% trans "Delete category?" %} + {% trans "Delete category?" %} {% endblock %} {% block dashboard_content %} -
    -

    {% trans "Delete category" %}

    -
    -
    - {% csrf_token %} - {{ form }} - {% blocktrans with name=object.name %} -

    - Delete category - {{ name }} - - are you sure? -

    - {% endblocktrans %} -
    - - {% trans "or" %} - - {% trans "cancel" %} - -
    -
    +
    +

    {% trans "Delete category" %}

    +
    +
    + {% csrf_token %} + {{ form }} + {% blocktrans with name=object.name %} +

    + Delete category + {{ name }} + - are you sure? +

    + {% endblocktrans %} +
    + + {% trans "or" %} + + {% trans "cancel" %} + +
    +
    {% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/category_form.html b/tests/django_oscar/oscar/dashboard/catalogue/category_form.html index bf410ba..5441705 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/category_form.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/category_form.html @@ -32,46 +32,47 @@ enctype="multipart/form-data" data-behaviour="tab-nav-errors" autocomplete="off"> - {% csrf_token %} -
    - {% block tab_nav %} -
    -
    -
    -

    {% trans "Sections" %}

    + {% csrf_token %} +
    + {% block tab_nav %} +
    +
    +
    +

    {% trans "Sections" %}

    +
    +
    -
    -
    - {% endblock tab_nav %} -
    -
    - {% block tab_content %} - {% block category_details %} -
    -
    -

    {% trans "Category details" %}

    -
    -
    - {% block category_details_content %} - {{ form.non_field_errors }} - {% for field in form.hidden_fields %}{{ field }}{% endfor %} - {% for field in form.primary_form_fields %} - {% if 'attr' not in field.id_for_label %} - {% include 'oscar/dashboard/partials/form_field.html' with field=field %}{% endif %} + {% endblock tab_nav %} +
    +
    + {% block tab_content %} + {% block category_details %} +
    +
    +

    {% trans "Category details" %}

    +
    +
    + {% block category_details_content %} + {{ form.non_field_errors }} + {% for field in form.hidden_fields %}{{ field }}{% endfor %} + {% for field in form.primary_form_fields %} + {% if 'attr' not in field.id_for_label %} + {% include 'oscar/dashboard/partials/form_field.html' with field=field %} + {% endif %} {% endfor %} {% endblock category_details_content %}
    @@ -86,46 +87,47 @@ {% block seo_content %} {% for field in form.seo_form_fields %} {% if 'attr' not in field.id_for_label %} - {% include 'oscar/dashboard/partials/form_field.html' with field=field %}{% endif %} - {% endfor %} - {% endblock seo_content %} -
    + {% include 'oscar/dashboard/partials/form_field.html' with field=field %} + {% endif %} + {% endfor %} + {% endblock seo_content %}
    - {% endblock seo %} - {% endblock tab_content %} -
    +
    + {% endblock seo %} + {% endblock tab_content %}
    - {% block fixed_actions_group %} -
    -
    -
    - - {% trans "Cancel" %} - - {% trans "or" %} - - -
    - {% if category %} - - {% trans "View on site" %} - - {% endif %} +
    + {% block fixed_actions_group %} +
    +
    +
    + + {% trans "Cancel" %} + + {% trans "or" %} + +
    + {% if category %} + + {% trans "View on site" %} + + {% endif %}
    - {% endblock fixed_actions_group %} - - {% endblock dashboard_content %} +
    + {% endblock fixed_actions_group %} + +{% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/category_row_actions.html b/tests/django_oscar/oscar/dashboard/catalogue/category_row_actions.html index 2d4992b..df0a795 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/category_row_actions.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/category_row_actions.html @@ -19,14 +19,14 @@ - {% trans "Edit children" %} - - - {% trans "View on site" %} - - - {% trans "Delete" %} - + {% trans "Edit children" %} + + + {% trans "View on site" %} + + + {% trans "Delete" %} + +
    -
    diff --git a/tests/django_oscar/oscar/dashboard/catalogue/messages/product_saved.html b/tests/django_oscar/oscar/dashboard/catalogue/messages/product_saved.html index 6568115..58be09d 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/messages/product_saved.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/messages/product_saved.html @@ -2,46 +2,46 @@ {% load django_tables2 %}

    {% with name=product.title parent_name=product.parent.title %} - {% if product.is_child %} - {% if creating %} - {% if product.title %} + {% if product.is_child %} + {% if creating %} + {% if product.title %} + {% blocktrans %} + Created product variant '{{ name }}'. + {% endblocktrans %} + {% else %} + {% blocktrans %} + Created variant of '{{ parent_name }}'. + {% endblocktrans %} + {% endif %} + {% else %} + {% if product.title %} + {% blocktrans %} + Updated product variant '{{ name }}'. + {% endblocktrans %} + {% else %} + {% blocktrans %} + Updated a variant of '{{ parent_name }}'. + {% endblocktrans %} + {% endif %} + {% endif %} + {% else %} + {% if creating %} {% blocktrans %} - Created product variant '{{ name }}'. + Created product '{{ name }}'. {% endblocktrans %} {% else %} {% blocktrans %} - Created variant of '{{ parent_name }}'. - {% endblocktrans %} - {% endif %} - {% else %} - {% if product.title %} - {% blocktrans %} - Updated product variant '{{ name }}'. - {% endblocktrans %} - {% else %} - {% blocktrans %} - Updated a variant of '{{ parent_name }}'. + Updated product '{{ name }}'. {% endblocktrans %} {% endif %} {% endif %} - {% else %} - {% if creating %} - {% blocktrans %} - Created product '{{ name }}'. - {% endblocktrans %} - {% else %} - {% blocktrans %} - Updated product '{{ name }}'. - {% endblocktrans %} - {% endif %} - {% endif %} -{% endwith %} + {% endwith %}

    - - {% trans "Edit again" %} - - - {% trans "View it on the site" %} - + + {% trans "Edit again" %} + + + {% trans "View it on the site" %} +

    diff --git a/tests/django_oscar/oscar/dashboard/catalogue/option_form.html b/tests/django_oscar/oscar/dashboard/catalogue/option_form.html index bc59103..2b8951d 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/option_form.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/option_form.html @@ -67,33 +67,34 @@ {% endfor %} {% endif %} {% for field in form %} - {% include 'oscar/dashboard/partials/form_field.html' with field=field %}{% endfor %} -
    + {% include 'oscar/dashboard/partials/form_field.html' with field=field %} + {% endfor %}
    - {% endblock %} +
    + {% endblock %} +
    +
    +
    + {% block fixed_actions_group %} +
    +
    +
    + + {% trans "Cancel" %} + + {% trans "or" %} +
    - {% block fixed_actions_group %} -
    -
    -
    - - {% trans "Cancel" %} - - {% trans "or" %} - -
    -
    -
    - {% endblock fixed_actions_group %} - + {% endblock fixed_actions_group %} + {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/product_class_form.html b/tests/django_oscar/oscar/dashboard/catalogue/product_class_form.html index fcefb8c..0f88192 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/product_class_form.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/product_class_form.html @@ -79,82 +79,83 @@ {% endfor %} {% endif %} {% for field in form %} - {% include 'oscar/dashboard/partials/form_field.html' with field=field %}{% endfor %} -
    + {% include 'oscar/dashboard/partials/form_field.html' with field=field %} + {% endfor %}
    - {% endblock %} - {% block product_attributes %} -
    -
    -

    {% trans "Product attributes" %}

    -
    -
    - - {{ attributes_formset.management_form }} - {{ attributes_formset.non_form_errors }} - - - - + + {% endblock %} + {% block product_attributes %} +
    +
    +

    {% trans "Product attributes" %}

    +
    +
    +
    + {{ attributes_formset.management_form }} + {{ attributes_formset.non_form_errors }} + + + + + + + + + + + + + + {% for attribute_form in attributes_formset %} - - - - - + {% for hidden_field in attribute_form.hidden_fields %} + {{ hidden_field }} + {% endfor %} + + + + + - - - {% for attribute_form in attributes_formset %} - - {% for hidden_field in attribute_form.hidden_fields %} - {{ hidden_field }} - {% endfor %} - - - - - - - {% endfor %} - -
    {% trans "Name" %}{% trans "Code" %}{% trans "Type" %}{% trans "Required" %}{% trans "Delete?" %}
    {% trans "Name" %}{% trans "Code" %}{% trans "Type" %}{% trans "Required" %}{% trans "Delete?" %} + {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.name nolabel=True %} + + {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.code nolabel=True %} + + {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.type nolabel=True %} + {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.option_group nolabel=True %} + + {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.required nolabel=True %} + + {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.DELETE nolabel=True %} +
    - {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.name nolabel=True %} - - {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.code nolabel=True %} - - {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.type nolabel=True %} - {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.option_group nolabel=True %} - - {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.required nolabel=True %} - - {% include 'oscar/dashboard/partials/form_field.html' with field=attribute_form.DELETE nolabel=True %} -
    -
    + {% endfor %} + +
    - {% endblock %} - {% endblock tab_content %} +
    + {% endblock %} + {% endblock tab_content %} +
    + + + {% block fixed_actions_group %} +
    +
    +
    + + {% trans "Cancel" %} + + {% trans "or" %} +
    - {% block fixed_actions_group %} -
    -
    -
    - - {% trans "Cancel" %} - - {% trans "or" %} - -
    -
    -
    - {% endblock fixed_actions_group %} - + {% endblock fixed_actions_group %} + {% endblock dashboard_content %} {% block onbodyload %} - {{ block.super }} - oscar.dashboard.product_attributes.init(); +{{ block.super }} +oscar.dashboard.product_attributes.init(); {% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/product_list.html b/tests/django_oscar/oscar/dashboard/catalogue/product_list.html index bfa9464..19189e3 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/product_list.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/product_list.html @@ -85,18 +85,18 @@ - {% endblock product_list %} - {% else %} -

    - {% trans "No products found." %} -

    - {% endif %} + + {% endblock product_list %} +{% else %} +

    + {% trans "No products found." %} +

    +{% endif %} {% endblock dashboard_content %} {% block onbodyload %} - {{ block.super }} - oscar.dashboard.product_lists.init(); +{{ block.super }} +oscar.dashboard.product_lists.init(); {% endblock onbodyload %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/product_row_image.html b/tests/django_oscar/oscar/dashboard/catalogue/product_row_image.html index 408afb0..93a8acd 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/product_row_image.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/product_row_image.html @@ -1,14 +1,14 @@ {% load image_tags %} {% if record.primary_image.original.url %} {% with image=record.primary_image %} - {% oscar_thumbnail image.original "70x70" upscale=False as thumb %} - - {% if image.caption %}{{ image.caption }}{% else %}{{ record.get_title }}{% endif %} - -{% endwith %} + {% oscar_thumbnail image.original "70x70" upscale=False as thumb %} + + {% if image.caption %}{{ image.caption }}{% else %}{{ record.get_title }}{% endif %} + + {% endwith %} {% else %} -— + — {% endif %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/product_update.html b/tests/django_oscar/oscar/dashboard/catalogue/product_update.html index 2881bf5..efce9f0 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/product_update.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/product_update.html @@ -39,107 +39,108 @@ enctype="multipart/form-data" data-behaviour="tab-nav-errors" autocomplete="off"> - {% csrf_token %} - {% if parent %} -
    -
    -
    - {% url 'dashboard:catalogue-product' pk=parent.id as parent_url %} - {% blocktrans with title=parent.title %} - You are currently editing a product variant of - {{ title }} - . - {% endblocktrans %} + {% csrf_token %} + {% if parent %} +
    +
    +
    + {% url 'dashboard:catalogue-product' pk=parent.id as parent_url %} + {% blocktrans with title=parent.title %} + You are currently editing a product variant of + {{ title }} + . + {% endblocktrans %} +
    -
    - {% endif %} -
    - {% block tab_nav %} -
    -
    -
    -

    {% trans "Sections" %}

    -
    - -
    -
    - {% endblock tab_nav %} -
    -
    - {% block tab_content %} - {% block product_details %} -
    + {% endif %} +
    + {% block tab_nav %} +
    +
    -

    {% trans "Product details" %}

    +

    {% trans "Sections" %}

    -
    - {% block product_details_content %} - {{ form.non_field_errors }} - {% for field in form.hidden_fields %}{{ field }}{% endfor %} - {% for field in form.primary_form_fields %} - {% if 'attr' not in field.id_for_label %} - {% include 'oscar/dashboard/partials/form_field.html' with field=field %}{% endif %} + +
    +
    + {% endblock tab_nav %} +
    +
    + {% block tab_content %} + {% block product_details %} +
    +
    +

    {% trans "Product details" %}

    +
    +
    + {% block product_details_content %} + {{ form.non_field_errors }} + {% for field in form.hidden_fields %}{{ field }}{% endfor %} + {% for field in form.primary_form_fields %} + {% if 'attr' not in field.id_for_label %} + {% include 'oscar/dashboard/partials/form_field.html' with field=field %} + {% endif %} {% endfor %} {% endblock product_details_content %}
    @@ -195,47 +196,48 @@ {{ image_formset.non_form_errors }}
      {% for image_form in image_formset %} - {% include "oscar/dashboard/partials/product_images.html" with form=image_form %}{% endfor %} -
    -

    - {% trans 'Drag images to re-order them. Space for additional images will appear when images are added.' %} -

    -
    - {% endblock product_images_content %} -
    - {% endblock product_images %} - {% block stockrecords %} -
    - {% block stockrecords_content %} - - - {{ stockrecord_formset.management_form }} - {{ stockrecord_formset.non_form_errors }} - - - - - {% if product_class.track_stock %} - - - - {% endif %} - - - - - - - {% for stockrecord_form in stockrecord_formset %} - {% if stockrecord_form.non_field_errors %} - - - - + {{ alert.stockrecord.product.get_title }} + + + + + + + + + + {% endfor %} + {% else %} + - - - - {% endfor %} - {% else %} - - - - {% endif %} -
    - {% trans "Stock and pricing" %} -
    {% trans "Partner" %}{% trans "SKU" %}{% trans "Num in stock" %}{% trans "Num allocated" %}{% trans "Low stock threshold" %}{% trans "Currency" %} - {% trans "Price" %} - - {% trans "Delete?" %} -
    + {% include "oscar/dashboard/partials/product_images.html" with form=image_form %} + {% endfor %} + +

    + {% trans 'Drag images to re-order them. Space for additional images will appear when images are added.' %} +

    + + {% endblock product_images_content %} + + {% endblock product_images %} + {% block stockrecords %} +
    + {% block stockrecords_content %} + + + {{ stockrecord_formset.management_form }} + {{ stockrecord_formset.non_form_errors }} + + + + + {% if product_class.track_stock %} + + + + {% endif %} + + + + + + + {% for stockrecord_form in stockrecord_formset %} + {% if stockrecord_form.non_field_errors %} + +
    + {% trans "Stock and pricing" %} +
    {% trans "Partner" %}{% trans "SKU" %}{% trans "Num in stock" %}{% trans "Num allocated" %}{% trans "Low stock threshold" %}{% trans "Currency" %} + {% trans "Price" %} + + {% trans "Delete?" %} +
    {% for error in stockrecord_form.non_field_errors %} @@ -282,166 +284,167 @@ {% endblock stockrecords %} {% block child_products %} {% with children=product.children.all %} -
    - {% block child_products_content %} - +
    + {% block child_products_content %} +
    + + {% if children %} + + + + + + + + {% for child in children %} + + + + + + + + {% endfor %} + {% else %} + + + + {% endif %} +
    + {% trans "Variants" %} + +
    + {% trans "Title" %} + + {% trans "Attributes" %} + + {% trans "Stock records" %} + + {% trans "Is public?" %} + +   +
    + {{ child.get_title }} + + {{ child.attribute_summary }} + + {{ child.stockrecords.count }} + + {% if child.is_public %} + + {% else %} + + {% endif %} + + + {% trans "Edit" %} + + + {% trans "Delete" %} + +
    + {% if product.can_be_parent %} + {% trans 'This product does not have any variants.' %} + {% else %} + {% trans "One can't add variants to this product at this point." %} + {% if product.pk is None %} + {% trans "Please save the product before trying to add variants." %} + {% elif product.has_stockrecords %} + {% trans 'This is likely because this product still has stock records.' %} + {% endif %} + {% endif %} +
    + {% endblock child_products_content %} +
    + {% endwith %} + {% endblock child_products %} + {% block recommended_products %} + - {% endwith %} - {% endblock child_products %} - {% block recommended_products %} - - {% endblock recommended_products %} - {% block seo %} -
    -
    -

    - {% trans "Search engine optimisation" %} -

    -
    -
    - {% block seo_content %} - {% for field in form.seo_form_fields %} - {% if 'attr' not in field.id_for_label %} - {% include 'oscar/dashboard/partials/form_field.html' with field=field %}{% endif %} - {% endfor %} - {% endblock seo_content %} +
    + {% endblock recommended_products_content %}
    - - {% endblock seo %} - {% endblock tab_content %} - - - -{% block fixed_actions_group %} -
    -
    -
    - - {% trans "Cancel" %} - - {% trans "or" %} - {% if parent %} - - {% endif %} - - + {% endblock recommended_products %} + {% block seo %} +
    +
    +

    + {% trans "Search engine optimisation" %} +

    +
    +
    + {% block seo_content %} + {% for field in form.seo_form_fields %} + {% if 'attr' not in field.id_for_label %} + {% include 'oscar/dashboard/partials/form_field.html' with field=field %}{% endif %} + {% endfor %} + {% endblock seo_content %} +
    +
    + {% endblock seo %} + {% endblock tab_content %} +
    - {% if product %} - - {% trans "View on site" %} - - {% endif %}
    - -{% endblock fixed_actions_group %} - + {% block fixed_actions_group %} +
    +
    +
    + + {% trans "Cancel" %} + + {% trans "or" %} + {% if parent %} + + {% endif %} + + +
    + {% if product %} + + {% trans "View on site" %} + + {% endif %} +
    +
    + {% endblock fixed_actions_group %} + {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/catalogue/stockalert_list.html b/tests/django_oscar/oscar/dashboard/catalogue/stockalert_list.html index 2a254f7..c31ba78 100644 --- a/tests/django_oscar/oscar/dashboard/catalogue/stockalert_list.html +++ b/tests/django_oscar/oscar/dashboard/catalogue/stockalert_list.html @@ -68,34 +68,34 @@
    - {{ alert.stockrecord.product.get_title }} - - {{ alert.stockrecord.partner.display_name }}{{ alert.stockrecord.low_stock_threshold }}{{ alert.stockrecord.partner.display_name }}{{ alert.stockrecord.low_stock_threshold }} + {{ alert.stockrecord.net_stock_level }} + + {{ alert.date_created }} + + {{ alert.status }} + + + {% trans "Update" %} + +
    - {{ alert.stockrecord.net_stock_level }} - - {{ alert.date_created }} - - {{ alert.status }} - - - {% trans "Update" %} - + {% trans "No stock alerts found." %}
    - {% trans "No stock alerts found." %} -
    + {% endif %} + {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/comms/detail.html b/tests/django_oscar/oscar/dashboard/comms/detail.html index 613711b..df74fb1 100644 --- a/tests/django_oscar/oscar/dashboard/comms/detail.html +++ b/tests/django_oscar/oscar/dashboard/comms/detail.html @@ -51,133 +51,134 @@
    {% endif %}
    -
    - {% csrf_token %} - {% include 'oscar/dashboard/partials/form_field.html' with field=form.name %} -
    -

    {% trans "Email content" %}

    -
    -
    -

    - {% trans "These fields are rendered using Django's template system." %} -

    -

    - {% trans "You can use the following variables:" %} -

    -
    -
    - - {% templatetag openvariable %} user.get_full_name {% templatetag closevariable %} - -
    -
    - {% trans "The full name of the user (if they have one)" %} -
    -
    - - {% templatetag openvariable %} user.email {% templatetag closevariable %} - -
    -
    - {% trans "The user's email address" %} -
    -
    - - {% templatetag openvariable %} site.name {% templatetag closevariable %} - -
    -
    - {% trans "The name of the site (eg example.com)" %} -
    - {% if commtype.is_order_related %} -
    - - {% templatetag openvariable %} order.number {% templatetag closevariable %} - -
    -
    - {% trans "Order number" %} -
    - {% endif %} -
    -
    - {% include 'oscar/dashboard/partials/form_field.html' with field=form.email_subject_template %} - {% include 'oscar/dashboard/partials/form_field.html' with field=form.email_body_template %} - {% include 'oscar/dashboard/partials/form_field.html' with field=form.email_body_html_template %} -
    -

    {% trans "Preview" %}

    -
    -
    - {% if commtype.is_order_related %} -

    - {% trans "View a preview of this email using order:" %} -

    - {% include 'oscar/dashboard/partials/form_field.html' with field=form.preview_order_number %}{% endif %} - -

    - {% trans "or send a preview to:" %} -

    - {% include 'oscar/dashboard/partials/form_field.html' with field=form.preview_email %} - +

    + {% trans "or send a preview to:" %} +

    + {% include 'oscar/dashboard/partials/form_field.html' with field=form.preview_email %} + +
    +
    +
    + + + + + + + + + + + + + +
    {% trans "Subject" %}{{ preview.subject }}
    {% trans "Body text" %} +
    +{{ preview.body }}
    +                                
    +
    {% trans "Body HTML" %} + +
    +
    +
    + + {% trans "or" %} + + {% trans "cancel" %} + + .
    -
    - - - - - - - - - - - - - -
    {% trans "Subject" %}{{ preview.subject }}
    {% trans "Body text" %} -
    -{{ preview.body }}
    -                        
    -
    {% trans "Body HTML" %} - -
    -
    - - {% trans "or" %} - - {% trans "cancel" %} - - . -
    -
    -
    - + {% endblock dashboard_content %} {% block onbodyload %} -{{ block.super }} -$(function() { -// Sets the HTML email preview so it's css doesn't touch the page. -var el_preview_html = document.getElementById('preview_box'); -var html = $(el_preview_html).text(); -var doc = el_preview_html.contentWindow.document; -doc.open(); -doc.write(html); -doc.close(); -}); + {{ block.super }} + $(function() { + // Sets the HTML email preview so it's css doesn't touch the page. + var el_preview_html = document.getElementById('preview_box'); + var html = $(el_preview_html).text(); + var doc = el_preview_html.contentWindow.document; + doc.open(); + doc.write(html); + doc.close(); + }); {% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/comms/list.html b/tests/django_oscar/oscar/dashboard/comms/list.html index 4187193..14a585a 100644 --- a/tests/django_oscar/oscar/dashboard/comms/list.html +++ b/tests/django_oscar/oscar/dashboard/comms/list.html @@ -63,4 +63,5 @@ {% endif %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endblock dashboard_content %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/layout.html b/tests/django_oscar/oscar/dashboard/layout.html index 197aa46..2f1838b 100644 --- a/tests/django_oscar/oscar/dashboard/layout.html +++ b/tests/django_oscar/oscar/dashboard/layout.html @@ -75,92 +75,92 @@ -
    - -{% endblock %} -
    -{% block breadcrumbs %} - -{% endblock %} -
    - {% include 'oscar/dashboard/partials/alert_messages.html' %} - {% block header %} - + + {% if item.has_children %} + + {% endif %} + + {% endfor %} + +
    + {% endblock %} -
    - {% block content %} - {% block dashboard_content %}{% endblock dashboard_content %} - {% endblock content %} +
    + {% block breadcrumbs %} + + {% endblock %} +
    + {% include 'oscar/dashboard/partials/alert_messages.html' %} + {% block header %} + + {% endblock %} +
    + {% block content %} + {% block dashboard_content %}{% endblock dashboard_content %} + {% endblock content %} +
    -
    - + {% endblock %} {# Local scripts #} {% block scripts %} - - - - + + + + {% endblock %} {% block extrascripts %} -{{ block.super }} -{# jQuery plugins #} - - - - - - - - - - + {{ block.super }} + {# jQuery plugins #} + + + + + + + + + + {% endblock %} {% block onbodyload %} -{{ block.super }} -// Javascript to enable link to tab -var url = document.location.toString(); -if (url.match('#')) { -$('.nav-list a[href="#' + url.split('#')[1] + '"]').tab('show'); -} -// Change hash for page-reload -$('.nav-list a').on('shown.bs.tab', function (e) { -window.location.hash = e.target.hash; -}); -options = { -'languageCode': '{{ LANGUAGE_CODE }}' -}; -oscar.dashboard.init(options); + {{ block.super }} + // Javascript to enable link to tab + var url = document.location.toString(); + if (url.match('#')) { + $('.nav-list a[href="#' + url.split('#')[1] + '"]').tab('show'); + } + // Change hash for page-reload + $('.nav-list a').on('shown.bs.tab', function (e) { + window.location.hash = e.target.hash; + }); + options = { + 'languageCode': '{{ LANGUAGE_CODE }}' + }; + oscar.dashboard.init(options); {% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/offers/benefit_form.html b/tests/django_oscar/oscar/dashboard/offers/benefit_form.html index 3163cd9..0256677 100644 --- a/tests/django_oscar/oscar/dashboard/offers/benefit_form.html +++ b/tests/django_oscar/oscar/dashboard/offers/benefit_form.html @@ -1,34 +1,36 @@ {% extends 'oscar/dashboard/offers/step_form.html' %} {% load i18n %} {% block progress %} - {% include 'oscar/dashboard/offers/progress.html' with step=2 %}{% endblock %} - {% block form_fields %} - {{ form.non_field_errors }} - {% if form.fields.custom_benefit.choices %} -

    {% trans "Build a new incentive" %}

    - {% endif %} - {% include "oscar/dashboard/partials/form_field.html" with field=form.range %} -

    - {% url 'dashboard:range-list' as range_list_url %} - {% blocktrans %} - Ranges can be created and edited from within the - - range dashboard - - . - {% endblocktrans %} -

    - {% include "oscar/dashboard/partials/form_field.html" with field=form.type %} - {% include "oscar/dashboard/partials/form_field.html" with field=form.value %} - {% include "oscar/dashboard/partials/form_field.html" with field=form.max_affected_items %} - {% if form.fields.custom_benefit.choices %} -

    {% trans "...or choose a pre-defined one" %}

    - {% include "oscar/dashboard/partials/form_field.html" with field=form.custom_benefit %}{% endif %} - {% endblock %} - {% block submittext %} - {% trans "Continue to step 3" %} - {% endblock %} - {% block onbodyload %} - {{ block.super }} - oscar.dashboard.offers.init(); - {% endblock %} + {% include 'oscar/dashboard/offers/progress.html' with step=2 %} +{% endblock %} +{% block form_fields %} + {{ form.non_field_errors }} + {% if form.fields.custom_benefit.choices %} +

    {% trans "Build a new incentive" %}

    + {% endif %} + {% include "oscar/dashboard/partials/form_field.html" with field=form.range %} +

    + {% url 'dashboard:range-list' as range_list_url %} + {% blocktrans %} + Ranges can be created and edited from within the + + range dashboard + + . + {% endblocktrans %} +

    + {% include "oscar/dashboard/partials/form_field.html" with field=form.type %} + {% include "oscar/dashboard/partials/form_field.html" with field=form.value %} + {% include "oscar/dashboard/partials/form_field.html" with field=form.max_affected_items %} + {% if form.fields.custom_benefit.choices %} +

    {% trans "...or choose a pre-defined one" %}

    + {% include "oscar/dashboard/partials/form_field.html" with field=form.custom_benefit %} + {% endif %} +{% endblock %} +{% block submittext %} + {% trans "Continue to step 3" %} +{% endblock %} +{% block onbodyload %} + {{ block.super }} + oscar.dashboard.offers.init(); +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/offers/condition_form.html b/tests/django_oscar/oscar/dashboard/offers/condition_form.html index 46fda11..886e522 100644 --- a/tests/django_oscar/oscar/dashboard/offers/condition_form.html +++ b/tests/django_oscar/oscar/dashboard/offers/condition_form.html @@ -1,31 +1,34 @@ {% extends 'oscar/dashboard/offers/step_form.html' %} {% load i18n %} {% block summary %} - {% include 'oscar/dashboard/offers/summary.html' %}{% endblock %} - {% block progress %} - {% include 'oscar/dashboard/offers/progress.html' with step=3 %}{% endblock %} - {% block form_fields %} - {{ form.non_field_errors }} - {% if form.fields.custom_condition.choices %} -

    {% trans "Build a new condition" %}

    - {% endif %} - {% include "oscar/dashboard/partials/form_field.html" with field=form.range %} -

    - {% url 'dashboard:range-list' as range_list_url %} - {% blocktrans %} - Ranges can be created and edited from within the - - range dashboard - - . - {% endblocktrans %} -

    - {% include "oscar/dashboard/partials/form_field.html" with field=form.type %} - {% include "oscar/dashboard/partials/form_field.html" with field=form.value %} - {% if form.fields.custom_condition.choices %} -

    {% trans "...or choose a pre-defined one" %}

    - {% include "oscar/dashboard/partials/form_field.html" with field=form.custom_condition %}{% endif %} - {% endblock %} - {% block submittext %} - {% trans "Continue to step 4" %} - {% endblock %} + {% include 'oscar/dashboard/offers/summary.html' %} +{% endblock %} +{% block progress %} + {% include 'oscar/dashboard/offers/progress.html' with step=3 %} +{% endblock %} +{% block form_fields %} + {{ form.non_field_errors }} + {% if form.fields.custom_condition.choices %} +

    {% trans "Build a new condition" %}

    + {% endif %} + {% include "oscar/dashboard/partials/form_field.html" with field=form.range %} +

    + {% url 'dashboard:range-list' as range_list_url %} + {% blocktrans %} + Ranges can be created and edited from within the + + range dashboard + + . + {% endblocktrans %} +

    + {% include "oscar/dashboard/partials/form_field.html" with field=form.type %} + {% include "oscar/dashboard/partials/form_field.html" with field=form.value %} + {% if form.fields.custom_condition.choices %} +

    {% trans "...or choose a pre-defined one" %}

    + {% include "oscar/dashboard/partials/form_field.html" with field=form.custom_condition %} + {% endif %} +{% endblock %} +{% block submittext %} + {% trans "Continue to step 4" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/offers/metadata_form.html b/tests/django_oscar/oscar/dashboard/offers/metadata_form.html index 14c99ed..f2c48ad 100644 --- a/tests/django_oscar/oscar/dashboard/offers/metadata_form.html +++ b/tests/django_oscar/oscar/dashboard/offers/metadata_form.html @@ -1,7 +1,8 @@ {% extends 'oscar/dashboard/offers/step_form.html' %} {% load i18n %} {% block progress %} - {% include 'oscar/dashboard/offers/progress.html' with step=1 %}{% endblock %} - {% block submittext %} - {% trans "Continue to step 2" %} - {% endblock %} + {% include 'oscar/dashboard/offers/progress.html' with step=1 %} +{% endblock %} +{% block submittext %} + {% trans "Continue to step 2" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/offers/offer_detail.html b/tests/django_oscar/oscar/dashboard/offers/offer_detail.html index 2721623..f65e384 100644 --- a/tests/django_oscar/oscar/dashboard/offers/offer_detail.html +++ b/tests/django_oscar/oscar/dashboard/offers/offer_detail.html @@ -246,25 +246,26 @@ {% for discount in order_discounts %} {% with order=discount.order %} - - - - {{ order.number }} - - - - {{ order.date_placed }} - - - {{ order.total_incl_tax|currency }} - - - {{ discount.amount|currency }} - - - {% endwith %} - {% endfor %} - - - {% include 'oscar/dashboard/partials/pagination.html' %}{% endif %} + + + + {{ order.number }} + + + + {{ order.date_placed }} + + + {{ order.total_incl_tax|currency }} + + + {{ discount.amount|currency }} + + + {% endwith %} + {% endfor %} + + + {% include 'oscar/dashboard/partials/pagination.html' %} + {% endif %} {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/offers/offer_list.html b/tests/django_oscar/oscar/dashboard/offers/offer_list.html index 3a2fad3..da53f59 100644 --- a/tests/django_oscar/oscar/dashboard/offers/offer_list.html +++ b/tests/django_oscar/oscar/dashboard/offers/offer_list.html @@ -44,183 +44,184 @@ {{ field }} {% else %}
    - {{ field.label_tag }} - {% render_field field class+='form-control' %} - {% for error in field.errors %} -
      -
    • - {{ error }} -
    • -
    - {% endfor %} - {# No help text as it wraps #} -
    - {% endif %} - {% else %} - - {% endif %} - {% endfor %} - - - {% trans "Advanced Search" %} - - - {% trans "Reset" %} - - - {# Search modal, if there are form errors the form is automatically openend #} - {% include "oscar/dashboard/partials/advanced_search_modal.html" with form=advanced_form style='horizontal' %} - {% if search_filters %} -
    - - {% for filter in search_filters %} - {{ filter }} - {% endfor %} -
    - {% endif %} -
    -
    - {% csrf_token %} - - - {% if offers %} - - - - {% if form.is_bound %} - {% if form.is_voucher_offer_type or not form.cleaned_data.offer_type %} - + {{ field.label_tag }} + {% render_field field class+='form-control' %} + {% for error in field.errors %} +
      +
    • + {{ error }} +
    • +
    + {% endfor %} + {# No help text as it wraps #} + {% endif %} + {% else %} + {% endif %} - - - - - - - - - - - - {% for offer in offers %} + {% endfor %} + + + {% trans "Advanced Search" %} + + + {% trans "Reset" %} + + + {# Search modal, if there are form errors the form is automatically openend #} + {% include "oscar/dashboard/partials/advanced_search_modal.html" with form=advanced_form style='horizontal' %} + {% if search_filters %} +
    + + {% for filter in search_filters %} + {{ filter }} + {% endfor %} +
    + {% endif %} + + + {% csrf_token %} +
    - - {% if search_filters %} - {% trans "Offer Search Results" %} - {% else %} - {% trans "All Offers" %} - {% endif %} -
    {% anchor 'name' _('Offer name') %}{% anchor 'offer_type' _('Offer type') %}{% trans "Num of vouchers" %}{% anchor 'start_datetime' _('Start date') %}{% anchor 'end_datetime' _('End date') %}{% trans "Priority" %}{% trans "Incentive" %}{% trans "Condition" %}{% trans "Is available?" %} - {% trans "Restrictions" %} - - {% anchor 'num_applications' _('Uses') %} - - {% anchor 'total_discount' _('Cost') %} -
    + + {% if offers %} - - + + {% if form.is_bound %} {% if form.is_voucher_offer_type or not form.cleaned_data.offer_type %} - + {% endif %} {% endif %} - - - - - - - + + + + + + + + + + + {% for offer in offers %} + + + + {% if form.is_bound %} + {% if form.is_voucher_offer_type or not form.cleaned_data.offer_type %} + {% endif %} - {% endfor %} - - - - + + + + + + + + + + + {% endfor %} + {% else %} + + - {% endfor %} - {% else %} - - - - {% endif %} -
    + + {% if search_filters %} + {% trans "Offer Search Results" %} + {% else %} + {% trans "All Offers" %} + {% endif %} +
    - - {{ offer.name }} - - - {{ offer.offer_type }} - {% anchor 'name' _('Offer name') %}{% anchor 'offer_type' _('Offer type') %} - {{ offer.vouchers.count }} - {% trans "Num of vouchers" %} - {{ offer.start_datetime|default:"-" }} - - {{ offer.end_datetime|default:"-" }} - - {{ offer.priority }} - - {{ offer.benefit.description|safe }} - - {{ offer.condition.description|safe }} - - {% if offer.is_available %} - {% trans "Yes" %} - {% else %} - {% trans "No" %} - {% endif %} - - {% for restriction in offer.availability_restrictions %} - {% if not restriction.is_satisfied %} - - {% else %} - {{ restriction.description }} -
    +
    {% anchor 'start_datetime' _('Start date') %}{% anchor 'end_datetime' _('End date') %}{% trans "Priority" %}{% trans "Incentive" %}{% trans "Condition" %} + {% trans "Is available?" %} + + {% trans "Restrictions" %} + + {% anchor 'num_applications' _('Uses') %} + + {% anchor 'total_discount' _('Cost') %} +
    + + {{ offer.name }} + + + {{ offer.offer_type }} + + {{ offer.vouchers.count }} + - {{ offer.num_applications }} - - {{ offer.total_discount|currency }} - - + {{ offer.start_datetime|default:"-" }} + + {{ offer.end_datetime|default:"-" }} + + {{ offer.priority }} + + {{ offer.benefit.description|safe }} + + {{ offer.condition.description|safe }} + + {% if offer.is_available %} + {% trans "Yes" %} + {% else %} + {% trans "No" %} + {% endif %} + + {% for restriction in offer.availability_restrictions %} + {% if not restriction.is_satisfied %} + + {% else %} + {{ restriction.description }} +
    + {% endif %} + {% endfor %} +
    + {{ offer.num_applications }} + + {{ offer.total_discount|currency }} + +
    +
    - +
    + {% trans "No offers found." %}
    - {% trans "No offers found." %} -
    - {% include "oscar/dashboard/partials/pagination.html" %} - + {% endif %} + + {% include "oscar/dashboard/partials/pagination.html" %} + {% endblock dashboard_content %} {% block onbodyload %} -{{ block.super }} -{% if advanced_form.errors %}$('#SearchModal').modal('show');{% endif %} + {{ block.super }} + {% if advanced_form.errors %}$('#SearchModal').modal('show');{% endif %} {% endblock onbodyload %} diff --git a/tests/django_oscar/oscar/dashboard/offers/progress.html b/tests/django_oscar/oscar/dashboard/offers/progress.html index 79d6504..2811d10 100644 --- a/tests/django_oscar/oscar/dashboard/offers/progress.html +++ b/tests/django_oscar/oscar/dashboard/offers/progress.html @@ -8,42 +8,42 @@ {% if step == 2 or step == 3 or step == 4 %} - {% trans "1. Name, description and type" %} + {% trans "1. Name, description and type" %} + + {% else %} + + {% trans "1. Name, description and type" %} + + {% endif %} + + + + - - - - + +
    diff --git a/tests/django_oscar/oscar/dashboard/offers/restrictions_form.html b/tests/django_oscar/oscar/dashboard/offers/restrictions_form.html index 60daffe..161453c 100644 --- a/tests/django_oscar/oscar/dashboard/offers/restrictions_form.html +++ b/tests/django_oscar/oscar/dashboard/offers/restrictions_form.html @@ -1,11 +1,13 @@ {% extends 'oscar/dashboard/offers/step_form.html' %} {% load i18n %} {% block summary %} - {% include 'oscar/dashboard/offers/summary.html' %}{% endblock %} - {% block progress %} - {% include 'oscar/dashboard/offers/progress.html' with step=4 %}{% endblock %} - {% block form_actions_buttons %} - - {% endblock %} + {% include 'oscar/dashboard/offers/summary.html' %} +{% endblock %} +{% block progress %} + {% include 'oscar/dashboard/offers/progress.html' with step=4 %} +{% endblock %} +{% block form_actions_buttons %} + +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/offers/step_form.html b/tests/django_oscar/oscar/dashboard/offers/step_form.html index 885f634..4d63d14 100644 --- a/tests/django_oscar/oscar/dashboard/offers/step_form.html +++ b/tests/django_oscar/oscar/dashboard/offers/step_form.html @@ -51,9 +51,10 @@
    {% block progress %} - {% include 'oscar/dashboard/offers/progress.html' %}{% endblock %} -
    -
    + {% include 'oscar/dashboard/offers/progress.html' %} + {% endblock %} +
    +

    {{ title }}

    @@ -61,45 +62,47 @@
    {% csrf_token %} {% block form_fields %} - {% include "oscar/dashboard/partials/form_fields.html" with form=form %}{% endblock %} - {% block form_extradata %}{% endblock %} -
    - {% block form_actions %} -
    -
    -
    - {% block form_actions_buttons %} - + {% if offer %} + {# When editing offer, show saving button #} + - {% if offer %} - {# When editing offer, show saving button #} - - {% endif %} - {% endblock %} -
    - - {% trans "cancel" %} - + {% endif %} + {% endblock %}
    + + {% trans "cancel" %} +
    - {% endblock form_actions %} - -
    - {% if session_offer %} -
    - {% block summary %} - {% include 'oscar/dashboard/offers/summary.html' %}{% endblock %}
    - {% endif %} + {% endblock form_actions %} + +
    + {% if session_offer %} +
    + {% block summary %} + {% include 'oscar/dashboard/offers/summary.html' %} + {% endblock %}
    - {% endblock dashboard_content %} + {% endif %} +
    +{% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/offers/summary.html b/tests/django_oscar/oscar/dashboard/offers/summary.html index 6add8ab..ddef7ba 100644 --- a/tests/django_oscar/oscar/dashboard/offers/summary.html +++ b/tests/django_oscar/oscar/dashboard/offers/summary.html @@ -8,80 +8,80 @@ -

    - {% trans "Name" %}: -
    - {{ session_offer.name }} -

    - {% if session_offer.description %} + {% trans "Edit" %} + +

    - {% trans "Description" %}: + {% trans "Name" %}:
    - {{ session_offer.description|safe|striptags|truncatewords:8 }} + {{ session_offer.name }}

    - {% endif %} -

    - {% trans "Type" %}: -
    - {{ session_offer.offer_type }} -

    -
    -{% endif %} -{% if session_offer.benefit %} -
    - -

    - {% trans "Incentive" %}: -
    - {{ session_offer.benefit.description|safe }} -

    -
    -{% endif %} -{% if session_offer.condition %} -
    - -

    - {% trans "Condition" %}: -
    - {{ session_offer.condition.description|safe }} -

    -
    -{% endif %} -{% if session_offer.pk %} -
    - -

    -{% trans "Restrictions" %}: -

    -{% if offer.availability_restrictions %} -
      - {% for restriction in offer.availability_restrictions %} -
    • - {{ restriction.description }} -
    • - {% endfor %} -
    -{% else %} -- -{% endif %} -
    -{% endif %} + {% if session_offer.description %} +

    + {% trans "Description" %}: +
    + {{ session_offer.description|safe|striptags|truncatewords:8 }} +

    + {% endif %} +

    + {% trans "Type" %}: +
    + {{ session_offer.offer_type }} +

    +
    + {% endif %} + {% if session_offer.benefit %} +
    + +

    + {% trans "Incentive" %}: +
    + {{ session_offer.benefit.description|safe }} +

    +
    + {% endif %} + {% if session_offer.condition %} +
    + +

    + {% trans "Condition" %}: +
    + {{ session_offer.condition.description|safe }} +

    +
    + {% endif %} + {% if session_offer.pk %} +
    + +

    + {% trans "Restrictions" %}: +

    + {% if offer.availability_restrictions %} +
      + {% for restriction in offer.availability_restrictions %} +
    • + {{ restriction.description }} +
    • + {% endfor %} +
    + {% else %} + - + {% endif %} +
    + {% endif %}
    diff --git a/tests/django_oscar/oscar/dashboard/orders/line_detail.html b/tests/django_oscar/oscar/dashboard/orders/line_detail.html index 172378e..9f8ac93 100644 --- a/tests/django_oscar/oscar/dashboard/orders/line_detail.html +++ b/tests/django_oscar/oscar/dashboard/orders/line_detail.html @@ -203,70 +203,70 @@ {% for event_qty in line.shipping_event_quantities.all %} {% with event=event_qty.event %} - - {{ event.event_type.name }} - - - {{ event_qty.quantity }} - - - {{ event.notes }} - - - {{ event.date_created }} - - {% endwith %} - - {% empty %} - - {% trans "No shipping events have occurred." %} - - {% endfor %} - - -
    -
    -
    -

    - {% trans "Payment events" %} -

    + + {{ event.event_type.name }} + + + {{ event_qty.quantity }} + + + {{ event.notes }} + + + {{ event.date_created }} + + {% endwith %} + + {% empty %} + + {% trans "No shipping events have occurred." %} + + {% endfor %} + +
    - - - - - - - - - - {% for event_qty in line.payment_event_quantities.all %} +
    +
    +

    + {% trans "Payment events" %} +

    +
    +
    - {% trans "Event" %} - - {% trans "Quantity" %} - - {% trans "Date" %} -
    + - {% with event=event_qty.event %} - - - - {% endwith %} - - {% empty %} - - - - {% endfor %} - -
    - {{ event.event_type.name }} - - {{ event_qty.quantity }} - - {{ event.date_created }} -
    {% trans "No payment events have occurred." %}
    -
    - + + {% trans "Event" %} + + + {% trans "Quantity" %} + + + {% trans "Date" %} + + + + + {% for event_qty in line.payment_event_quantities.all %} + + {% with event=event_qty.event %} + + {{ event.event_type.name }} + + + {{ event_qty.quantity }} + + + {{ event.date_created }} + + {% endwith %} + + {% empty %} + + {% trans "No payment events have occurred." %} + + {% endfor %} + + + + {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/orders/order_detail.html b/tests/django_oscar/oscar/dashboard/orders/order_detail.html index 57811f1..6a4f7cb 100644 --- a/tests/django_oscar/oscar/dashboard/orders/order_detail.html +++ b/tests/django_oscar/oscar/dashboard/orders/order_detail.html @@ -99,18 +99,18 @@ {% endblock order_information %} {% block additional_order_information %}{% endblock additional_order_information %} -
    -

    - {% trans "Order Details" %} -

    -
    -
    -
    {% endblock dashboard_content %} {% block onbodyload %} -{{ block.super }} -oscar.dashboard.orders.initTabs(); -oscar.dashboard.orders.initTable(); + {{ block.super }} + oscar.dashboard.orders.initTabs(); + oscar.dashboard.orders.initTable(); {% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/orders/order_list.html b/tests/django_oscar/oscar/dashboard/orders/order_list.html index 42d6337..ab25f37 100644 --- a/tests/django_oscar/oscar/dashboard/orders/order_list.html +++ b/tests/django_oscar/oscar/dashboard/orders/order_list.html @@ -63,9 +63,7 @@ {% include "oscar/dashboard/partials/advanced_search_modal.html" with form=form style='horizontal' %} {% if search_filters %}
    - + {% for filter in search_filters %} {{ filter }} {% endfor %} @@ -88,9 +86,7 @@
    - + -
    -{% endfor %} +
    + {% if 'noicon' not in message.tags %} + {# Include an icon by default #} + {% if 'success' in message.tags %} + + {% elif 'info' in message.tags %} + + {% elif 'warning' in message.tags %} + + {% elif 'danger' in message.tags or 'error' in message.tags %} + + {% endif %} + {% endif %} + {# Allow HTML to be embedded in messages #} + {% if 'safe' in message.tags %} + {{ message|safe }} + {% else %} + {{ message }} + {% endif %} +
    + +
    + {% endfor %} {% endif %}
    diff --git a/tests/django_oscar/oscar/dashboard/partials/form_field.html b/tests/django_oscar/oscar/dashboard/partials/form_field.html index 8add45f..042c923 100644 --- a/tests/django_oscar/oscar/dashboard/partials/form_field.html +++ b/tests/django_oscar/oscar/dashboard/partials/form_field.html @@ -10,51 +10,51 @@ {% annotate_form_field field %} {% block control_group %}
    - {% block label %} - {% if not nolabel and field.widget_type != 'checkbox' %} - - {% endif %} -{% endblock %} -{% block controls %} -
    - {% block widget %} - {% if field.widget_type == 'checkbox' %} - {% render_field field class+="form-check-input" %} - - {% elif field.widget_type == 'radioselect' %} - {% render_field field class+="form-check-input position-static controls mt-2" %} - {% else %} - {% render_field field class+="form-control" %} - {% endif %} -{% endblock %} -{% block errors %} - {% for error in field.errors %} - - - {{ error }} - - {% endfor %} -{% endblock %} -{% block help_text %} - {% if field.help_text %} - - {# We allow HTML within form help fields #} - {{ field.help_text|safe }} - - {% endif %} -{% endblock %} -
    -{% endblock %} + {% block label %} + {% if not nolabel and field.widget_type != 'checkbox' %} + + {% endif %} + {% endblock %} + {% block controls %} +
    + {% block widget %} + {% if field.widget_type == 'checkbox' %} + {% render_field field class+="form-check-input" %} + + {% elif field.widget_type == 'radioselect' %} + {% render_field field class+="form-check-input position-static controls mt-2" %} + {% else %} + {% render_field field class+="form-control" %} + {% endif %} + {% endblock %} + {% block errors %} + {% for error in field.errors %} + + + {{ error }} + + {% endfor %} + {% endblock %} + {% block help_text %} + {% if field.help_text %} + + {# We allow HTML within form help fields #} + {{ field.help_text|safe }} + + {% endif %} + {% endblock %} +
    + {% endblock %}
    {% endblock %} {% endif %} diff --git a/tests/django_oscar/oscar/dashboard/partials/form_fields.html b/tests/django_oscar/oscar/dashboard/partials/form_fields.html index 3a18506..afa6291 100644 --- a/tests/django_oscar/oscar/dashboard/partials/form_fields.html +++ b/tests/django_oscar/oscar/dashboard/partials/form_fields.html @@ -16,4 +16,5 @@ {% endfor %} {% endif %} {% for field in form %} - {% include 'oscar/dashboard/partials/form_field.html' with field=field style=style %}{% endfor %} + {% include 'oscar/dashboard/partials/form_field.html' with field=field style=style %} +{% endfor %} diff --git a/tests/django_oscar/oscar/dashboard/partials/form_fields_inline.html b/tests/django_oscar/oscar/dashboard/partials/form_fields_inline.html index 3653e91..26d1d83 100644 --- a/tests/django_oscar/oscar/dashboard/partials/form_fields_inline.html +++ b/tests/django_oscar/oscar/dashboard/partials/form_fields_inline.html @@ -5,16 +5,16 @@ {{ field }} {% else %}
    - {{ field.label_tag }} - {% render_field field class+='form-control' %} - {% for error in field.errors %} -
      -
    • - {{ error }} -
    • -
    - {% endfor %} - {# No help text as it wraps #} -
    -{% endif %} + {{ field.label_tag }} + {% render_field field class+='form-control' %} + {% for error in field.errors %} + + {% endfor %} + {# No help text as it wraps #} + + {% endif %} {% endfor %} diff --git a/tests/django_oscar/oscar/dashboard/partials/product_images.html b/tests/django_oscar/oscar/dashboard/partials/product_images.html index 217e98f..d8a0377 100644 --- a/tests/django_oscar/oscar/dashboard/partials/product_images.html +++ b/tests/django_oscar/oscar/dashboard/partials/product_images.html @@ -15,23 +15,23 @@ {% endfor %} - - {% trans "Re-order" context "Change the sequence order" %} - -
    - {% else %} - {{ field.label_tag }} - {{ field }} - {% for error in field.errors %} - - {% endfor %} - {% endif %} -{% endfor %} -{{ form.non_field_errors }} + {% if not form.instance.id %}disabled{% endif %} + > + + {% trans "Re-order" context "Change the sequence order" %} + +
    + {% else %} + {{ field.label_tag }} + {{ field }} + {% for error in field.errors %} + + {% endfor %} + {% endif %} + {% endfor %} + {{ form.non_field_errors }} diff --git a/tests/django_oscar/oscar/dashboard/partners/partner_list.html b/tests/django_oscar/oscar/dashboard/partners/partner_list.html index 6c0fada..1b1619a 100644 --- a/tests/django_oscar/oscar/dashboard/partners/partner_list.html +++ b/tests/django_oscar/oscar/dashboard/partners/partner_list.html @@ -64,75 +64,78 @@ {% with users=partner.users.all %} - {% if users %} - - {% else %} - {% trans 'No users associated.' %} - {% endif %} - {% endwith %} - - - {% with addresses=partner.addresses.all %} - {% if addresses %} - - {% else %} - {% trans 'No address associated.' %} - {% endif %} - {% endwith %} - - -
    - - - - {% endfor %} - {% else %} - - {% trans "No partners found." %} - - {% endif %} - -{% include "oscar/dashboard/partials/pagination.html" %} - + + + {% endfor %} + {% else %} + + {% trans "No partners found." %} + + {% endif %} + + {% include "oscar/dashboard/partials/pagination.html" %} + {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/partners/partner_user_list.html b/tests/django_oscar/oscar/dashboard/partners/partner_user_list.html index 8a77a5a..9627d17 100644 --- a/tests/django_oscar/oscar/dashboard/partners/partner_user_list.html +++ b/tests/django_oscar/oscar/dashboard/partners/partner_user_list.html @@ -83,4 +83,5 @@ {% endif %} {% include "oscar/dashboard/partials/pagination.html" %}

    {% trans "Update details" %}

    - {% include 'oscar/dashboard/partials/form.html' %}{% endblock dashboard_content %} + {% include 'oscar/dashboard/partials/form.html' %} +{% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/partners/partner_user_select.html b/tests/django_oscar/oscar/dashboard/partners/partner_user_select.html index 6618872..984094c 100644 --- a/tests/django_oscar/oscar/dashboard/partners/partner_user_select.html +++ b/tests/django_oscar/oscar/dashboard/partners/partner_user_select.html @@ -53,50 +53,50 @@ {% if form.is_bound %} {% if users %} {% with partner_users=partner.users.all %} - - {% block users_header %} - - - - - - - - - {% endblock %} - - {% for user in users %} - {% block users_row %} +
    {% trans 'Email' %}{% trans 'First name' %}{% trans 'Last name' %} 
    + {% block users_header %} + - - - - + + + + - {% endblock %} - {% endfor %} - -
    {{ user.email }}{{ user.first_name|default:"-" }}{{ user.last_name|default:"-" }} - {% if user in partner_users %} - {% blocktrans with name=partner.name %} - User is already linked to {{ name }}. - {% endblocktrans %} - {% else %} -
    - {% csrf_token %} - -
    - {% endif %} -
    {% trans 'Email' %}{% trans 'First name' %}{% trans 'Last name' %} 
    - {% endwith %} - {% include "oscar/dashboard/partials/pagination.html" %} - {% else %} - {% trans "No users found." %} + + {% endblock %} + + {% for user in users %} + {% block users_row %} + + {{ user.email }} + {{ user.first_name|default:"-" }} + {{ user.last_name|default:"-" }} + + {% if user in partner_users %} + {% blocktrans with name=partner.name %} + User is already linked to {{ name }}. + {% endblocktrans %} + {% else %} +
    + {% csrf_token %} + +
    + {% endif %} + + + {% endblock %} + {% endfor %} + + + {% endwith %} + {% include "oscar/dashboard/partials/pagination.html" %} + {% else %} + {% trans "No users found." %} + {% endif %} {% endif %} -{% endif %} {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/ranges/range_list.html b/tests/django_oscar/oscar/dashboard/ranges/range_list.html index f7d37c1..21f39cb 100644 --- a/tests/django_oscar/oscar/dashboard/ranges/range_list.html +++ b/tests/django_oscar/oscar/dashboard/ranges/range_list.html @@ -115,4 +115,5 @@ {% endif %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endblock dashboard_content %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/ranges/range_product_list.html b/tests/django_oscar/oscar/dashboard/ranges/range_product_list.html index 56475a4..e82f2f8 100644 --- a/tests/django_oscar/oscar/dashboard/ranges/range_product_list.html +++ b/tests/django_oscar/oscar/dashboard/ranges/range_product_list.html @@ -53,133 +53,135 @@
    {% with uploads=range.file_uploads.all %} - {% if uploads %} -
    -

    {% trans "Upload history" %}

    -
    - - - - - - - - - - - - {% for upload in uploads %} + {% if uploads %} +
    +

    {% trans "Upload history" %}

    +
    +
    {% trans "Filename" %}{% trans "New products" %}{% trans "Duplicate products" %}{% trans "Unknown products" %}{% trans "Date uploaded" %}
    + - - - - - + + + + + - {% endfor %} - -
    {{ upload.filepath }}{{ upload.num_new_skus }}{{ upload.num_duplicate_skus }} - {{ upload.num_unknown_skus }} - - {{ upload.date_uploaded }} - {% trans "Filename" %}{% trans "New products" %}{% trans "Duplicate products" %}{% trans "Unknown products" %}{% trans "Date uploaded" %}
    - {% endif %} - {% endwith %} - {% if products %} -
    - {% csrf_token %} + + + {% for upload in uploads %} + + {{ upload.filepath }} + {{ upload.num_new_skus }} + {{ upload.num_duplicate_skus }} + + {{ upload.num_unknown_skus }} + + + {{ upload.date_uploaded }} + + + {% endfor %} + + + {% endif %} + {% endwith %} + {% if products %} + + {% csrf_token %} + + + + + + + + + + + + + {% for product in products %} + + + + + + + + {% endfor %} + +
    +

    {% trans "Products in range" %}

    +
    + + +
    +
    + {% trans "UPC" %} + + {% trans "Title" context "Product title" %} + + {% trans "Is product discountable?" %} +
    + + + {{ product.upc|default:"-" }} + + + {{ product.get_title }} + + + {% if product.get_is_discountable %} + {% trans "Yes" %} + {% else %} + {% trans "No" %} + {% endif %} + + + {% trans "Remove" %} + + {% if range.is_reorderable %} + + + {% trans "Re-order" context "Change the sequence order" %} + + {% endif %} +
    + {% include "oscar/dashboard/partials/pagination.html" %} +
    + {% else %} - - - - - - - - - - - {% for product in products %} - - - - - - - - {% endfor %} - + + +
    -

    {% trans "Products in range" %}

    -
    - - -
    + {% trans "Products in Range" %}
    - {% trans "UPC" %} - - {% trans "Title" context "Product title" %} - - {% trans "Is product discountable?" %} -
    - - - {{ product.upc|default:"-" }} - - - {{ product.get_title }} - - - {% if product.get_is_discountable %} - {% trans "Yes" %} - {% else %} - {% trans "No" %} - {% endif %} - - - {% trans "Remove" %} - - {% if range.is_reorderable %} - - - {% trans "Re-order" context "Change the sequence order" %} - - {% endif %} -
    + {% trans "No products found." %} +
    - {% include "oscar/dashboard/partials/pagination.html" %} - - {% else %} - - - - - -
    - {% trans "Products in Range" %} -
    - {% trans "No products found." %} -
    - {% endif %} + {% endif %} + + {% endif %} + -{% endif %} - {% endblock dashboard_content %} {% block onbodyload %} -{{ block.super }} -oscar.dashboard.ranges.init(); -oscar.dashboard.reordering.init({ -wrapper: '.product_list', -submit_url: '{% url 'dashboard:range-reorder' pk=range.id %}' -}); + {{ block.super }} + oscar.dashboard.ranges.init(); + oscar.dashboard.reordering.init({ + wrapper: '.product_list', + submit_url: '{% url 'dashboard:range-reorder' pk=range.id %}' + }); {% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/reports/partials/offer_report.html b/tests/django_oscar/oscar/dashboard/reports/partials/offer_report.html index bc68849..b694cad 100644 --- a/tests/django_oscar/oscar/dashboard/reports/partials/offer_report.html +++ b/tests/django_oscar/oscar/dashboard/reports/partials/offer_report.html @@ -24,4 +24,5 @@ {% endif %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endblock %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/reports/partials/open_basket_report.html b/tests/django_oscar/oscar/dashboard/reports/partials/open_basket_report.html index 6a8447e..0a34649 100644 --- a/tests/django_oscar/oscar/dashboard/reports/partials/open_basket_report.html +++ b/tests/django_oscar/oscar/dashboard/reports/partials/open_basket_report.html @@ -40,4 +40,5 @@ {% endfor %} -{% include "oscar/dashboard/partials/pagination.html" %}{% endblock %} +{% include "oscar/dashboard/partials/pagination.html" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/reports/partials/order_report.html b/tests/django_oscar/oscar/dashboard/reports/partials/order_report.html index c50aade..30ddefc 100644 --- a/tests/django_oscar/oscar/dashboard/reports/partials/order_report.html +++ b/tests/django_oscar/oscar/dashboard/reports/partials/order_report.html @@ -44,4 +44,5 @@ {% endif %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endblock %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/reports/partials/product_report.html b/tests/django_oscar/oscar/dashboard/reports/partials/product_report.html index bd8b02f..5a9c957 100644 --- a/tests/django_oscar/oscar/dashboard/reports/partials/product_report.html +++ b/tests/django_oscar/oscar/dashboard/reports/partials/product_report.html @@ -22,4 +22,5 @@ {% endfor %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endblock %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/reports/partials/submitted_basket_report.html b/tests/django_oscar/oscar/dashboard/reports/partials/submitted_basket_report.html index f506bc6..3d316ec 100644 --- a/tests/django_oscar/oscar/dashboard/reports/partials/submitted_basket_report.html +++ b/tests/django_oscar/oscar/dashboard/reports/partials/submitted_basket_report.html @@ -38,4 +38,5 @@ {% endfor %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endblock %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/reports/partials/user_report.html b/tests/django_oscar/oscar/dashboard/reports/partials/user_report.html index cce756f..14a8ece 100644 --- a/tests/django_oscar/oscar/dashboard/reports/partials/user_report.html +++ b/tests/django_oscar/oscar/dashboard/reports/partials/user_report.html @@ -54,4 +54,5 @@ {% endfor %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endblock %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/reports/partials/voucher_report.html b/tests/django_oscar/oscar/dashboard/reports/partials/voucher_report.html index aaa0671..fef63a1 100644 --- a/tests/django_oscar/oscar/dashboard/reports/partials/voucher_report.html +++ b/tests/django_oscar/oscar/dashboard/reports/partials/voucher_report.html @@ -28,4 +28,5 @@ {% endif %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endblock %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/shipping/weight_based_detail.html b/tests/django_oscar/oscar/dashboard/shipping/weight_based_detail.html index 9ac63bc..e5b27c3 100644 --- a/tests/django_oscar/oscar/dashboard/shipping/weight_based_detail.html +++ b/tests/django_oscar/oscar/dashboard/shipping/weight_based_detail.html @@ -36,80 +36,82 @@ {{ method.description|safe|default:"-" }} {% with countries=method.countries.all %} - {% if countries %} - - {% trans "Applies to countries" %} - {{ countries|join:", " }} - - {% endif %} - {% endwith %} - - {% trans "Default product weight (kg)" %} - {{ method.default_weight }} - - - -

    - - {% trans 'Edit shipping method' %} - - - {% trans 'Delete shipping method' %} - -

    -

    {% trans "Weight bands" %}

    - {% if method.bands.all.count %} - - + {% if countries %} + + + + + {% endif %} + {% endwith %} - - - + + - - - {% for band in method.bands.all %} - - - - - - {% endfor %}
    {% trans "Applies to countries" %}{{ countries|join:", " }}
    - {% trans "Weight range (kg)" %} - - {% trans "Charge" %} - {% trans "Default product weight (kg)" %}{{ method.default_weight }}
    - {{ band.weight_from|floatformat:3 }} - {{ band.weight_to|floatformat:3 }} - - {{ band.charge|currency }} - - - {% trans "Edit" %} - - - {% trans "Delete" %} - -
    - {% else %}

    - {% trans "No weight bands have been added yet." %} + + {% trans 'Edit shipping method' %} + + + {% trans 'Delete shipping method' %} +

    - {% endif %} -

    - {% trans "Add a new weight band" %} -

    -
    - {% csrf_token %} - {% include "oscar/dashboard/partials/form_fields.html" with form=form %} - -
    - +

    {% trans "Weight bands" %}

    + {% if method.bands.all.count %} + + + + + + + + + + {% for band in method.bands.all %} + + + + + + {% endfor %} + +
    + {% trans "Weight range (kg)" %} + + {% trans "Charge" %} +
    + {{ band.weight_from|floatformat:3 }} - {{ band.weight_to|floatformat:3 }} + + {{ band.charge|currency }} + + + {% trans "Edit" %} + + + {% trans "Delete" %} + +
    + {% else %} +

    + {% trans "No weight bands have been added yet." %} +

    + {% endif %} +

    + {% trans "Add a new weight band" %} +

    +
    + {% csrf_token %} + {% include "oscar/dashboard/partials/form_fields.html" with form=form %} + +
    + {% endblock %} diff --git a/tests/django_oscar/oscar/dashboard/table.html b/tests/django_oscar/oscar/dashboard/table.html index bfa4d08..a4a850e 100644 --- a/tests/django_oscar/oscar/dashboard/table.html +++ b/tests/django_oscar/oscar/dashboard/table.html @@ -29,5 +29,6 @@ {% endblock table.thead %} {% block pagination %} {% with page_obj=table.page paginator=table.paginator %} - {% include "oscar/dashboard/partials/pagination.html" %}{% endwith %} + {% include "oscar/dashboard/partials/pagination.html" %} + {% endwith %} {% endblock pagination %} diff --git a/tests/django_oscar/oscar/dashboard/users/alerts/update.html b/tests/django_oscar/oscar/dashboard/users/alerts/update.html index ffdafbc..9fadf3d 100644 --- a/tests/django_oscar/oscar/dashboard/users/alerts/update.html +++ b/tests/django_oscar/oscar/dashboard/users/alerts/update.html @@ -53,4 +53,5 @@ - {% include 'oscar/dashboard/users/alerts/partials/alert.html' %}{% endblock dashboard_content %} + {% include 'oscar/dashboard/users/alerts/partials/alert.html' %} +{% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/users/detail.html b/tests/django_oscar/oscar/dashboard/users/detail.html index 1285e40..f718a91 100644 --- a/tests/django_oscar/oscar/dashboard/users/detail.html +++ b/tests/django_oscar/oscar/dashboard/users/detail.html @@ -71,240 +71,240 @@ {% if customer.userrecord %} {% with record=customer.userrecord %} - - - {% trans "Products viewed" %} - - - {{ record.num_product_views|default:0 }} - - - - - {% trans "Number of orders" %} - - - {{ record.num_orders|default:0 }} - - - - - {% trans "Number of ordered items" %} - - - {{ record.num_order_items|default:0 }} - - - - - {% trans "Total spent" %} - - - {{ record.total_spent|default:0|currency }} - - - {% endwith %} - {% endif %} - - - {% trans "Reviews written" %} - - - {{ customer.reviews.count }} - - - {% if customer.email %} - - - {% trans "Actions" %} - - -
    - {% csrf_token %} - -
    - - - {% endif %} - - - {% endblock %} - -
    - {% block user_additional_info %} -
    - {% block tab_nav %} - - {% endblock %} -
    - {% block user_orders %} -
    - - - {% with orders=customer.orders.all %} - {% if orders %} - - - - - - - - - {% for order in orders %} - - - - - - - - - {% endfor %} - {% else %} - - - - {% endif %} - {% endwith %} -
    - {% trans "Orders" %} -
    - {% trans "Order Number" %} - - {% trans "Num items" %} - - {% trans "Total value" %} - - {% trans "Date placed" %} - - {% trans "Status" %} -
    - - {{ order.number }} - - - {{ order.num_items }} - - {{ order.basket_total_incl_tax|currency }} - - {{ order.date_placed|date }} - - {{ order.status|default:"-" }} - - - {% trans "View" %} - -
    - {% trans "This customer has not placed any orders yet." %} -
    -
    - {% endblock %} - {% block user_addresses %} -
    -

    - {% trans "Addresses" %} -

    -
    - {% for address in customer.addresses.all %} -
    -
    - {% for field in address.active_address_fields %} - {{ field }} -
    - {% endfor %} -
    -
    - {% if forloop.counter|divisibleby:4 %} -
    -
    - {% endif %} - {% empty %} -

    - {% trans "This customer has not saved any addresses." %} -

    - {% endfor %} -
    -
    - {% endblock %} - {% block user_reviews %} -
    - - - {% if customer.reviews.count %} - - - - - - {% for review in customer.reviews.all %} - - - - - - - - {% endfor %} - {% else %} - - {% endif %} -
    - {% trans "Reviews" %} -
    - {% trans "Product ID" %} + {% trans "Products viewed" %} - {% trans "Score" %} - - {% trans "Title" context "Product review title" %} - - {% trans "Body" %} - - {% trans "Date created" %} -
    - {{ review.product_id }} - - {{ review.score }} - - {{ review.title }} - - {{ review.body }} - - {{ review.date_created }} -
    - {% trans "This customer has not written any reviews yet." %} + {{ record.num_product_views|default:0 }}
    -
    - {% endblock %} -
    + + + {% trans "Number of orders" %} + + + {{ record.num_orders|default:0 }} + + + + + {% trans "Number of ordered items" %} + + + {{ record.num_order_items|default:0 }} + + + + + {% trans "Total spent" %} + + + {{ record.total_spent|default:0|currency }} + + + {% endwith %} + {% endif %} + + + {% trans "Reviews written" %} + + + {{ customer.reviews.count }} + + + {% if customer.email %} + + + {% trans "Actions" %} + + +
    + {% csrf_token %} + +
    + + + {% endif %} + +
    + {% endblock %}
    - -{% endblock %} +
    + {% block user_additional_info %} +
    + {% block tab_nav %} + + {% endblock %} +
    + {% block user_orders %} +
    + + + {% with orders=customer.orders.all %} + {% if orders %} + + + + + + + + + {% for order in orders %} + + + + + + + + + {% endfor %} + {% else %} + + + + {% endif %} + {% endwith %} +
    + {% trans "Orders" %} +
    + {% trans "Order Number" %} + + {% trans "Num items" %} + + {% trans "Total value" %} + + {% trans "Date placed" %} + + {% trans "Status" %} +
    + + {{ order.number }} + + + {{ order.num_items }} + + {{ order.basket_total_incl_tax|currency }} + + {{ order.date_placed|date }} + + {{ order.status|default:"-" }} + + + {% trans "View" %} + +
    + {% trans "This customer has not placed any orders yet." %} +
    +
    + {% endblock %} + {% block user_addresses %} +
    +

    + {% trans "Addresses" %} +

    +
    + {% for address in customer.addresses.all %} +
    +
    + {% for field in address.active_address_fields %} + {{ field }} +
    + {% endfor %} +
    +
    + {% if forloop.counter|divisibleby:4 %} +
    +
    + {% endif %} + {% empty %} +

    + {% trans "This customer has not saved any addresses." %} +

    + {% endfor %} +
    +
    + {% endblock %} + {% block user_reviews %} +
    + + + {% if customer.reviews.count %} + + + + + + + + {% for review in customer.reviews.all %} + + + + + + + + {% endfor %} + {% else %} + + + + {% endif %} +
    + {% trans "Reviews" %} +
    + {% trans "Product ID" %} + + {% trans "Score" %} + + {% trans "Title" context "Product review title" %} + + {% trans "Body" %} + + {% trans "Date created" %} +
    + {{ review.product_id }} + + {{ review.score }} + + {{ review.title }} + + {{ review.body }} + + {{ review.date_created }} +
    + {% trans "This customer has not written any reviews yet." %} +
    +
    + {% endblock %} +
    +
    +
    + {% endblock %} {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/users/table.html b/tests/django_oscar/oscar/dashboard/users/table.html index 90c71dc..8a61e03 100644 --- a/tests/django_oscar/oscar/dashboard/users/table.html +++ b/tests/django_oscar/oscar/dashboard/users/table.html @@ -6,9 +6,7 @@
    {% trans "Bulk Actions" %} - +
    - -
    + {% trans "cancel" %} + + + + {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/vouchers/voucher_detail.html b/tests/django_oscar/oscar/dashboard/vouchers/voucher_detail.html index 3e8447e..b1f85dd 100644 --- a/tests/django_oscar/oscar/dashboard/vouchers/voucher_detail.html +++ b/tests/django_oscar/oscar/dashboard/vouchers/voucher_detail.html @@ -79,9 +79,7 @@ {% for restriction in offer.availability_restrictions %} {% if not restriction.is_satisfied %} - + {% else %} {{ restriction.description }}
    @@ -164,49 +162,49 @@ {% for discount in discounts %} {% with order=discount.order %} - - - - {{ order.number }} - - - - {{ order.total_incl_tax|currency:order.currency }} - - - {{ discount.amount|currency:order.currency }} - - - {{ order.date_placed }} - - - {% endwith %} - {% endfor %} - - {% endif %} - -
    - {% if not voucher.voucher_set %} - - {% trans "Edit" %} - - {% trans "or" %} - {% else %} - - {% trans "Edit set" %} - - {% trans "or" %} - {% endif %} - - {% if not voucher.voucher_set %} - {% trans "Delete" %} - {% else %} - {% trans "Delete from set" %} + + + + {{ order.number }} + + + + {{ order.total_incl_tax|currency:order.currency }} + + + {{ discount.amount|currency:order.currency }} + + + {{ order.date_placed }} + + + {% endwith %} + {% endfor %} + {% endif %} - - {% trans "or" %} - - {% trans "cancel" %} - -
    + + {% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/dashboard/vouchers/voucher_list.html b/tests/django_oscar/oscar/dashboard/vouchers/voucher_list.html index 81a4c9a..becba6c 100644 --- a/tests/django_oscar/oscar/dashboard/vouchers/voucher_list.html +++ b/tests/django_oscar/oscar/dashboard/vouchers/voucher_list.html @@ -52,168 +52,167 @@ {{ field }} {% else %}
    - {{ field.label_tag }} - {% render_field field class+='form-control' %} - {% for error in field.errors %} -
      -
    • - {{ error }} -
    • -
    - {% endfor %} - {# No help text as it wraps #} -
    + {{ field.label_tag }} + {% render_field field class+='form-control' %} + {% for error in field.errors %} + + {% endfor %} + {# No help text as it wraps #} + + {% endif %} + {% else %} + {% endif %} - {% else %} - - {% endif %} - {% endfor %} - - - {% trans "Advanced Search" %} - - - {% trans "Reset" %} - - - {# Search modal, if there are form errors the form is automatically openend #} - {% include "oscar/dashboard/partials/advanced_search_modal.html" with form=advanced_form style='horizontal' %} - {% if search_filters %} -
    - - {% for filter in search_filters %} - {{ filter }} {% endfor %} -
    - {% endif %} - -{% endblock page_head %} -{% block voucher_table %} - - - {% if vouchers %} - {% block table_head %} - - - - - - - - - {% if form.is_bound and form.cleaned_data.in_set is not False %} - - {% endif %} - - - {% endblock table_head %} - {% for voucher in vouchers %} - {% block table_row %} + + + {% trans "Advanced Search" %} + + + {% trans "Reset" %} + + + {# Search modal, if there are form errors the form is automatically openend #} + {% include "oscar/dashboard/partials/advanced_search_modal.html" with form=advanced_form style='horizontal' %} + {% if search_filters %} +
    + + {% for filter in search_filters %} + {{ filter }} + {% endfor %} +
    + {% endif %} + + {% endblock page_head %} + {% block voucher_table %} +
    - - {% if search_filters %} - {% trans "Voucher Search Results" %} - {% else %} - {% trans "All Vouchers" %} - {% endif %} -
    {% trans "Name" %}{% trans "Code" %}{% trans "Status" %}{% trans "Num offers" %}{% anchor 'num_basket_additions' _("Num baskets") %}{% anchor 'num_orders' _("Num orders") %}{% anchor 'date_created' _("Date created") %}{% trans "Set" %}
    + + {% if vouchers %} + {% block table_head %} - - - - - - - + + + + + + + {% if form.is_bound and form.cleaned_data.in_set is not False %} + + {% endif %} + + + {% endblock table_head %} + {% for voucher in vouchers %} + {% block table_row %} + + + - {% endif %} - + + + + {% if form.is_bound and form.cleaned_data.in_set is not False %} + + {% endif %} + - - {% endblock table_row %} - {% endfor %} - {% else %} - - - - {% endif %} -
    + + {% if search_filters %} + {% trans "Voucher Search Results" %} + {% else %} + {% trans "All Vouchers" %} + {% endif %} +
    - - {{ voucher.name }} - - - {{ voucher.code }} - - {% if voucher.is_active %} - {% trans "Active" %} - {% else %} - {% trans "Inactive" %} - {% endif %} - - {{ voucher.offers.count }} - - {{ voucher.num_basket_additions }} - - {{ voucher.num_orders }} - - {{ voucher.date_created }} - {% trans "Name" %}{% trans "Code" %}{% trans "Status" %}{% trans "Num offers" %}{% anchor 'num_basket_additions' _("Num baskets") %}{% anchor 'num_orders' _("Num orders") %}{% anchor 'date_created' _("Date created") %}{% trans "Set" %}
    - {% if voucher.voucher_set.pk %} - - {{ voucher.voucher_set.name }} - + + {{ voucher.name }} + + + {{ voucher.code }} + + {% if voucher.is_active %} + {% trans "Active" %} {% else %} - - + {% trans "Inactive" %} {% endif %} - {% block row_actions %} -
    -
    + {{ voucher.offers.count }} + + {{ voucher.num_basket_additions }} + + {{ voucher.num_orders }} + + {{ voucher.date_created }} + + {% if voucher.voucher_set.pk %} + + {{ voucher.voucher_set.name }} + + {% else %} + - + {% endif %} + + {% block row_actions %} + - - {% endblock row_actions %} -
    - {% trans "No vouchers found." %} -
    -{% endblock voucher_table %} -{% include "oscar/dashboard/partials/pagination.html" %}{% endblock dashboard_content %} + {% endblock row_actions %} + + + {% endblock table_row %} + {% endfor %} + {% else %} + + + {% trans "No vouchers found." %} + + + {% endif %} + + {% endblock voucher_table %} + {% include "oscar/dashboard/partials/pagination.html" %} +{% endblock dashboard_content %} {% block onbodyload %} {{ block.super }} {% if advanced_form.errors %}$('#SearchModal').modal('show');{% endif %} diff --git a/tests/django_oscar/oscar/dashboard/vouchers/voucher_set_detail.html b/tests/django_oscar/oscar/dashboard/vouchers/voucher_set_detail.html index fd6a571..c61e90e 100644 --- a/tests/django_oscar/oscar/dashboard/vouchers/voucher_set_detail.html +++ b/tests/django_oscar/oscar/dashboard/vouchers/voucher_set_detail.html @@ -53,9 +53,7 @@ {% if search_filters %}
    - + {% for filter in search_filters %} {{ filter }} {% endfor %} @@ -113,7 +111,9 @@ {% endfor %} {% else %} - {% trans "No vouchers found." %} + + {% trans "No vouchers found." %} + {% endif %} @@ -186,9 +186,7 @@ {% for restriction in offer.availability_restrictions %} {% if not restriction.is_satisfied %} - + {% else %} {{ restriction.description }}
    diff --git a/tests/django_oscar/oscar/dashboard/vouchers/voucher_set_list.html b/tests/django_oscar/oscar/dashboard/vouchers/voucher_set_list.html index 2aba0e3..53ceaa9 100644 --- a/tests/django_oscar/oscar/dashboard/vouchers/voucher_set_list.html +++ b/tests/django_oscar/oscar/dashboard/vouchers/voucher_set_list.html @@ -110,4 +110,5 @@ {% endif %} - {% include "oscar/partials/pagination.html" %}{% endblock dashboard_content %} + {% include "oscar/partials/pagination.html" %} +{% endblock dashboard_content %} diff --git a/tests/django_oscar/oscar/layout.html b/tests/django_oscar/oscar/layout.html index bb821b5..2b50f45 100644 --- a/tests/django_oscar/oscar/layout.html +++ b/tests/django_oscar/oscar/layout.html @@ -13,48 +13,51 @@ {% include "oscar/partials/brand.html" %} {# Mini-basket wrapped in a block so some templates can now display it #} {% block mini_basket %} - {% include "oscar/partials/mini_basket.html" %}{% endblock %} -
    + {% include "oscar/partials/mini_basket.html" %} + {% endblock %} - {% block navigation %} - {% include "oscar/partials/nav_primary.html" %}{% endblock %} - - {# Main content of page - other layout templates may override this block #} - {% block content_wrapper %} -
    -
    - {% block breadcrumbs %}{% endblock %} - {% block header %} - - {% endblock %} - {% include "oscar/partials/alert_messages.html" %} - {% block subnavigation %}{% endblock %} -
    - {% block subheader %}{% endblock subheader %} - {# Div exists for AJAX updates to entire content section #} -
    - {% block content %}{% endblock %} -
    -
    -
    +
    + {% block navigation %} + {% include "oscar/partials/nav_primary.html" %} + {% endblock %} + + {# Main content of page - other layout templates may override this block #} + {% block content_wrapper %} +
    +
    + {% block breadcrumbs %}{% endblock %} + {% block header %} + {% endblock %} - {% include "oscar/partials/footer.html" %}{% endblock %} - {# Local scripts #} - {% block scripts %} - {{ block.super }} - - - - - {% endblock %} - {% block extrascripts %} - {% include "oscar/partials/extrascripts.html" %} - {{ block.super }} - {% endblock %} - {% block onbodyload %} - {{ block.super }} - oscar.init(); - {% endblock %} + {% include "oscar/partials/alert_messages.html" %} + {% block subnavigation %}{% endblock %} +
    + {% block subheader %}{% endblock subheader %} + {# Div exists for AJAX updates to entire content section #} +
    + {% block content %}{% endblock %} +
    +
    +
    +
    + {% endblock %} + {% include "oscar/partials/footer.html" %} +{% endblock %} +{# Local scripts #} +{% block scripts %} + {{ block.super }} + + + + +{% endblock %} +{% block extrascripts %} + {% include "oscar/partials/extrascripts.html" %} + {{ block.super }} +{% endblock %} +{% block onbodyload %} + {{ block.super }} + oscar.init(); +{% endblock %} diff --git a/tests/django_oscar/oscar/layout_2_col.html b/tests/django_oscar/oscar/layout_2_col.html index c96a6bc..5548eeb 100644 --- a/tests/django_oscar/oscar/layout_2_col.html +++ b/tests/django_oscar/oscar/layout_2_col.html @@ -5,27 +5,27 @@ main content area to split it into a sidebar and a content block {% endcomment %} {% block content_wrapper %}
    -
    - {% block breadcrumbs %}{% endblock %} -
    - -
    - {% block header %} - - {% endblock %} - {% include "oscar/partials/alert_messages.html" %} - {% block pre_content %}{% endblock %} - {% block content %}{% endblock %} +
    + {% block breadcrumbs %}{% endblock %} +
    + +
    + {% block header %} + + {% endblock %} + {% include "oscar/partials/alert_messages.html" %} + {% block pre_content %}{% endblock %} + {% block content %}{% endblock %} +
    +
    - -
    - +
    {% endblock %} diff --git a/tests/django_oscar/oscar/order/partials/basket_totals.html b/tests/django_oscar/oscar/order/partials/basket_totals.html index c0fd6ea..887f32f 100644 --- a/tests/django_oscar/oscar/order/partials/basket_totals.html +++ b/tests/django_oscar/oscar/order/partials/basket_totals.html @@ -8,15 +8,69 @@ {% with discounts=order.basket_discounts %} - {% block discount_totals %} - {% if discounts %} + {% block discount_totals %} + {% if discounts %} + + {% trans "Basket total (before discounts)" %} + + {{ order.basket_total_before_discounts_incl_tax|currency:order.currency }} + + + {% for discount in discounts %} + + + {% trans "Discount" %} + {{ discount.offer }} + + - {{ discount.amount|currency:order.currency }} + + {% endfor %} + {% endif %} + {% endblock discount_totals %} + {% block basket_total %} + {% if discounts %} + + {% trans "Basket total (after discounts)" %} + + {{ order.basket_total_incl_tax|currency:order.currency }} + + + {% else %} + + {% trans "Basket total" %} + + {% if show_tax_separately %} + {{ order.basket_total_excl_tax|currency:order.currency }} + {% else %} + {{ order.basket_total_incl_tax|currency:order.currency }} + {% endif %} + + + {% endif %} + {% endblock basket_total %} + {% endwith %} + {% block shipping_total %} + +   + + + + +

    {% trans "Shipping" %}

    + + + + {% trans "Shipping method" %} + {{ order.shipping_method }} + + {% if order.has_shipping_discounts %} - {% trans "Basket total (before discounts)" %} + {% trans "Shipping charge (before discounts)" %} - {{ order.basket_total_before_discounts_incl_tax|currency:order.currency }} + {{ order.shipping_before_discounts_incl_tax|currency:order.currency }} - {% for discount in discounts %} + {% for discount in order.shipping_discounts %} {% trans "Discount" %} @@ -25,166 +79,112 @@ - {{ discount.amount|currency:order.currency }} {% endfor %} - {% endif %} - {% endblock discount_totals %} - {% block basket_total %} - {% if discounts %} - {% trans "Basket total (after discounts)" %} + {% trans "Shipping charge (after discounts)" %} - {{ order.basket_total_incl_tax|currency:order.currency }} + {{ order.shipping_incl_tax|currency:order.currency }} {% else %} - - {% trans "Basket total" %} + + {% trans "Shipping charge" %} {% if show_tax_separately %} - {{ order.basket_total_excl_tax|currency:order.currency }} + {{ order.shipping_excl_tax|currency:order.currency }} {% else %} - {{ order.basket_total_incl_tax|currency:order.currency }} + {{ order.shipping_incl_tax|currency:order.currency }} {% endif %} {% endif %} - {% endblock basket_total %} - {% endwith %} - {% block shipping_total %} - -   - - - - -

    {% trans "Shipping" %}

    - - - - {% trans "Shipping method" %} - {{ order.shipping_method }} - - {% if order.has_shipping_discounts %} - - {% trans "Shipping charge (before discounts)" %} - - {{ order.shipping_before_discounts_incl_tax|currency:order.currency }} - - - {% for discount in order.shipping_discounts %} - - - {% trans "Discount" %} - {{ discount.offer }} - - - {{ discount.amount|currency:order.currency }} - - {% endfor %} - - {% trans "Shipping charge (after discounts)" %} - - {{ order.shipping_incl_tax|currency:order.currency }} - - - {% else %} - - {% trans "Shipping charge" %} - - {% if show_tax_separately %} - {{ order.shipping_excl_tax|currency:order.currency }} - {% else %} - {{ order.shipping_incl_tax|currency:order.currency }} - {% endif %} - - - {% endif %} - {% endblock shipping_total %} - {% block surcharges %} - {% with surcharges=order.surcharges.all %} - {% if surcharges %} - -   - - + {% endblock shipping_total %} + {% block surcharges %} + {% with surcharges=order.surcharges.all %} + {% if surcharges %} + +   + + + + +

    {% trans "Surcharges" %}

    + + + {% for charge in surcharges %} + + {{ charge.name }} + + {% if show_tax_separately %} + {{ charge.excl_tax|currency:order.currency }} + {% else %} + {{ charge.incl_tax|currency:order.currency }} + {% endif %} + + + {% endfor %} + {% endif %} + {% endwith %} + {% endblock %} + {% if show_tax_separately %} -

    {% trans "Surcharges" %}

    +   - {% for charge in surcharges %} - - {{ charge.name }} - - {% if show_tax_separately %} - {{ charge.excl_tax|currency:order.currency }} - {% else %} - {{ charge.incl_tax|currency:order.currency }} - {% endif %} - - - {% endfor %} - {% endif %} - {% endwith %} -{% endblock %} -{% if show_tax_separately %} - - -   - - - - - {% trans "Order tax" %} - - - {{ order.total_tax|currency:order.currency }} - - -{% endif %} -{% block post_order_action_totals %} - {% with actions=order.post_order_actions %} - {% if actions %} - - -   - - - - -

    - {% trans "Post order actions" %} -

    - - - {% for action in order.post_order_actions %} - -

    - {{ action.message }} -

    + + {% trans "Order tax" %} + + + {{ order.total_tax|currency:order.currency }} + + + {% endif %} + {% block post_order_action_totals %} + {% with actions=order.post_order_actions %} + {% if actions %} + + +   + + + + +

    + {% trans "Post order actions" %} +

    + + + {% for action in order.post_order_actions %} + + +

    + {{ action.message }} +

    + + + {% endfor %} + {% endif %} + {% endwith %} + {% endblock post_order_action_totals %} + {% block order_total %} + + +   + + + + +

    + {% trans "Order total" %} +

    + + +

    + {{ order.total_incl_tax|currency:order.currency }} +

    - {% endfor %} - {% endif %} -{% endwith %} -{% endblock post_order_action_totals %} -{% block order_total %} - - -   - - - - -

    - {% trans "Order total" %} -

    - - -

    - {{ order.total_incl_tax|currency:order.currency }} -

    - - -{% endblock order_total %} - + {% endblock order_total %} +
    diff --git a/tests/django_oscar/oscar/partials/alert_messages.html b/tests/django_oscar/oscar/partials/alert_messages.html index b62dc70..6fde948 100644 --- a/tests/django_oscar/oscar/partials/alert_messages.html +++ b/tests/django_oscar/oscar/partials/alert_messages.html @@ -10,30 +10,30 @@ Use message tags to control these alerts. Available tags include: {% if messages %} {% for message in messages %}
    - - × - -
    - {% if 'noicon' not in message.tags %} - {# Include an icon by default #} - {% if 'success' in message.tags %} - - {% elif 'info' in message.tags %} - - {% elif 'warning' in message.tags %} - - {% elif 'danger' in message.tags or 'error' in message.tags %} - - {% endif %} - {% endif %} - {# Allow HTML to be embedded in messages #} - {% if 'safe' in message.tags %} - {{ message|safe }} - {% else %} - {{ message }} - {% endif %} -
    -
    -{% endfor %} + + × + +
    + {% if 'noicon' not in message.tags %} + {# Include an icon by default #} + {% if 'success' in message.tags %} + + {% elif 'info' in message.tags %} + + {% elif 'warning' in message.tags %} + + {% elif 'danger' in message.tags or 'error' in message.tags %} + + {% endif %} + {% endif %} + {# Allow HTML to be embedded in messages #} + {% if 'safe' in message.tags %} + {{ message|safe }} + {% else %} + {{ message }} + {% endif %} +
    +
    + {% endfor %} {% endif %} diff --git a/tests/django_oscar/oscar/partials/form.html b/tests/django_oscar/oscar/partials/form.html index 366c724..2ce1ea5 100644 --- a/tests/django_oscar/oscar/partials/form.html +++ b/tests/django_oscar/oscar/partials/form.html @@ -10,15 +10,15 @@ {% endif %} {% include 'oscar/partials/form_fields.html' %}
    -
    - - {% trans "or" %} - - {% trans "cancel" %} - - . -
    -
    +
    + + {% trans "or" %} + + {% trans "cancel" %} + + . +
    + diff --git a/tests/django_oscar/oscar/partials/form_field.html b/tests/django_oscar/oscar/partials/form_field.html index 6b3a253..114242e 100644 --- a/tests/django_oscar/oscar/partials/form_field.html +++ b/tests/django_oscar/oscar/partials/form_field.html @@ -10,53 +10,53 @@ {% annotate_form_field field %} {% block control_group %}
    - {% block label %} - {% if not nolabel and field.widget_type != 'checkbox' %} - - {% endif %} -{% endblock %} -{% block controls %} -
    - {% block widget %} - {% if field.widget_type == 'checkbox' %} -
    {% endblock %} -
    -{% endblock %} {% endif %} diff --git a/tests/django_oscar/oscar/partials/form_fields.html b/tests/django_oscar/oscar/partials/form_fields.html index 8e43ea0..5f3efbf 100644 --- a/tests/django_oscar/oscar/partials/form_fields.html +++ b/tests/django_oscar/oscar/partials/form_fields.html @@ -14,4 +14,5 @@ {% endfor %} {% endif %} {% for field in form %} - {% include 'oscar/partials/form_field.html' with field=field style=style %}{% endfor %} + {% include 'oscar/partials/form_field.html' with field=field style=style %} +{% endfor %} diff --git a/tests/django_oscar/oscar/partials/form_fields_inline.html b/tests/django_oscar/oscar/partials/form_fields_inline.html index 796f02a..679f495 100644 --- a/tests/django_oscar/oscar/partials/form_fields_inline.html +++ b/tests/django_oscar/oscar/partials/form_fields_inline.html @@ -5,16 +5,16 @@ {{ field }} {% else %} - {{ field.label_tag }} - {% render_field field class+="form-control mr-sm-2" %} - {% for error in field.errors %} -
      -
    • - {{ error }} -
    • -
    - {% endfor %} - {# No help text as it wraps #} -
    -{% endif %} + {{ field.label_tag }} + {% render_field field class+="form-control mr-sm-2" %} + {% for error in field.errors %} + + {% endfor %} + {# No help text as it wraps #} + + {% endif %} {% endfor %} diff --git a/tests/django_oscar/oscar/partials/nav_primary.html b/tests/django_oscar/oscar/partials/nav_primary.html index 16bcc97..bc8146a 100644 --- a/tests/django_oscar/oscar/partials/nav_primary.html +++ b/tests/django_oscar/oscar/partials/nav_primary.html @@ -2,78 +2,79 @@ {% load category_tags %} {% load i18n %} diff --git a/tests/django_oscar/oscar/search/results.html b/tests/django_oscar/oscar/search/results.html index 9a0bd7e..dc5efd0 100644 --- a/tests/django_oscar/oscar/search/results.html +++ b/tests/django_oscar/oscar/search/results.html @@ -24,82 +24,83 @@
    {% for field, data in facet_data.items %} {% if data.results %} - {% include 'oscar/search/partials/facet.html' with name=data.name items=data.results %}{% endif %} - {% endfor %} -
    - {% endif %} - {% endblock %} - {% block headertext %} - {% blocktrans with q=query %} - Products matching "{{ q }}" - {% endblocktrans %} - {% endblock %} - {% block content %} -
    - {# Render other search params as hidden inputs #} - {% for value in selected_facets %} - + {% include 'oscar/search/partials/facet.html' with name=data.name items=data.results %} + {% endif %} {% endfor %} - - {% if paginator.count %} - {% if paginator.num_pages > 1 %} - {% blocktrans with start=page.start_index end=page.end_index num_results=paginator.count %} - Found - {{ num_results }} - results, showing - {{ start }} - to - {{ end }} - . - {% endblocktrans %} - {% else %} - {% blocktrans count num_results=paginator.count %} - Found - {{ num_results }} - result. - {% plural %} - Found - {{ num_results }} - results. + + {% endif %} +{% endblock %} +{% block headertext %} + {% blocktrans with q=query %} + Products matching "{{ q }}" + {% endblocktrans %} +{% endblock %} +{% block content %} + + {# Render other search params as hidden inputs #} + {% for value in selected_facets %} + + {% endfor %} + + {% if paginator.count %} + {% if paginator.num_pages > 1 %} + {% blocktrans with start=page.start_index end=page.end_index num_results=paginator.count %} + Found + {{ num_results }} + results, showing + {{ start }} + to + {{ end }} + . + {% endblocktrans %} + {% else %} + {% blocktrans count num_results=paginator.count %} + Found + {{ num_results }} + result. + {% plural %} + Found + {{ num_results }} + results. + {% endblocktrans %} + {% endif %} +
    + {% include "oscar/partials/form_field.html" with field=search_form.sort_by %} +
    + {% else %} +

    + {% trans "Found + 0 + results." %} + {% if suggestion %} + {% url 'search:search' as search_url %} + {% blocktrans %} + Did you mean + + "{{ suggestion }}" + + ? {% endblocktrans %} {% endif %} -

    - {% include "oscar/partials/form_field.html" with field=search_form.sort_by %} -
    - {% else %} -

    - {% trans "Found - 0 - results." %} - {% if suggestion %} - {% url 'search:search' as search_url %} - {% blocktrans %} - Did you mean - - "{{ suggestion }}" - - ? - {% endblocktrans %} - {% endif %} -

    - {% endif %} -
    - {% if page.object_list %} -
    -
    -
      - {% for result in page.object_list %} -
    1. - {% render_product result.object %} -
    2. - {% endfor %} -
    - {% include "oscar/partials/pagination.html" with page_obj=page %} -
    -
    +

    {% endif %} - {% endblock %} - {% block onbodyload %} - {{ block.super }} - oscar.search.init(); - {% endblock %} + + {% if page.object_list %} +
    +
    +
      + {% for result in page.object_list %} +
    1. + {% render_product result.object %} +
    2. + {% endfor %} +
    + {% include "oscar/partials/pagination.html" with page_obj=page %} +
    +
    + {% endif %} +{% endblock %} +{% block onbodyload %} + {{ block.super }} + oscar.search.init(); +{% endblock %} diff --git a/tests/django_rest/admin.html b/tests/django_rest/admin.html index 295f4fa..0a450d5 100644 --- a/tests/django_rest/admin.html +++ b/tests/django_rest/admin.html @@ -15,9 +15,7 @@ {% block style %} {% block bootstrap_theme %} - + {% endblock %} @@ -26,235 +24,160 @@ {% block body %} -
    - {% block navbar %} - - - - - - - {% if error_form %} - -
    - {% endif %} - {% if filter_form %}{{ filter_form }}{% endif %} - {% block script %} - - - - - - - - + + + + + + + - {% endblock %} - -{% endblock %} + + {% endblock %} + + {% endblock %} diff --git a/tests/django_rest/base.html b/tests/django_rest/base.html index 07c119c..9101dcb 100644 --- a/tests/django_rest/base.html +++ b/tests/django_rest/base.html @@ -18,9 +18,7 @@ {% block style %} {% block bootstrap_theme %} - + {% endblock %} @@ -34,339 +32,352 @@ {% block body %} -
    - {% block navbar %} -
    {% for html in lang_intro_htmls %} - {% include html %}{% endfor %} -
    + {% include html %} + {% endfor %}
    - {% if document|data %} - {% for section_key, section in document|data|items %} - {% if section_key %} -

    - {{ section_key }} - - - -

    - {% endif %} - {% for link_key, link in section|schema_links|items %} - {% include "rest_framework/docs/link.html" %}{% endfor %} - {% endfor %} - {% for link_key, link in document.links|items %} - {% include "rest_framework/docs/link.html" %}{% endfor %} - {% endif %} + +{% if document|data %} + {% for section_key, section in document|data|items %} + {% if section_key %} +

    + {{ section_key }} + + + +

    + {% endif %} + {% for link_key, link in section|schema_links|items %} + {% include "rest_framework/docs/link.html" %} + {% endfor %} + {% endfor %} + {% for link_key, link in document.links|items %} + {% include "rest_framework/docs/link.html" %} + {% endfor %} +{% endif %} diff --git a/tests/django_rest/docs/link.html b/tests/django_rest/docs/link.html index e962b94..dabf079 100644 --- a/tests/django_rest/docs/link.html +++ b/tests/django_rest/docs/link.html @@ -188,7 +188,8 @@
    {% for html in lang_htmls %} - {% include html %}{% endfor %} -
    + {% include html %} + {% endfor %} - {% include "rest_framework/docs/interact.html" with link=link %} + +{% include "rest_framework/docs/interact.html" with link=link %} diff --git a/tests/django_rest/docs/sidebar.html b/tests/django_rest/docs/sidebar.html index b51bc2e..acc673b 100644 --- a/tests/django_rest/docs/sidebar.html +++ b/tests/django_rest/docs/sidebar.html @@ -19,71 +19,74 @@ - - {% endfor %} - {% endif %} - - - - - + + + + + diff --git a/tests/django_rest/horizontal/checkbox.html b/tests/django_rest/horizontal/checkbox.html index a612393..edb4770 100644 --- a/tests/django_rest/horizontal/checkbox.html +++ b/tests/django_rest/horizontal/checkbox.html @@ -1,18 +1,18 @@
    -{% if field.label %} - -{% endif %} -
    - -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} -
    + {% if field.label %} + + {% endif %} +
    + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %} +
    diff --git a/tests/django_rest/horizontal/checkbox_multiple.html b/tests/django_rest/horizontal/checkbox_multiple.html index 84ff98d..1c5eb26 100644 --- a/tests/django_rest/horizontal/checkbox_multiple.html +++ b/tests/django_rest/horizontal/checkbox_multiple.html @@ -2,25 +2,13 @@
    {% if field.label %} -{% endif %} -
    - {% if style.inline %} - {% for key, text in field.choices|items %} - - {% endfor %} - {% else %} - {% for key, text in field.choices|items %} -
    - + {% endif %} +
    + {% if style.inline %} + {% for key, text in field.choices|items %} + -
    - {% endfor %} - {% endif %} - {% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} - {% endif %} - {% if field.help_text %} - {{ field.help_text|safe }} - {% endif %} -
    + {% endfor %} + {% else %} + {% for key, text in field.choices|items %} +
    + +
    + {% endfor %} + {% endif %} + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %} +
    diff --git a/tests/django_rest/horizontal/dict_field.html b/tests/django_rest/horizontal/dict_field.html index 2a79d8f..437350c 100644 --- a/tests/django_rest/horizontal/dict_field.html +++ b/tests/django_rest/horizontal/dict_field.html @@ -1,12 +1,12 @@
    {% if field.label %} -{% endif %} -
    -

    - Dictionaries are not currently supported in HTML input. -

    -
    + {{ field.label }} + + {% endif %} +
    +

    + Dictionaries are not currently supported in HTML input. +

    +
    diff --git a/tests/django_rest/horizontal/fieldset.html b/tests/django_rest/horizontal/fieldset.html index f845107..069b5b6 100644 --- a/tests/django_rest/horizontal/fieldset.html +++ b/tests/django_rest/horizontal/fieldset.html @@ -4,13 +4,13 @@
    - {{ field.label }} - -
    -{% endif %} -{% for nested_field in field %} - {% if not nested_field.read_only %} - {% render_field nested_field style=style %} + {{ field.label }} + + {% endif %} -{% endfor %} + {% for nested_field in field %} + {% if not nested_field.read_only %} + {% render_field nested_field style=style %} + {% endif %} + {% endfor %} diff --git a/tests/django_rest/horizontal/input.html b/tests/django_rest/horizontal/input.html index c5f0185..eb5d5bf 100644 --- a/tests/django_rest/horizontal/input.html +++ b/tests/django_rest/horizontal/input.html @@ -1,21 +1,21 @@
    -{% if field.label %} - -{% endif %} -
    - -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} -
    + {% if field.label %} + + {% endif %} +
    + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %} +
    diff --git a/tests/django_rest/horizontal/list_field.html b/tests/django_rest/horizontal/list_field.html index a2e8c7b..f49a5cf 100644 --- a/tests/django_rest/horizontal/list_field.html +++ b/tests/django_rest/horizontal/list_field.html @@ -1,12 +1,12 @@
    {% if field.label %} -{% endif %} -
    -

    - Lists are not currently supported in HTML input. -

    -
    + {{ field.label }} + + {% endif %} +
    +

    + Lists are not currently supported in HTML input. +

    +
    diff --git a/tests/django_rest/horizontal/list_fieldset.html b/tests/django_rest/horizontal/list_fieldset.html index b4b8806..9ffbb5a 100644 --- a/tests/django_rest/horizontal/list_fieldset.html +++ b/tests/django_rest/horizontal/list_fieldset.html @@ -4,11 +4,11 @@
    - {{ field.label }} - -
    -{% endif %} -

    - Lists are not currently supported in HTML input. -

    + {{ field.label }} + + + {% endif %} +

    + Lists are not currently supported in HTML input. +

    diff --git a/tests/django_rest/horizontal/radio.html b/tests/django_rest/horizontal/radio.html index 614926d..5b2b1a3 100644 --- a/tests/django_rest/horizontal/radio.html +++ b/tests/django_rest/horizontal/radio.html @@ -4,57 +4,57 @@
    {% if field.label %} -{% endif %} -
    - {% if style.inline %} - {% if field.allow_null or field.allow_blank %} - - {% endif %} - {% for key, text in field.choices|items %} - - {% endfor %} - {% else %} - {% if field.allow_null or field.allow_blank %} -
    - + {% endif %} +
    + {% if style.inline %} + {% if field.allow_null or field.allow_blank %} + -
    - {% endif %} - {% for key, text in field.choices|items %} -
    -
    -
    diff --git a/tests/django_rest/horizontal/select.html b/tests/django_rest/horizontal/select.html index 35ca394..30a7615 100644 --- a/tests/django_rest/horizontal/select.html +++ b/tests/django_rest/horizontal/select.html @@ -2,40 +2,40 @@
    {% if field.label %} -{% endif %} -
    - + {% if field.allow_null or field.allow_blank %} + {% endif %} - {% endfor %} - - {% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} - {% endif %} - {% if field.help_text %} - {{ field.help_text|safe }} - {% endif %} -
    + {% for select in field.iter_options %} + {% if select.start_option_group %} + + {% elif select.end_option_group %} + + {% else %} + + {% endif %} + {% endfor %} + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %} +
    diff --git a/tests/django_rest/horizontal/select_multiple.html b/tests/django_rest/horizontal/select_multiple.html index 58bd017..441f910 100644 --- a/tests/django_rest/horizontal/select_multiple.html +++ b/tests/django_rest/horizontal/select_multiple.html @@ -4,37 +4,37 @@
    {% if field.label %} -{% endif %} -
    - + {% for select in field.iter_options %} + {% if select.start_option_group %} + + {% elif select.end_option_group %} + + {% else %} + + {% endif %} + {% empty %} + - {% endif %} - {% empty %} - - {% endfor %} - - {% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} - {% endif %} - {% if field.help_text %} - {{ field.help_text|safe }} - {% endif %} -
    + {% endfor %} + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %} +
    diff --git a/tests/django_rest/horizontal/textarea.html b/tests/django_rest/horizontal/textarea.html index ec56c49..6fa3d8d 100644 --- a/tests/django_rest/horizontal/textarea.html +++ b/tests/django_rest/horizontal/textarea.html @@ -1,21 +1,21 @@
    -{% if field.label %} - -{% endif %} -
    - -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} -
    + {% if field.label %} + + {% endif %} +
    + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %} +
    diff --git a/tests/django_rest/inline/checkbox.html b/tests/django_rest/inline/checkbox.html index 5bd809f..af7505e 100644 --- a/tests/django_rest/inline/checkbox.html +++ b/tests/django_rest/inline/checkbox.html @@ -1,10 +1,10 @@
    -
    - -
    +
    + +
    diff --git a/tests/django_rest/inline/checkbox_multiple.html b/tests/django_rest/inline/checkbox_multiple.html index 4e4bcef..b0be227 100644 --- a/tests/django_rest/inline/checkbox_multiple.html +++ b/tests/django_rest/inline/checkbox_multiple.html @@ -1,20 +1,16 @@ {% load rest_framework %}
    -{% if field.label %} - -{% endif %} -{% for key, text in field.choices|items %} -
    - -
    -{% endfor %} + {% if field.label %}{% endif %} + {% for key, text in field.choices|items %} +
    + +
    + {% endfor %}
    diff --git a/tests/django_rest/inline/dict_field.html b/tests/django_rest/inline/dict_field.html index a9dd2b1..4531b0f 100644 --- a/tests/django_rest/inline/dict_field.html +++ b/tests/django_rest/inline/dict_field.html @@ -1,9 +1,5 @@
    - {% if field.label %} - - {% endif %} + {% if field.label %}{% endif %}

    Dictionaries are not currently supported in HTML input.

    diff --git a/tests/django_rest/inline/input.html b/tests/django_rest/inline/input.html index 1068bc9..46ad6e6 100644 --- a/tests/django_rest/inline/input.html +++ b/tests/django_rest/inline/input.html @@ -1,16 +1,12 @@
    -{% if field.label %} - -{% endif %} - + {% if field.label %}{% endif %} +
    diff --git a/tests/django_rest/inline/list_field.html b/tests/django_rest/inline/list_field.html index 9cdb6b5..584c2e5 100644 --- a/tests/django_rest/inline/list_field.html +++ b/tests/django_rest/inline/list_field.html @@ -1,9 +1,5 @@
    - {% if field.label %} - - {% endif %} + {% if field.label %}{% endif %}

    Lists are not currently supported in HTML input.

    diff --git a/tests/django_rest/inline/radio.html b/tests/django_rest/inline/radio.html index 97718d5..d712257 100644 --- a/tests/django_rest/inline/radio.html +++ b/tests/django_rest/inline/radio.html @@ -2,31 +2,27 @@ {% load rest_framework %} {% trans "None" as none_choice %}
    -{% if field.label %} - -{% endif %} -{% if field.allow_null or field.allow_blank %} -
    - -
    -{% endif %} -{% for key, text in field.choices|items %} -
    - -
    -{% endfor %} + {% if field.label %}{% endif %} + {% if field.allow_null or field.allow_blank %} +
    + +
    + {% endif %} + {% for key, text in field.choices|items %} +
    + +
    + {% endfor %}
    diff --git a/tests/django_rest/inline/select.html b/tests/django_rest/inline/select.html index 2b42ae8..543a6c1 100644 --- a/tests/django_rest/inline/select.html +++ b/tests/django_rest/inline/select.html @@ -1,33 +1,29 @@ {% load rest_framework %}
    -{% if field.label %} - -{% endif %} - + {% if field.allow_null or field.allow_blank %} + {% endif %} - {% endfor %} - + {% for select in field.iter_options %} + {% if select.start_option_group %} + + {% elif select.end_option_group %} + + {% else %} + + {% endif %} + {% endfor %} +
    diff --git a/tests/django_rest/inline/select_multiple.html b/tests/django_rest/inline/select_multiple.html index 62bd975..e357345 100644 --- a/tests/django_rest/inline/select_multiple.html +++ b/tests/django_rest/inline/select_multiple.html @@ -2,31 +2,27 @@ {% load rest_framework %} {% trans "No items to select." as no_items %}
    -{% if field.label %} - -{% endif %} - + {% for select in field.iter_options %} + {% if select.start_option_group %} + + {% elif select.end_option_group %} + + {% else %} + + {% endif %} + {% empty %} + - {% endif %} - {% empty %} - - {% endfor %} - + {% endfor %} +
    diff --git a/tests/django_rest/inline/textarea.html b/tests/django_rest/inline/textarea.html index c491b26..5fe1286 100644 --- a/tests/django_rest/inline/textarea.html +++ b/tests/django_rest/inline/textarea.html @@ -1,11 +1,7 @@
    -{% if field.label %} - -{% endif %} - + {% if field.label %}{% endif %} +
    diff --git a/tests/django_rest/login_base.html b/tests/django_rest/login_base.html index f47f089..4844e95 100644 --- a/tests/django_rest/login_base.html +++ b/tests/django_rest/login_base.html @@ -20,64 +20,60 @@
    -
    - - - {% if form.username.errors %} -

    - {{ form.username.errors|striptags }} -

    - {% endif %} +
    + + + {% if form.username.errors %} +

    + {{ form.username.errors|striptags }} +

    + {% endif %} +
    -
    -
    -
    - - - {% if form.password.errors %} -

    - {{ form.password.errors|striptags }} -

    +
    +
    + + + {% if form.password.errors %} +

    + {{ form.password.errors|striptags }} +

    + {% endif %} +
    +
    + {% if form.non_field_errors %} + {% for error in form.non_field_errors %} +
    + {{ error }} +
    + {% endfor %} {% endif %} -
    -
    - {% if form.non_field_errors %} - {% for error in form.non_field_errors %} -
    - {{ error }} +
    +
    - {% endfor %} - {% endif %} -
    - +
    - +
    +
    +
    - - - - - - + + {% endblock %} diff --git a/tests/django_rest/vertical/checkbox.html b/tests/django_rest/vertical/checkbox.html index d0f9f67..4e70b14 100644 --- a/tests/django_rest/vertical/checkbox.html +++ b/tests/django_rest/vertical/checkbox.html @@ -1,16 +1,16 @@
    -
    - -
    -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} +
    + +
    + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %}
    diff --git a/tests/django_rest/vertical/checkbox_multiple.html b/tests/django_rest/vertical/checkbox_multiple.html index 127a14b..107e957 100644 --- a/tests/django_rest/vertical/checkbox_multiple.html +++ b/tests/django_rest/vertical/checkbox_multiple.html @@ -1,43 +1,43 @@ {% load rest_framework %}
    -{% if field.label %} - -{% endif %} -{% if style.inline %} -
    - {% for key, text in field.choices|items %} - - {% endfor %} -
    -{% else %} - {% for key, text in field.choices|items %} -
    - + {% if field.label %} + + {% endif %} + {% if style.inline %} +
    + {% for key, text in field.choices|items %} + + {% endfor %}
    - {% endfor %} -{% endif %} -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} + {% else %} + {% for key, text in field.choices|items %} +
    + +
    + {% endfor %} + {% endif %} + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %}
    diff --git a/tests/django_rest/vertical/input.html b/tests/django_rest/vertical/input.html index 39c50f3..9e9b2ba 100644 --- a/tests/django_rest/vertical/input.html +++ b/tests/django_rest/vertical/input.html @@ -1,21 +1,21 @@
    -{% if field.label %} - -{% endif %} - -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} + {% if field.label %} + + {% endif %} + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %}
    diff --git a/tests/django_rest/vertical/radio.html b/tests/django_rest/vertical/radio.html index 045a6f5..09355af 100644 --- a/tests/django_rest/vertical/radio.html +++ b/tests/django_rest/vertical/radio.html @@ -2,61 +2,58 @@ {% load rest_framework %} {% trans "None" as none_choice %}
    -{% if field.label %} - -{% endif %} -{% if style.inline %} -
    + {% if field.label %} + + {% endif %} + {% if style.inline %} +
    + {% if field.allow_null or field.allow_blank %} + + {% endif %} + {% for key, text in field.choices|items %} + + {% endfor %} +
    + {% else %} {% if field.allow_null or field.allow_blank %} - +
    + +
    {% endif %} {% for key, text in field.choices|items %} - +
    + +
    {% endfor %} -
    -{% else %} - {% if field.allow_null or field.allow_blank %} -
    - -
    {% endif %} - {% for key, text in field.choices|items %} -
    - -
    - {% endfor %} -{% endif %} -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %}
    diff --git a/tests/django_rest/vertical/select.html b/tests/django_rest/vertical/select.html index 80cccb5..99e3883 100644 --- a/tests/django_rest/vertical/select.html +++ b/tests/django_rest/vertical/select.html @@ -1,41 +1,41 @@ {% load rest_framework %}
    -{% if field.label %} - -{% endif %} - -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} + {% for select in field.iter_options %} + {% if select.start_option_group %} + + {% elif select.end_option_group %} + + {% else %} + + {% endif %} + {% endfor %} + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %}
    diff --git a/tests/django_rest/vertical/select_multiple.html b/tests/django_rest/vertical/select_multiple.html index c055f56..93dae46 100644 --- a/tests/django_rest/vertical/select_multiple.html +++ b/tests/django_rest/vertical/select_multiple.html @@ -2,39 +2,39 @@ {% load rest_framework %} {% trans "No items to select." as no_items %}
    -{% if field.label %} - -{% endif %} - + {% for select in field.iter_options %} + {% if select.start_option_group %} + + {% elif select.end_option_group %} + + {% else %} + + {% endif %} + {% empty %} + - {% endif %} - {% empty %} - - {% endfor %} - -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} + {% endfor %} + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %}
    diff --git a/tests/django_rest/vertical/textarea.html b/tests/django_rest/vertical/textarea.html index 0b6e6b1..dd47eef 100644 --- a/tests/django_rest/vertical/textarea.html +++ b/tests/django_rest/vertical/textarea.html @@ -1,21 +1,21 @@
    -{% if field.label %} - + {% endif %} + -{% if field.errors %} - {% for error in field.errors %}{{ error }}{% endfor %} -{% endif %} -{% if field.help_text %} - {{ field.help_text|safe }} -{% endif %} + {% if field.value %}{{ field.value }}{% endif %} + + {% if field.errors %} + {% for error in field.errors %}{{ error }}{% endfor %} + {% endif %} + {% if field.help_text %} + {{ field.help_text|safe }} + {% endif %}
    diff --git a/tests/flask_admin/bootstrap2/admin/layout.html b/tests/flask_admin/bootstrap2/admin/layout.html index dfb9128..a6ffa86 100644 --- a/tests/flask_admin/bootstrap2/admin/layout.html +++ b/tests/flask_admin/bootstrap2/admin/layout.html @@ -8,24 +8,24 @@ {% elif icon_type == 'image' %} menu image - {% elif icon_type == 'image-url' %} - menu image - {% endif %} - {% endif %} - {%- endmacro %} - {% macro menu(menu_root=None) %} - {% if menu_root is none %} - {% set menu_root = admin_view.admin.menu() %} - {% endif %} - {%- for item in menu_root %} - {%- if item.is_category() - %} - {% set children = item.get_children() %} - {%- if children %} - {% set class_name = item.get_class_name() or '' %} - {%- if item.is_active(admin_view) %} -
  • - {% else %} -
  • + {% else %} +
  • + {%- endif %} + + {{ menu_icon(child) }}{{ child.name }} + +
  • {%- endif %} - - {{ menu_icon(child) }}{{ child.name }} - - - {%- endif %} - {%- endfor %} - - + {%- endfor %} + + {% endif %} {%- else %} {%- if item.is_accessible() and item.is_visible() - %} {% set class_name = item.get_class_name() %} {%- if item.is_active(admin_view) %}
  • -{%- else %} - -{%- endif %} - -{{ menu_icon(item) }}{{ item.name }} - -
  • -{%- endif - %} + {%- else %} + + {%- endif %} + + {{ menu_icon(item) }}{{ item.name }} + + + {%- endif - %} {% endif - %} {% endfor %} {% endmacro %} @@ -79,7 +80,7 @@ {% set class_name = item.get_class_name() %} {% if item.is_accessible() and item.is_visible() %} -{{ menu_icon(item) }}{{ item.name }} + {{ menu_icon(item) }}{{ item.name }} {% endif %} {% endfor %} @@ -89,15 +90,15 @@ {% if messages %} {% for category, m in messages %} {% if category %} -
    -{% else %} -
    -{% endif %} - -x - -{{ m }} -
    +
    + {% else %} +
    + {% endif %} + + x + + {{ m }} +
    {% endfor %} {% endif %} {% endwith %} diff --git a/tests/flask_admin/bootstrap3/admin/base.html b/tests/flask_admin/bootstrap3/admin/base.html index ff272eb..fa14137 100644 --- a/tests/flask_admin/bootstrap3/admin/base.html +++ b/tests/flask_admin/bootstrap3/admin/base.html @@ -20,8 +20,8 @@ {% if config.get('FLASK_ADMIN_SWATCH', 'default') == 'default' %} - + {% endif %} diff --git a/tests/flask_admin/bootstrap3/admin/layout.html b/tests/flask_admin/bootstrap3/admin/layout.html index c4b5e45..39be374 100644 --- a/tests/flask_admin/bootstrap3/admin/layout.html +++ b/tests/flask_admin/bootstrap3/admin/layout.html @@ -8,24 +8,24 @@ {% elif icon_type == 'image' %} menu image - {% elif icon_type == 'image-url' %} - menu image - {% endif %} - {% endif %} - {%- endmacro %} - {% macro menu(menu_root=None) %} - {% if menu_root is none %} - {% set menu_root = admin_view.admin.menu() %} - {% endif %} - {%- for item in menu_root %} - {%- if item.is_category() - %} - {% set children = item.get_children() %} - {%- if children %} - {% set class_name = item.get_class_name() or '' %} - {%- if item.is_active(admin_view) %} -
  • - {% else %} -
  • + {% else %} +
  • + {%- endif %} + + {{ menu_icon(child) }}{{ child.name }} + +
  • {%- endif %} - - {{ menu_icon(child) }}{{ child.name }} - - - {%- endif %} - {%- endfor %} - - + {%- endfor %} + + {% endif %} {%- else %} {%- if item.is_accessible() and item.is_visible() - %} {% set class_name = item.get_class_name() %} {%- if item.is_active(admin_view) %}
  • -{%- else %} - -{%- endif %} - -{{ menu_icon(item) }}{{ item.name }} - -
  • -{%- endif - %} + {%- else %} + + {%- endif %} + + {{ menu_icon(item) }}{{ item.name }} + + + {%- endif - %} {% endif - %} {% endfor %} {% endmacro %} @@ -81,7 +82,7 @@ {% set class_name = item.get_class_name() %} {% if item.is_accessible() and item.is_visible() %} -{{ menu_icon(item) }}{{ item.name }} + {{ menu_icon(item) }}{{ item.name }} {% endif %} {% endfor %} @@ -91,17 +92,17 @@ {% if messages %} {% for category, m in messages %} {% if category %} -{# alert-error changed to alert-danger in bootstrap 3, mapping is for backwards compatibility #} -{% set mapping = {'message': 'info', 'error': 'danger'} %} -
    -{% else %} -
    -{% endif %} - -{{ m }} -
    + {# alert-error changed to alert-danger in bootstrap 3, mapping is for backwards compatibility #} + {% set mapping = {'message': 'info', 'error': 'danger'} %} +
    + {% else %} +
    + {% endif %} + + {{ m }} +
    {% endfor %} {% endif %} {% endwith %} diff --git a/tests/flask_admin/bootstrap4/admin/base.html b/tests/flask_admin/bootstrap4/admin/base.html index 157f3d2..5a70097 100644 --- a/tests/flask_admin/bootstrap4/admin/base.html +++ b/tests/flask_admin/bootstrap4/admin/base.html @@ -43,57 +43,57 @@ {% block page_body %}
    - - {% block messages %}{{ layout.messages() }}{% endblock %} - {# store the jinja2 context for form_rules rendering logic #} - {% set render_ctx = h.resolve_ctx() %} - {% block body %}{% endblock %}
    {% endblock %} - {% block tail_js %} - - - - - - - - - - {% if admin_view.extra_js %} - {% for js_url in admin_view.extra_js %} - - {% endfor %} - {% endif %} - {% endblock %} - {% block tail %}{% endblock %} - - + + {% block messages %}{{ layout.messages() }}{% endblock %} + {# store the jinja2 context for form_rules rendering logic #} + {% set render_ctx = h.resolve_ctx() %} + {% block body %}{% endblock %}
    {% endblock %} + {% block tail_js %} + + + + + + + + + + {% if admin_view.extra_js %} + {% for js_url in admin_view.extra_js %} + + {% endfor %} + {% endif %} + {% endblock %} + {% block tail %}{% endblock %} + + diff --git a/tests/flask_admin/bootstrap4/admin/layout.html b/tests/flask_admin/bootstrap4/admin/layout.html index b91b988..3cd497b 100644 --- a/tests/flask_admin/bootstrap4/admin/layout.html +++ b/tests/flask_admin/bootstrap4/admin/layout.html @@ -8,76 +8,76 @@ {% elif icon_type == 'image' %} menu image - {% elif icon_type == 'image-url' %} - menu image - {% endif %} - {% endif %} - {%- endmacro %} - {% macro menu(menu_root=None) %} - {% set is_main_nav = menu_root == None %} - {% if menu_root is none %} - {% set menu_root = admin_view.admin.menu() %} - {% endif %} - {%- for item in menu_root %} - {%- if item.is_category() - %} - {% set children = item.get_children() %} - {%- if children %} - {% set class_name = item.get_class_name() or '' %} - {%- if item.is_active(admin_view) %} - + + {% endif %} {%- else %} {%- if item.is_accessible() and item.is_visible() - %} {% set class_name = item.get_class_name() %} {%- if item.is_active(admin_view) %}
  • -{%- else %} - -{%- endif %} - -{{ menu_icon(item) }}{{ item.name }} - -
  • -{%- endif - %} + {%- else %} + + {%- endif %} + + {{ menu_icon(item) }}{{ item.name }} + + + {%- endif - %} {% endif - %} {% endfor %} {% endmacro %} @@ -86,10 +86,10 @@ {% for item in links %} {% set class_name = item.get_class_name() %} {% if item.is_accessible() and item.is_visible() %} - - -{{ menu_icon(item) }}{{ item.name }} - + + + {{ menu_icon(item) }}{{ item.name }} + {% endif %} {% endfor %} @@ -99,17 +99,17 @@ {% if messages %} {% for category, m in messages %} {% if category %} -{# alert-error changed to alert-danger in bootstrap 3, mapping is for backwards compatibility #} -{% set mapping = {'message': 'info', 'error': 'danger'} %} -
    -{% else %} -
    -{% endif %} - -{{ m }} -
    + {# alert-error changed to alert-danger in bootstrap 3, mapping is for backwards compatibility #} + {% set mapping = {'message': 'info', 'error': 'danger'} %} +
    + {% else %} +
    + {% endif %} + + {{ m }} +
    {% endfor %} {% endif %} {% endwith %} diff --git a/tests/flask_admin/bootstrap4/admin/model/details.html b/tests/flask_admin/bootstrap4/admin/model/details.html index 2e416f9..6fff554 100644 --- a/tests/flask_admin/bootstrap4/admin/model/details.html +++ b/tests/flask_admin/bootstrap4/admin/model/details.html @@ -31,9 +31,7 @@ {% endblock %} {% block details_search %}
    - +
    {% endblock %} diff --git a/tests/flask_admin/bootstrap4/admin/model/modals/details.html b/tests/flask_admin/bootstrap4/admin/model/modals/details.html index 4d816a1..ec37abf 100755 --- a/tests/flask_admin/bootstrap4/admin/model/modals/details.html +++ b/tests/flask_admin/bootstrap4/admin/model/modals/details.html @@ -12,9 +12,7 @@ -
    -
    -
    - Digital Strategist -
    -
    -
    -
    -

    - - Nicole Pearson - -

    -

    - - About: - - Web Designer / UX / Graphic Artist / Coffee Lover -

    -
      -
    • - - - - Address: Demo Street 123, Demo City 04312, NJ -
    • -
    • - - - - Phone #: + 800 - 12 12 23 52 -
    • -
    -
    -
    - user-avatar -
    -
    +
    +
    +
    +
    + Digital Strategist +
    +
    +
    +
    +

    + + Nicole Pearson + +

    +

    + + About: + + Web Designer / UX / Graphic Artist / Coffee Lover +

    +
      +
    • + + + + Address: Demo Street 123, Demo City 04312, NJ +
    • +
    • + + + + Phone #: + 800 - 12 12 23 52 +
    • +
    -
    -
    -
    -
    - Digital Strategist + +
    +
    +
    +
    +
    + Digital Strategist +
    +
    +
    +
    +

    + + Nicole Pearson + +

    +

    + + About: + + Web Designer / UX / Graphic Artist / Coffee Lover +

    +
      +
    • + + + + Address: Demo Street 123, Demo City 04312, NJ +
    • +
    • + + + + Phone #: + 800 - 12 12 23 52 +
    • +
    -
    -
    -
    -

    - - Nicole Pearson - -

    -

    - - About: - - Web Designer / UX / Graphic Artist / Coffee Lover -

    -
      -
    • - - - - Address: Demo Street 123, Demo City 04312, NJ -
    • -
    • - - - - Phone #: + 800 - 12 12 23 52 -
    • -
    -
    -
    - user-avatar -
    -
    -
    - +
    + user-avatar
    -
    -
    -
    - Digital Strategist -
    -
    -
    -
    -

    - - Nicole Pearson - -

    -

    - - About: - - Web Designer / UX / Graphic Artist / Coffee Lover -

    -
      -
    • - - - - Address: Demo Street 123, Demo City 04312, NJ -
    • -
    • - - - - Phone #: + 800 - 12 12 23 52 -
    • -
    -
    -
    - user-avatar -
    -
    -
    - -
    +
    + +
    +
    +
    +
    +
    + Digital Strategist +
    +
    +
    +
    +

    + + Nicole Pearson + +

    +

    + + About: + + Web Designer / UX / Graphic Artist / Coffee Lover +

    +
      +
    • + + + + Address: Demo Street 123, Demo City 04312, NJ +
    • +
    • + + + + Phone #: + 800 - 12 12 23 52 +
    • +
    -
    -
    -
    - Digital Strategist -
    -
    -
    -
    -

    - - Nicole Pearson - -

    -

    - - About: - - Web Designer / UX / Graphic Artist / Coffee Lover -

    -
      -
    • - - - - Phone #: + 800 - 12 12 23 52 -
    • -
    -
    -
    - user-avatar -
    -
    -
    - -
    -
    -
    -
    -
    - Digital Strategist -
    -
    -
    -
    -

    - - Nicole Pearson - -

    -

    - - About: - - Web Designer / UX / Graphic Artist / Coffee Lover -

    -
      -
    • - - - - Address: Demo Street 123, Demo City 04312, NJ -
    • -
    • - - - - Phone #: + 800 - 12 12 23 52 -
    • -
    -
    -
    - user-avatar -
    -
    -
    - -
    -
    -
    -
    -
    - Digital Strategist -
    -
    -
    -
    -

    - - Nicole Pearson - -

    -

    - - About: - - Web Designer / UX / Graphic Artist / Coffee Lover -

    -
      -
    • - - - - Address: Demo Street 123, Demo City 04312, NJ -
    • -
    -
    -
    - user-avatar -
    -
    -
    - -
    -
    -
    -
    -
    - Digital Strategist -
    -
    -
    -
    -

    - - Nicole Pearson - -

    -

    - - About: - - Web Designer / UX / Graphic Artist / Coffee Lover -

    -
      -
    • - - - - Address: Demo Street 123, Demo City 04312, NJ -
    • -
    • - - - - Phone #: + 800 - 12 12 23 52 -
    • -
    -
    -
    - user-avatar -
    -
    -
    - -
    -
    -
    -
    -
    - Digital Strategist -
    -
    -
    -
    -

    - - Nicole Pearson - -

    -

    - - About: - - Web Designer / UX / Graphic Artist / Coffee Lover -

    -
      -
    • - - - - Address: Demo Street 123, Demo City 04312, NJ -
    • -
    • - - - - Phone #: + 800 - 12 12 23 52 -
    • -
    -
    -
    - user-avatar -
    -
    -
    - -
    -
    -
    -
    - - - -
    - -
    - +
    + user-avatar
    - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + + + + + +
    +
    +
    + Digital Strategist +
    +
    +
    +
    +

    + + Nicole Pearson + +

    +

    + + About: + + Web Designer / UX / Graphic Artist / Coffee Lover +

    +
      +
    • + + + + Phone #: + 800 - 12 12 23 52 +
    • +
    +
    +
    + user-avatar +
    +
    +
    + +
    +
    +
    +
    +
    + Digital Strategist +
    +
    +
    +
    +

    + + Nicole Pearson + +

    +

    + + About: + + Web Designer / UX / Graphic Artist / Coffee Lover +

    +
      +
    • + + + + Address: Demo Street 123, Demo City 04312, NJ +
    • +
    • + + + + Phone #: + 800 - 12 12 23 52 +
    • +
    +
    +
    + user-avatar +
    +
    +
    + +
    +
    +
    +
    +
    + Digital Strategist +
    +
    +
    +
    +

    + + Nicole Pearson + +

    +

    + + About: + + Web Designer / UX / Graphic Artist / Coffee Lover +

    +
      +
    • + + + + Address: Demo Street 123, Demo City 04312, NJ +
    • +
    +
    +
    + user-avatar +
    +
    +
    + +
    +
    +
    +
    +
    + Digital Strategist +
    +
    +
    +
    +

    + + Nicole Pearson + +

    +

    + + About: + + Web Designer / UX / Graphic Artist / Coffee Lover +

    +
      +
    • + + + + Address: Demo Street 123, Demo City 04312, NJ +
    • +
    • + + + + Phone #: + 800 - 12 12 23 52 +
    • +
    +
    +
    + user-avatar +
    +
    +
    + +
    +
    +
    +
    +
    + Digital Strategist +
    +
    +
    +
    +

    + + Nicole Pearson + +

    +

    + + About: + + Web Designer / UX / Graphic Artist / Coffee Lover +

    +
      +
    • + + + + Address: Demo Street 123, Demo City 04312, NJ +
    • +
    • + + + + Phone #: + 800 - 12 12 23 52 +
    • +
    +
    +
    + user-avatar +
    +
    +
    + +
    +
    + + + + + + + +
    + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/examples-e-commerce.html b/tests/jinja_adminlte/examples-e-commerce.html index a9923c9..93ff4fa 100644 --- a/tests/jinja_adminlte/examples-e-commerce.html +++ b/tests/jinja_adminlte/examples-e-commerce.html @@ -49,227 +49,203 @@
    Product Image -
    -
    -
    - Product Image -
    -
    - Product Image -
    -
    - Product Image -
    -
    - Product Image -
    -
    - Product Image -
    -
    - -
    -

    LOWA Men’s Renegade GTX Mid Hiking Boots Review

    -

    - Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terr. -

    -
    -

    Available Colors

    -
    - - - - - -
    -

    - Size - - Please select one - -

    -
    - - - - -
    -
    -

    $80.00

    -

    - - Ex Tax: $80.00 - -

    -
    -
    -
    - - Add to Cart -
    -
    - - Add to Wishlist -
    -
    -
    - - - - - - - - - - - - -
    -
    - -
    - - -
    - - - - - - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} +
    +
    + Product Image +
    +
    + Product Image +
    +
    + Product Image +
    +
    + Product Image +
    +
    + Product Image +
    +
    + +
    +

    LOWA Men’s Renegade GTX Mid Hiking Boots Review

    +

    + Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terr. +

    +
    +

    Available Colors

    +
    + + + + + +
    +

    + Size + + Please select one + +

    +
    + + + + +
    +
    +

    $80.00

    +

    + + Ex Tax: $80.00 + +

    +
    +
    +
    + + Add to Cart +
    +
    + + Add to Wishlist +
    +
    +
    + + + + + + + + + + + + +
    +
    + +
    + + +
    + + + + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/examples-invoice-print.html b/tests/jinja_adminlte/examples-invoice-print.html index b8f51d0..9d6953b 100644 --- a/tests/jinja_adminlte/examples-invoice-print.html +++ b/tests/jinja_adminlte/examples-invoice-print.html @@ -176,63 +176,63 @@ Payment Methods:

    Visa - Mastercard - American Express - Paypal -

    - Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, weebly ning heekya handango imeem plugg dopplr - jibjab, movity jajah plickers sifteo edmodo ifttt zimbra. -

    - - -
    -

    - Amount Due 2/22/2014 -

    -
    - - - - - - - - - - - - - - - - - -
    Subtotal: - $250.30 -
    - Tax (9.3%) - - $10.34 -
    - Shipping: - - $5.80 -
    - Total: - - $265.24 -
    -
    -
    - - - - - + Mastercard + American Express + Paypal +

    + Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, weebly ning heekya handango imeem plugg dopplr + jibjab, movity jajah plickers sifteo edmodo ifttt zimbra. +

    + + +
    +

    + Amount Due 2/22/2014 +

    +
    + + + + + + + + + + + + + + + + + +
    Subtotal: + $250.30 +
    + Tax (9.3%) + + $10.34 +
    + Shipping: + + $5.80 +
    + Total: + + $265.24 +
    - - - - + + + diff --git a/tests/jinja_adminlte/examples-invoice.html b/tests/jinja_adminlte/examples-invoice.html index df31e82..406f2e8 100644 --- a/tests/jinja_adminlte/examples-invoice.html +++ b/tests/jinja_adminlte/examples-invoice.html @@ -211,103 +211,101 @@ Payment Methods:

    Visa - Mastercard - American Express - Paypal -

    - Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, weebly ning heekya handango imeem - plugg - dopplr jibjab, movity jajah plickers sifteo edmodo ifttt zimbra. -

    -
    - -
    -

    - Amount Due 2/22/2014 -

    -
    - - - - - - - - - - - - - - - - - -
    Subtotal: - $250.30 -
    - Tax (9.3%) - - $10.34 -
    - Shipping: - - $5.80 -
    - Total: - - $265.24 -
    -
    -
    - - - - -
    -
    - - - Print - - - -
    -
    - - - - + Mastercard + American Express + Paypal +

    + Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, weebly ning heekya handango imeem + plugg + dopplr jibjab, movity jajah plickers sifteo edmodo ifttt zimbra. +

    - + +
    +

    + Amount Due 2/22/2014 +

    +
    + + + + + + + + + + + + + + + + + +
    Subtotal: + $250.30 +
    + Tax (9.3%) + + $10.34 +
    + Shipping: + + $5.80 +
    + Total: + + $265.24 +
    +
    +
    + - - - + + +
    +
    + + + Print + + + +
    +
    + + - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + + + + + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/examples-lockscreen.html b/tests/jinja_adminlte/examples-lockscreen.html index 6d99ed0..8e6883b 100644 --- a/tests/jinja_adminlte/examples-lockscreen.html +++ b/tests/jinja_adminlte/examples-lockscreen.html @@ -33,45 +33,45 @@
    User Image -
    - - -
    -
    - -
    - -
    +
    + + + +
    + +
    +
    - - -
    - -
    - Enter your password to retrieve your session -
    -
    - Or sign in as a different user -
    - + + + - - {% endblock content %} - - {% block javascripts %} - - - - - {% endblock javascripts %} + +
    + Enter your password to retrieve your session +
    +
    + Or sign in as a different user +
    + + + +{% endblock content %} + +{% block javascripts %} + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/examples-login.html b/tests/jinja_adminlte/examples-login.html index e0ff5cf..1b90176 100644 --- a/tests/jinja_adminlte/examples-login.html +++ b/tests/jinja_adminlte/examples-login.html @@ -53,9 +53,7 @@
    - +
    diff --git a/tests/jinja_adminlte/examples-profile.html b/tests/jinja_adminlte/examples-profile.html index 90d000d..dd97159 100644 --- a/tests/jinja_adminlte/examples-profile.html +++ b/tests/jinja_adminlte/examples-profile.html @@ -50,517 +50,499 @@ User profile picture - -

    - Nina Mcintire -

    -

    - Software Engineer -

    - - + +

    + Nina Mcintire +

    +

    + Software Engineer +

    +
    + + + Follow + + - - -
    -
    -

    About Me

    -
    - -
    - - - Education - -

    - B.S. in Computer Science from the University of Tennessee at Knoxville -

    -
    - - - Location - -

    - Malibu, California -

    -
    - - - Skills - -

    - UI Design - Coding - Javascript - PHP - Node.js -

    -
    - - - Notes - -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam fermentum enim neque. -

    -
    - -
    - + - -
    -
    - - -
    -
    -
    - -
    -
    - user image - - - Jonathan Burke Jr. - - - - - - - Shared publicly - 7:30 PM today - + + +
    +
    +

    About Me

    +
    + +
    + + + Education + +

    + B.S. in Computer Science from the University of Tennessee at Knoxville +

    +
    + + + Location + +

    + Malibu, California +

    +
    + + + Skills + +

    + UI Design + Coding + Javascript + PHP + Node.js +

    +
    + + + Notes + +

    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam fermentum enim neque. +

    +
    + +
    + +
    + +
    +
    + + +
    +
    +
    + +
    +
    + user image + + + Jonathan Burke Jr. + + + + + + + Shared publicly - 7:30 PM today + +
    + +

    + Lorem ipsum represents a long-held tradition for designers, + typographers and the like. Some people hate it and argue for + its demise, but others ignore the hate as they create awesome + tools to help create filler text for everyone from bacon lovers + to Charlie Sheen fans. +

    +

    + + + Share + + + + Like + + + + + Comments (5) + + +

    + +
    + + +
    +
    + User Image + + + Sarah Ross + + + + + + + Sent you a message - 3 days ago + +
    + +

    + Lorem ipsum represents a long-held tradition for designers, + typographers and the like. Some people hate it and argue for + its demise, but others ignore the hate as they create awesome + tools to help create filler text for everyone from bacon lovers + to Charlie Sheen fans. +

    +
    +
    + +
    +
    - -

    - Lorem ipsum represents a long-held tradition for designers, - typographers and the like. Some people hate it and argue for - its demise, but others ignore the hate as they create awesome - tools to help create filler text for everyone from bacon lovers - to Charlie Sheen fans. -

    -

    - - - Share - - - - Like - - - - - Comments (5) - - -

    -
    - - -
    -
    - User Image - - - Sarah Ross - - - - - - - Sent you a message - 3 days ago - + +
    + + +
    +
    + User Image + + + Adam Jones + + + + + + + Posted 5 photos - 5 days ago + +
    + +
    +
    + Photo +
    + +
    +
    +
    + Photo + Photo
    - -

    - Lorem ipsum represents a long-held tradition for designers, - typographers and the like. Some people hate it and argue for - its demise, but others ignore the hate as they create awesome - tools to help create filler text for everyone from bacon lovers - to Charlie Sheen fans. -

    -
    -
    - -
    - -
    -
    -
    + +
    + Photo + Photo +
    +
    - - -
    -
    - User Image - - - Adam Jones - - - - - - - Posted 5 photos - 5 days ago - -
    - -
    -
    - Photo -
    - -
    -
    -
    - Photo - Photo -
    - -
    - Photo - Photo -
    - -
    - -
    - -
    - -

    - - - Share - - - - Like - - - - - Comments (5) - - -

    - -
    - -
    - -
    - -
    - -
    - - 10 Feb. 2014 - -
    - - -
    - -
    - - - 12:05 - -

    - - Support Team - - sent you an email -

    -
    - Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, - weebly ning heekya handango imeem plugg dopplr jibjab, movity - jajah plickers sifteo edmodo ifttt zimbra. Babblely odeo kaboodle - quora plaxo ideeli hulu weebly balihoo... -
    - -
    -
    - - -
    - -
    - - - 5 mins ago - -

    - - Sarah Young - - accepted your friend request -

    -
    -
    - - -
    - -
    - - - 27 mins ago - -

    - - Jay White - - commented on your post -

    -
    - Take me to your leader! - Switzerland is small and neutral! - We are more like Germany, ambitious and misunderstood! -
    - -
    -
    - - -
    - - 3 Jan. 2014 - -
    - - -
    - -
    - - - 2 days ago - -

    - - Mina Lee - - uploaded new photos -

    -
    - ... - ... - ... - ... -
    -
    -
    - -
    - -
    -
    -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    -
    -
    - -
    - -
    - -
    - -
    - -
    - -
    - - - -
    - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + +
    + +
    + +

    + + + Share + + + + Like + + + + + Comments (5) + + +

    + +
    + +
    + +
    + +
    + +
    + + 10 Feb. 2014 + +
    + + +
    + +
    + + + 12:05 + +

    + + Support Team + + sent you an email +

    +
    + Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, + weebly ning heekya handango imeem plugg dopplr jibjab, movity + jajah plickers sifteo edmodo ifttt zimbra. Babblely odeo kaboodle + quora plaxo ideeli hulu weebly balihoo... +
    + +
    +
    + + +
    + +
    + + + 5 mins ago + +

    + + Sarah Young + + accepted your friend request +

    +
    +
    + + +
    + +
    + + + 27 mins ago + +

    + + Jay White + + commented on your post +

    +
    + Take me to your leader! + Switzerland is small and neutral! + We are more like Germany, ambitious and misunderstood! +
    + +
    +
    + + +
    + + 3 Jan. 2014 + +
    + + +
    + +
    + + + 2 days ago + +

    + + Mina Lee + + uploaded new photos +

    +
    + ... + ... + ... + ... +
    +
    +
    + +
    + +
    +
    +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + +
    + +
    + +
    + +
    + + + + + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/examples-project-add.html b/tests/jinja_adminlte/examples-project-add.html index 9ef74d8..8b741e4 100644 --- a/tests/jinja_adminlte/examples-project-add.html +++ b/tests/jinja_adminlte/examples-project-add.html @@ -56,21 +56,15 @@
    - +
    - +
    - +
    - +
    - +
    @@ -118,15 +108,11 @@
    - +
    - +
    diff --git a/tests/jinja_adminlte/examples-project-detail.html b/tests/jinja_adminlte/examples-project-detail.html index 0dd2e3c..b905f9e 100644 --- a/tests/jinja_adminlte/examples-project-detail.html +++ b/tests/jinja_adminlte/examples-project-detail.html @@ -102,156 +102,156 @@ user image - - Jonathan Burke Jr. - - Shared publicly - 7:45 PM today -
    - -

    - Lorem ipsum represents a long-held tradition for designers, - typographers and the like. Some people hate it and argue for - its demise, but others ignore. -

    -

    - - - Demo File 1 v2 - -

    + + Jonathan Burke Jr. + + Shared publicly - 7:45 PM today
    -
    -
    - User Image - - Sarah Ross - - Sent you a message - 3 days ago -
    - -

    - Lorem ipsum represents a long-held tradition for designers, - typographers and the like. Some people hate it and argue for - its demise, but others ignore. -

    -

    - - - Demo File 2 - -

    -
    -
    -
    - user image - - Jonathan Burke Jr. - - Shared publicly - 5 days ago -
    - -

    - Lorem ipsum represents a long-held tradition for designers, - typographers and the like. Some people hate it and argue for - its demise, but others ignore. -

    -

    - - - Demo File 1 v1 - -

    -
    - - - -
    -

    - - AdminLTE v3 -

    -

    - Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terr. + +

    + Lorem ipsum represents a long-held tradition for designers, + typographers and the like. Some people hate it and argue for + its demise, but others ignore.

    -
    -
    -

    - Client Company - - Deveint Inc - -

    -

    - Project Leader - - Tony Chicken - -

    -
    -
    Project files
    - -
    - - Add files - - - Report contact +

    + + + Demo File 1 v2 +

    +
    +
    +
    + User Image + + Sarah Ross + + Sent you a message - 3 days ago
    + +

    + Lorem ipsum represents a long-held tradition for designers, + typographers and the like. Some people hate it and argue for + its demise, but others ignore. +

    +

    + + + Demo File 2 + +

    +
    +
    +
    + user image + + Jonathan Burke Jr. + + Shared publicly - 5 days ago +
    + +

    + Lorem ipsum represents a long-held tradition for designers, + typographers and the like. Some people hate it and argue for + its demise, but others ignore. +

    +

    + + + Demo File 1 v1 + +

    - - - - +
    +

    + + AdminLTE v3 +

    +

    + Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terr. +

    +
    +
    +

    + Client Company + + Deveint Inc + +

    +

    + Project Leader + + Tony Chicken + +

    +
    +
    Project files
    + +
    + + Add files + + + Report contact + +
    +
    + - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + + + + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/examples-project-edit.html b/tests/jinja_adminlte/examples-project-edit.html index 2a43f98..c759784 100644 --- a/tests/jinja_adminlte/examples-project-edit.html +++ b/tests/jinja_adminlte/examples-project-edit.html @@ -56,23 +56,17 @@
    - +
    - +
    - +
    - +
    - +
    @@ -120,9 +110,7 @@
    - +
    - +
    @@ -151,7 +137,9 @@
    -

    Files

    +

    + Files +

    - -
    - - - -
    - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • + + + +
    +
    +
    + + 57% Complete + + + + Success + + + + + View + + + + Edit + + + + Delete + + + + + # + + AdminLTE v3 +
    + + Created 01.01.2019 + + + + + + +
    +
    +
    + + 47% Complete + + + + Success + + + + + View + + + + Edit + + + + Delete + + + + + # + + AdminLTE v3 +
    + + Created 01.01.2019 + + + + + + +
    +
    +
    + + 77% Complete + + + + Success + + + + + View + + + + Edit + + + + Delete + + + + + # + + AdminLTE v3 +
    + + Created 01.01.2019 + + + + + + +
    +
    +
    + + 60% Complete + + + + Success + + + + + View + + + + Edit + + + + Delete + + + + + + # + + + + AdminLTE v3 + +
    + + Created 01.01.2019 + + + + + + +
    +
    +
    + + 12% Complete + + + + + Success + + + + + + View + + + + Edit + + + + Delete + + + + + + # + + + + AdminLTE v3 + +
    + + Created 01.01.2019 + + + + + + +
    +
    +
    + + 35% Complete + + + + + Success + + + + + + View + + + + Edit + + + + Delete + + + + + + # + + + + AdminLTE v3 + +
    + + Created 01.01.2019 + + + + + + +
    +
    +
    + + 87% Complete + + + + + Success + + + + + + View + + + + Edit + + + + Delete + + + + + + # + + + + AdminLTE v3 + +
    + + Created 01.01.2019 + + + + + + +
    +
    +
    + + 77% Complete + + + + + Success + + + + + + View + + + + Edit + + + + Delete + + + + + + # + + + + AdminLTE v3 + +
    + + Created 01.01.2019 + + + + + + +
    +
    +
    + + 77% Complete + + + + + Success + + + + + + View + + + + Edit + + + + Delete + + + + + +
    + +
    + + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/forms-advanced.html b/tests/jinja_adminlte/forms-advanced.html index 026f3d3..c8c04f3 100644 --- a/tests/jinja_adminlte/forms-advanced.html +++ b/tests/jinja_adminlte/forms-advanced.html @@ -73,9 +73,7 @@
    - +
    + +
    + + + +
    + +{% endblock content %} + +{% block javascripts %} + + + + + + + + + + + + + + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/index3.html b/tests/jinja_adminlte/index3.html index 5b14537..0a5af30 100644 --- a/tests/jinja_adminlte/index3.html +++ b/tests/jinja_adminlte/index3.html @@ -115,219 +115,219 @@ Product 1 - Some Product - - $13 USD - - - - 12% - - 12,000 Sold - - - - - - - - - - Product 1 - Another Product - - $29 USD - - - - 0.5% - - 123,234 Sold - - - - - - - - - - Product 1 - Amazing Product - - $1,230 USD - - - - 3% - - 198 Sold - - - - - - - - - - Product 1 - Perfect Item - NEW - - $199 USD - - - - 63% - - 87 Sold - - - - - - - - - - - - - - -
    -
    -
    -
    -

    Sales

    - View Report -
    -
    -
    -
    -

    - - $18,230.00 - - Sales Over Time -

    -

    - - - 33.1% - - - Since last month - -

    -
    - -
    - -
    -
    - - - This year - - - - Last year - -
    -
    -
    - -
    -
    -

    - Online Store Overview -

    - -
    -
    -
    -

    - -

    -

    - - - 12% - - - CONVERSION RATE - -

    -
    - -
    -

    - -

    -

    - - - 0.8% - - - SALES RATE - -

    -
    - -
    -

    - -

    -

    - - - 1% - - - REGISTRATION RATE - -

    -
    - -
    -
    -
    - - - + Some Product + + $13 USD + + + + 12% + + 12,000 Sold + + + + + + + + + + Product 1 + Another Product + + $29 USD + + + + 0.5% + + 123,234 Sold + + + + + + + + + + Product 1 + Amazing Product + + $1,230 USD + + + + 3% + + 198 Sold + + + + + + + + + + Product 1 + Perfect Item + NEW + + $199 USD + + + + 63% + + 87 Sold + + + + + + + + + - - + - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - - - {% endblock javascripts %} + +
    +
    +
    +
    +

    Sales

    + View Report +
    +
    +
    +
    +

    + + $18,230.00 + + Sales Over Time +

    +

    + + + 33.1% + + + Since last month + +

    +
    + +
    + +
    +
    + + + This year + + + + Last year + +
    +
    +
    + +
    +
    +

    + Online Store Overview +

    + +
    +
    +
    +

    + +

    +

    + + + 12% + + + CONVERSION RATE + +

    +
    + +
    +

    + +

    +

    + + + 0.8% + + + SALES RATE + +

    +
    + +
    +

    + +

    +

    + + + 1% + + + REGISTRATION RATE + +

    +
    + +
    +
    +
    + + + + + + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/layouts/base-fullscreen.html b/tests/jinja_adminlte/layouts/base-fullscreen.html index 5b31235..0856c97 100644 --- a/tests/jinja_adminlte/layouts/base-fullscreen.html +++ b/tests/jinja_adminlte/layouts/base-fullscreen.html @@ -12,10 +12,10 @@ {% block stylesheets %}{% endblock stylesheets %} - - - {% block content %}{% endblock content %} - - {% block javascripts %}{% endblock javascripts %} - - + + + {% block content %}{% endblock content %} + + {% block javascripts %}{% endblock javascripts %} + + diff --git a/tests/jinja_adminlte/layouts/base.html b/tests/jinja_adminlte/layouts/base.html index d6498b2..1569d21 100644 --- a/tests/jinja_adminlte/layouts/base.html +++ b/tests/jinja_adminlte/layouts/base.html @@ -11,21 +11,21 @@ | AppSeed {% block stylesheets %}{% endblock stylesheets %} - - -
    - {% include 'includes/navigation.html' %} - {% include 'includes/sidebar.html' %} - {% block content %}{% endblock content %} - {% include 'includes/footer.html' %} - - - -
    - - - {% block javascripts %}{% endblock javascripts %} - - + + +
    + {% include 'includes/navigation.html' %} + {% include 'includes/sidebar.html' %} + {% block content %}{% endblock content %} + {% include 'includes/footer.html' %} + + + +
    + + + {% block javascripts %}{% endblock javascripts %} + + diff --git a/tests/jinja_adminlte/login.html b/tests/jinja_adminlte/login.html index 19b95c0..e687ce0 100644 --- a/tests/jinja_adminlte/login.html +++ b/tests/jinja_adminlte/login.html @@ -53,9 +53,7 @@
    - +
    diff --git a/tests/jinja_adminlte/mailbox-compose.html b/tests/jinja_adminlte/mailbox-compose.html index bda77bf..4973275 100644 --- a/tests/jinja_adminlte/mailbox-compose.html +++ b/tests/jinja_adminlte/mailbox-compose.html @@ -151,47 +151,47 @@
    diff --git a/tests/jinja_adminlte/mailbox-read-mail.html b/tests/jinja_adminlte/mailbox-read-mail.html index 74ac910..27eb44f 100644 --- a/tests/jinja_adminlte/mailbox-read-mail.html +++ b/tests/jinja_adminlte/mailbox-read-mail.html @@ -274,81 +274,81 @@
  • Attachment - -
  • -
  • - - Attachment - -
    - - - photo2.png - - - 1.9 MB - - - - -
    -
  • - -
    - - - - - + +
  • + + Attachment + +
    + + + photo2.png + + + 1.9 MB + + + + +
    +
  • + - + + + - + - - - + + + - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/mailbox.html b/tests/jinja_adminlte/mailbox.html index 2e815a3..448c469 100644 --- a/tests/jinja_adminlte/mailbox.html +++ b/tests/jinja_adminlte/mailbox.html @@ -238,7 +238,9 @@ - 28 mins ago + + 28 mins ago + @@ -253,7 +255,9 @@ - Alexander Pierce + + Alexander Pierce + diff --git a/tests/jinja_adminlte/tables-data.html b/tests/jinja_adminlte/tables-data.html index a0d3dbe..d398ebc 100644 --- a/tests/jinja_adminlte/tables-data.html +++ b/tests/jinja_adminlte/tables-data.html @@ -2,1035 +2,1066 @@ {% block title %}Tables Data {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    DataTables

    -
    -
    - -
    + +{% block stylesheets %} + + + + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    DataTables

    +
    +
    +
    - -
    - -
    -
    -
    -
    -
    -
    -

    DataTable with minimal features & hover style

    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +
    +
    +
    +
    +
    +
    +

    DataTable with minimal features & hover style

    +
    + +
    +
    Rendering engineBrowserPlatform(s)Engine versionCSS grade
    Trident - Internet - Explorer 4.0 - Win 95+4X
    - Trident - - Internet - Explorer 5.0 - - Win 95+ - - 5 - - C -
    - Trident - - Internet - Explorer 5.5 - - Win 95+ - - 5.5 - - A -
    - Trident - - Internet - Explorer 6 - - Win 98+ - - 6 - - A -
    - Trident - - Internet Explorer 7 - - Win XP SP2+ - - 7 - - A -
    - Trident - - AOL browser (AOL desktop) - - Win XP - - 6 - - A -
    - Gecko - - Firefox 1.0 - - Win 98+ / OSX.2+ - - 1.7 - - A -
    - Gecko - - Firefox 1.5 - - Win 98+ / OSX.2+ - - 1.8 - - A -
    - Gecko - - Firefox 2.0 - - Win 98+ / OSX.2+ - - 1.8 - - A -
    - Gecko - - Firefox 3.0 - - Win 2k+ / OSX.3+ - - 1.9 - - A -
    - Gecko - - Camino 1.0 - - OSX.2+ - - 1.8 - - A -
    - Gecko - - Camino 1.5 - - OSX.3+ - - 1.8 - - A -
    - Gecko - - Netscape 7.2 - - Win 95+ / Mac OS 8.6-9.2 - - 1.7 - - A -
    - Gecko - - Netscape Browser 8 - - Win 98SE+ - - 1.7 - - A -
    - Gecko - - Netscape Navigator 9 - - Win 98+ / OSX.2+ - - 1.8 - - A -
    - Gecko - - Mozilla 1.0 - - Win 95+ / OSX.1+ - - 1 - - A -
    - Gecko - - Mozilla 1.1 - - Win 95+ / OSX.1+ - - 1.1 - - A -
    - Gecko - - Mozilla 1.2 - - Win 95+ / OSX.1+ - - 1.2 - - A -
    - Gecko - - Mozilla 1.3 - - Win 95+ / OSX.1+ - - 1.3 - - A -
    - Gecko - - Mozilla 1.4 - - Win 95+ / OSX.1+ - - 1.4 - - A -
    - Gecko - - Mozilla 1.5 - - Win 95+ / OSX.1+ - - 1.5 - - A -
    - Gecko - - Mozilla 1.6 - - Win 95+ / OSX.1+ - - 1.6 - - A -
    - Gecko - - Mozilla 1.7 - - Win 98+ / OSX.1+ - - 1.7 - - A -
    - Gecko - - Mozilla 1.8 - - Win 98+ / OSX.1+ - - 1.8 - - A -
    - Gecko - - Seamonkey 1.1 - - Win 98+ / OSX.2+ - - 1.8 - - A -
    - Gecko - - Epiphany 2.20 - - Gnome - - 1.8 - - A -
    - Webkit - - Safari 1.2 - - OSX.3 - - 125.5 - - A -
    - Webkit - - Safari 1.3 - - OSX.3 - - 312.8 - - A -
    - Webkit - - Safari 2.0 - - OSX.4+ - - 419.3 - - A -
    - Webkit - - Safari 3.0 - - OSX.4+ - - 522.1 - - A -
    - Webkit - - OmniWeb 5.5 - - OSX.4+ - - 420 - - A -
    - Webkit - - iPod Touch / iPhone - - iPod - - 420.1 - - A -
    - Webkit - - S60 - - S60 - - 413 - - A -
    - Presto - - Opera 7.0 - - Win 95+ / OSX.1+ - - - - - A -
    - Presto - - Opera 7.5 - - Win 95+ / OSX.2+ - - - - - A -
    - Presto - - Opera 8.0 - - Win 95+ / OSX.2+ - - - - - A -
    - Presto - - Opera 8.5 - - Win 95+ / OSX.2+ - - - - - A -
    - Presto - - Opera 9.0 - - Win 95+ / OSX.3+ - - - - - A -
    - Presto - - Opera 9.2 - - Win 88+ / OSX.3+ - - - - - A -
    - Presto - - Opera 9.5 - - Win 88+ / OSX.3+ - - - - - A -
    - Presto - - Opera for Wii - - Wii - - - - - A -
    - Presto - - Nokia N800 - - N800 - - - - - A -
    - Presto - - Nintendo DS browser - - Nintendo DS - - 8.5 - - C/A - - 1 - -
    - KHTML - - Konqureror 3.1 - - KDE 3.1 - - 3.1 - - C -
    - KHTML - - Konqureror 3.3 - - KDE 3.3 - - 3.3 - - A -
    - KHTML - - Konqureror 3.5 - - KDE 3.5 - - 3.5 - - A -
    - Tasman - - Internet Explorer 4.5 - - Mac OS 8-9 - - - - - X -
    - Tasman - - Internet Explorer 5.1 - - Mac OS 7.6-9 - - 1 - - C -
    - Tasman - - Internet Explorer 5.2 - - Mac OS 8-X - - 1 - - C -
    - Misc - - NetFront 3.1 - - Embedded devices - - - - - C -
    - Misc - - NetFront 3.4 - - Embedded devices - - - - - A -
    - Misc - - Dillo 0.8 - - Embedded devices - - - - - X -
    - Misc - - Links - - Text only - - - - - X -
    - Misc - - Lynx - - Text only - - - - - X -
    - Misc - - IE Mobile - - Windows Mobile 6 - - - - - C -
    - Misc - - PSP browser - - PSP - - - - - C -
    - Other browsers - - All others - - - - - - - - U -
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Rendering engineBrowserPlatform(s)Engine versionCSS grade
    Trident + Internet + Explorer 4.0 + Win 95+4X
    + Trident + + Internet + Explorer 5.0 + + Win 95+ + + 5 + + C +
    + Trident + + Internet + Explorer 5.5 + + Win 95+ + + 5.5 + + A +
    + Trident + + Internet + Explorer 6 + + Win 98+ + + 6 + + A +
    + Trident + + Internet Explorer 7 + + Win XP SP2+ + + 7 + + A +
    + Trident + + AOL browser (AOL desktop) + + Win XP + + 6 + + A +
    + Gecko + + Firefox 1.0 + + Win 98+ / OSX.2+ + + 1.7 + + A +
    + Gecko + + Firefox 1.5 + + Win 98+ / OSX.2+ + + 1.8 + + A +
    + Gecko + + Firefox 2.0 + + Win 98+ / OSX.2+ + + 1.8 + + A +
    + Gecko + + Firefox 3.0 + + Win 2k+ / OSX.3+ + + 1.9 + + A +
    + Gecko + + Camino 1.0 + + OSX.2+ + + 1.8 + + A +
    + Gecko + + Camino 1.5 + + OSX.3+ + + 1.8 + + A +
    + Gecko + + Netscape 7.2 + + Win 95+ / Mac OS 8.6-9.2 + + 1.7 + + A +
    + Gecko + + Netscape Browser 8 + + Win 98SE+ + + 1.7 + + A +
    + Gecko + + Netscape Navigator 9 + + Win 98+ / OSX.2+ + + 1.8 + + A +
    + Gecko + + Mozilla 1.0 + + Win 95+ / OSX.1+ + + 1 + + A +
    + Gecko + + Mozilla 1.1 + + Win 95+ / OSX.1+ + + 1.1 + + A +
    + Gecko + + Mozilla 1.2 + + Win 95+ / OSX.1+ + + 1.2 + + A +
    + Gecko + + Mozilla 1.3 + + Win 95+ / OSX.1+ + + 1.3 + + A +
    + Gecko + + Mozilla 1.4 + + Win 95+ / OSX.1+ + + 1.4 + + A +
    + Gecko + + Mozilla 1.5 + + Win 95+ / OSX.1+ + + 1.5 + + A +
    + Gecko + + Mozilla 1.6 + + Win 95+ / OSX.1+ + + 1.6 + + A +
    + Gecko + + Mozilla 1.7 + + Win 98+ / OSX.1+ + + 1.7 + + A +
    + Gecko + + Mozilla 1.8 + + Win 98+ / OSX.1+ + + 1.8 + + A +
    + Gecko + + Seamonkey 1.1 + + Win 98+ / OSX.2+ + + 1.8 + + A +
    + Gecko + + Epiphany 2.20 + + Gnome + + 1.8 + + A +
    + Webkit + + Safari 1.2 + + OSX.3 + + 125.5 + + A +
    + Webkit + + Safari 1.3 + + OSX.3 + + 312.8 + + A +
    + Webkit + + Safari 2.0 + + OSX.4+ + + 419.3 + + A +
    + Webkit + + Safari 3.0 + + OSX.4+ + + 522.1 + + A +
    + Webkit + + OmniWeb 5.5 + + OSX.4+ + + 420 + + A +
    + Webkit + + iPod Touch / iPhone + + iPod + + 420.1 + + A +
    + Webkit + + S60 + + S60 + + 413 + + A +
    + Presto + + Opera 7.0 + + Win 95+ / OSX.1+ + + - + + A +
    + Presto + + Opera 7.5 + + Win 95+ / OSX.2+ + + - + + A +
    + Presto + + Opera 8.0 + + Win 95+ / OSX.2+ + + - + + A +
    + Presto + + Opera 8.5 + + Win 95+ / OSX.2+ + + - + + A +
    + Presto + + Opera 9.0 + + Win 95+ / OSX.3+ + + - + + A +
    + Presto + + Opera 9.2 + + Win 88+ / OSX.3+ + + - + + A +
    + Presto + + Opera 9.5 + + Win 88+ / OSX.3+ + + - + + A +
    + Presto + + Opera for Wii + + Wii + + - + + A +
    + Presto + + Nokia N800 + + N800 + + - + + A +
    + Presto + + Nintendo DS browser + + Nintendo DS + + 8.5 + + C/A + + 1 + +
    + KHTML + + Konqureror 3.1 + + KDE 3.1 + + 3.1 + + C +
    + KHTML + + Konqureror 3.3 + + KDE 3.3 + + 3.3 + + A +
    + KHTML + + Konqureror 3.5 + + KDE 3.5 + + 3.5 + + A +
    + Tasman + + Internet Explorer 4.5 + + Mac OS 8-9 + + - + + X +
    + Tasman + + Internet Explorer 5.1 + + Mac OS 7.6-9 + + 1 + + C +
    + Tasman + + Internet Explorer 5.2 + + Mac OS 8-X + + 1 + + C +
    + Misc + + NetFront 3.1 + + Embedded devices + + - + + C +
    + Misc + + NetFront 3.4 + + Embedded devices + + - + + A +
    + Misc + + Dillo 0.8 + + Embedded devices + + - + + X +
    + Misc + + Links + + Text only + + - + + X +
    + Misc + + Lynx + + Text only + + - + + X +
    + Misc + + IE Mobile + + Windows Mobile 6 + + - + + C +
    + Misc + + PSP browser + + PSP + + - + + C +
    + Other browsers + + All others + + - + + - + + U +
    + Rendering engine + + Browser + + Platform(s) + + Engine version + + CSS grade +
    +
    + +
    + +
    +
    +

    DataTable with default features

    +
    + +
    + + - -
    Rendering engine @@ -1048,1067 +1079,1036 @@ CSS grade
    -
    - -
    - -
    -
    -

    DataTable with default features

    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - + + + + + - -
    - Rendering engine - - Browser - - Platform(s) - - Engine version - - CSS grade -
    - Trident - - Internet - Explorer 4.0 - - Win 95+ - - 4 - - X -
    - Trident - - Internet - Explorer 5.0 - - Win 95+ - - 5 - - C -
    - Trident - - Internet - Explorer 5.5 - - Win 95+ - - 5.5 - - A -
    - Trident - - Internet - Explorer 6 - - Win 98+ - - 6 - - A -
    - Trident - - Internet Explorer 7 - - Win XP SP2+ - - 7 - - A -
    - Trident - - AOL browser (AOL desktop) - - Win XP - - 6 - - A -
    - Gecko - - Firefox 1.0 - - Win 98+ / OSX.2+ - - 1.7 - - A -
    - Gecko - - Firefox 1.5 - - Win 98+ / OSX.2+ - - 1.8 - - A -
    - Gecko - - Firefox 2.0 - - Win 98+ / OSX.2+ - - 1.8 - - A -
    - Gecko - - Firefox 3.0 - - Win 2k+ / OSX.3+ - - 1.9 - - A -
    - Gecko - - Camino 1.0 - - OSX.2+ - - 1.8 - - A -
    - Gecko - - Camino 1.5 - - OSX.3+ - - 1.8 - - A -
    - Gecko - - Netscape 7.2 - - Win 95+ / Mac OS 8.6-9.2 - - 1.7 - - A -
    - Gecko - - Netscape Browser 8 - - Win 98SE+ - - 1.7 - - A -
    - Gecko - - Netscape Navigator 9 - - Win 98+ / OSX.2+ - - 1.8 - - A -
    - Gecko - - Mozilla 1.0 - - Win 95+ / OSX.1+ - - 1 - - A -
    - Gecko - - Mozilla 1.1 - - Win 95+ / OSX.1+ - - 1.1 - - A -
    - Gecko - - Mozilla 1.2 - - Win 95+ / OSX.1+ - - 1.2 - - A -
    - Gecko - - Mozilla 1.3 - - Win 95+ / OSX.1+ - - 1.3 - - A -
    - Gecko - - Mozilla 1.4 - - Win 95+ / OSX.1+ - - 1.4 - - A -
    - Gecko - - Mozilla 1.5 - - Win 95+ / OSX.1+ - - 1.5 - - A -
    - Gecko - - Mozilla 1.6 - - Win 95+ / OSX.1+ - - 1.6 - - A -
    - Gecko - - Mozilla 1.7 - - Win 98+ / OSX.1+ - - 1.7 - - A -
    - Gecko - - Mozilla 1.8 - - Win 98+ / OSX.1+ - - 1.8 - - A -
    - Gecko - - Seamonkey 1.1 - - Win 98+ / OSX.2+ - - 1.8 - - A -
    - Gecko - - Epiphany 2.20 - - Gnome - - 1.8 - - A -
    - Webkit - - Safari 1.2 - - OSX.3 - - 125.5 - - A -
    - Webkit - - Safari 1.3 - - OSX.3 - - 312.8 - - A -
    - Webkit - - Safari 2.0 - - OSX.4+ - - 419.3 - - A -
    - Webkit - - Safari 3.0 - - OSX.4+ - - 522.1 - - A -
    - Webkit - - OmniWeb 5.5 - - OSX.4+ - - 420 - - A -
    - Webkit - - iPod Touch / iPhone - - iPod - - 420.1 - - A -
    - Webkit - - S60 - - S60 - - 413 - - A -
    - Presto - - Opera 7.0 - - Win 95+ / OSX.1+ - - - - - A -
    - Presto - - Opera 7.5 - - Win 95+ / OSX.2+ - - - - - A -
    - Presto - - Opera 8.0 - - Win 95+ / OSX.2+ - - - - - A -
    - Presto - - Opera 8.5 - - Win 95+ / OSX.2+ - - - - - A -
    - Presto - - Opera 9.0 - - Win 95+ / OSX.3+ - - - - - A -
    - Presto - - Opera 9.2 - - Win 88+ / OSX.3+ - - - - - A -
    - Presto - - Opera 9.5 - - Win 88+ / OSX.3+ - - - - - A -
    - Presto - - Opera for Wii - - Wii - - - - - A -
    - Presto - - Nokia N800 - - N800 - - - - - A -
    - Presto - - Nintendo DS browser - - Nintendo DS - - 8.5 - - C/A - - 1 - -
    - KHTML - - Konqureror 3.1 - - KDE 3.1 - - 3.1 - - C -
    - KHTML - - Konqureror 3.3 - - KDE 3.3 - - 3.3 - - A -
    - KHTML - - Konqureror 3.5 - - KDE 3.5 - - 3.5 - - A -
    - Tasman - - Internet Explorer 4.5 - - Mac OS 8-9 - - - - - X -
    - Tasman - - Internet Explorer 5.1 - - Mac OS 7.6-9 - - 1 - - C -
    - Tasman - - Internet Explorer 5.2 - - Mac OS 8-X - - 1 - - C -
    - Misc - - NetFront 3.1 - - Embedded devices - - - - - C -
    - Misc - - NetFront 3.4 - - Embedded devices - - - - - A -
    - Misc - - Dillo 0.8 - - Embedded devices - - - - - X -
    - Misc - - Links - - Text only - - - - - X -
    - Misc - - Lynx - - Text only - - - - - X -
    - Misc - - IE Mobile - - Windows Mobile 6 - - - - - C -
    - Misc - - PSP browser - - PSP - - - - - C -
    - Other browsers - - All others - - - - - - - - U -
    - Rendering engine - - Browser - - Platform(s) - - Engine version - - CSS grade - + Trident + + Internet + Explorer 4.0 + + Win 95+ + + 4 + + X +
    -
    - + + + Trident + + + Internet + Explorer 5.0 + + + Win 95+ + + + 5 + + + C + + + + + Trident + + + Internet + Explorer 5.5 + + + Win 95+ + + + 5.5 + + + A + + + + + Trident + + + Internet + Explorer 6 + + + Win 98+ + + + 6 + + + A + + + + + Trident + + + Internet Explorer 7 + + + Win XP SP2+ + + + 7 + + + A + + + + + Trident + + + AOL browser (AOL desktop) + + + Win XP + + + 6 + + + A + + + + + Gecko + + + Firefox 1.0 + + + Win 98+ / OSX.2+ + + + 1.7 + + + A + + + + + Gecko + + + Firefox 1.5 + + + Win 98+ / OSX.2+ + + + 1.8 + + + A + + + + + Gecko + + + Firefox 2.0 + + + Win 98+ / OSX.2+ + + + 1.8 + + + A + + + + + Gecko + + + Firefox 3.0 + + + Win 2k+ / OSX.3+ + + + 1.9 + + + A + + + + + Gecko + + + Camino 1.0 + + + OSX.2+ + + + 1.8 + + + A + + + + + Gecko + + + Camino 1.5 + + + OSX.3+ + + + 1.8 + + + A + + + + + Gecko + + + Netscape 7.2 + + + Win 95+ / Mac OS 8.6-9.2 + + + 1.7 + + + A + + + + + Gecko + + + Netscape Browser 8 + + + Win 98SE+ + + + 1.7 + + + A + + + + + Gecko + + + Netscape Navigator 9 + + + Win 98+ / OSX.2+ + + + 1.8 + + + A + + + + + Gecko + + + Mozilla 1.0 + + + Win 95+ / OSX.1+ + + + 1 + + + A + + + + + Gecko + + + Mozilla 1.1 + + + Win 95+ / OSX.1+ + + + 1.1 + + + A + + + + + Gecko + + + Mozilla 1.2 + + + Win 95+ / OSX.1+ + + + 1.2 + + + A + + + + + Gecko + + + Mozilla 1.3 + + + Win 95+ / OSX.1+ + + + 1.3 + + + A + + + + + Gecko + + + Mozilla 1.4 + + + Win 95+ / OSX.1+ + + + 1.4 + + + A + + + + + Gecko + + + Mozilla 1.5 + + + Win 95+ / OSX.1+ + + + 1.5 + + + A + + + + + Gecko + + + Mozilla 1.6 + + + Win 95+ / OSX.1+ + + + 1.6 + + + A + + + + + Gecko + + + Mozilla 1.7 + + + Win 98+ / OSX.1+ + + + 1.7 + + + A + + + + + Gecko + + + Mozilla 1.8 + + + Win 98+ / OSX.1+ + + + 1.8 + + + A + + + + + Gecko + + + Seamonkey 1.1 + + + Win 98+ / OSX.2+ + + + 1.8 + + + A + + + + + Gecko + + + Epiphany 2.20 + + + Gnome + + + 1.8 + + + A + + + + + Webkit + + + Safari 1.2 + + + OSX.3 + + + 125.5 + + + A + + + + + Webkit + + + Safari 1.3 + + + OSX.3 + + + 312.8 + + + A + + + + + Webkit + + + Safari 2.0 + + + OSX.4+ + + + 419.3 + + + A + + + + + Webkit + + + Safari 3.0 + + + OSX.4+ + + + 522.1 + + + A + + + + + Webkit + + + OmniWeb 5.5 + + + OSX.4+ + + + 420 + + + A + + + + + Webkit + + + iPod Touch / iPhone + + + iPod + + + 420.1 + + + A + + + + + Webkit + + + S60 + + + S60 + + + 413 + + + A + + + + + Presto + + + Opera 7.0 + + + Win 95+ / OSX.1+ + + + - + + + A + + + + + Presto + + + Opera 7.5 + + + Win 95+ / OSX.2+ + + + - + + + A + + + + + Presto + + + Opera 8.0 + + + Win 95+ / OSX.2+ + + + - + + + A + + + + + Presto + + + Opera 8.5 + + + Win 95+ / OSX.2+ + + + - + + + A + + + + + Presto + + + Opera 9.0 + + + Win 95+ / OSX.3+ + + + - + + + A + + + + + Presto + + + Opera 9.2 + + + Win 88+ / OSX.3+ + + + - + + + A + + + + + Presto + + + Opera 9.5 + + + Win 88+ / OSX.3+ + + + - + + + A + + + + + Presto + + + Opera for Wii + + + Wii + + + - + + + A + + + + + Presto + + + Nokia N800 + + + N800 + + + - + + + A + + + + + Presto + + + Nintendo DS browser + + + Nintendo DS + + + 8.5 + + + C/A + + 1 + + + + + + KHTML + + + Konqureror 3.1 + + + KDE 3.1 + + + 3.1 + + + C + + + + + KHTML + + + Konqureror 3.3 + + + KDE 3.3 + + + 3.3 + + + A + + + + + KHTML + + + Konqureror 3.5 + + + KDE 3.5 + + + 3.5 + + + A + + + + + Tasman + + + Internet Explorer 4.5 + + + Mac OS 8-9 + + + - + + + X + + + + + Tasman + + + Internet Explorer 5.1 + + + Mac OS 7.6-9 + + + 1 + + + C + + + + + Tasman + + + Internet Explorer 5.2 + + + Mac OS 8-X + + + 1 + + + C + + + + + Misc + + + NetFront 3.1 + + + Embedded devices + + + - + + + C + + + + + Misc + + + NetFront 3.4 + + + Embedded devices + + + - + + + A + + + + + Misc + + + Dillo 0.8 + + + Embedded devices + + + - + + + X + + + + + Misc + + + Links + + + Text only + + + - + + + X + + + + + Misc + + + Lynx + + + Text only + + + - + + + X + + + + + Misc + + + IE Mobile + + + Windows Mobile 6 + + + - + + + C + + + + + Misc + + + PSP browser + + + PSP + + + - + + + C + + + + + Other browsers + + + All others + + + - + + + - + + + U + + + + + + + Rendering engine + + + Browser + + + Platform(s) + + + Engine version + + + CSS grade + + + +
    - +
    - +
    - +
    - -
    - -
    - {% endblock content %} - - {% block javascripts %} - - - - - - - - - - - - - - - + + + + + + + + + + + + + - {% endblock javascripts %} + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/tables-jsgrid.html b/tests/jinja_adminlte/tables-jsgrid.html index b4721e2..696ebdd 100644 --- a/tests/jinja_adminlte/tables-jsgrid.html +++ b/tests/jinja_adminlte/tables-jsgrid.html @@ -2,75 +2,75 @@ {% block title %}Tables JSGrid {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    jsGrid

    -
    -
    - -
    + +{% block stylesheets %} + + + + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    jsGrid

    +
    +
    +
    - -
    - -
    -
    -
    -

    jsGrid

    -
    - -
    -
    -
    - +
    + +
    + +
    +
    +
    +

    jsGrid

    - -
    - -
    - {% endblock content %} - - {% block javascripts %} - - - - - - - - - - - - - + + + + + + + + + + + - {% endblock javascripts %} + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/tables-simple.html b/tests/jinja_adminlte/tables-simple.html index 86aa92c..0ddb49f 100644 --- a/tests/jinja_adminlte/tables-simple.html +++ b/tests/jinja_adminlte/tables-simple.html @@ -2,123 +2,267 @@ {% block title %}Tables {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    Simple Tables

    -
    -
    - -
    + +{% block stylesheets %} + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    Simple Tables

    +
    +
    +
    - -
    - -
    -
    -
    -
    -
    -
    -

    Bordered Table

    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #TaskProgressLabel
    1.Update software -
    -
    -
    -
    - 55% -
    2.Clean database -
    -
    -
    -
    - 70% -
    3.Cron job running -
    -
    -
    -
    - 30% -
    4. - Fix and squish bugs - -
    -
    -
    -
    - 90% -
    -
    - - + +
    + +
    +
    +
    +
    +
    +
    +

    Bordered Table

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #TaskProgressLabel
    1.Update software +
    +
    +
    +
    + 55% +
    2.Clean database +
    +
    +
    +
    + 70% +
    3.Cron job running +
    +
    +
    +
    + 30% +
    4. + Fix and squish bugs + +
    +
    +
    +
    + 90% +
    +
    + + +
    + +
    +
    +

    + Condensed Full Width Table +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + # + + Task + + Progress + + Label +
    + 1. + + Update software + +
    +
    +
    +
    + + 55% + +
    + 2. + + Clean database + +
    +
    +
    +
    + + 70% + +
    + 3. + + Cron job running + +
    +
    +
    +
    + + 30% + +
    + 4. + + Fix and squish bugs + +
    +
    +
    +
    + + 90% + +
    +
    + +
    + +
    + +
    +
    +
    +

    + Simple Full Width Table +

    +
    - -
    -
    -

    - Condensed Full Width Table -

    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - # - - Task - - Progress - - Label -
    - 1. - - Update software - -
    -
    -
    -
    - - 55% - -
    - 2. - - Clean database - -
    -
    -
    -
    - - 70% - -
    - 3. - - Cron job running - -
    -
    -
    -
    - - 30% - -
    - 4. - - Fix and squish bugs - -
    -
    -
    -
    - - 90% - -
    -
    - + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + # + + Task + + Progress + + Label +
    + 1. + + Update software + +
    +
    +
    +
    + + 55% + +
    + 2. + + Clean database + +
    +
    +
    +
    + + 70% + +
    + 3. + + Cron job running + +
    +
    +
    +
    + + 30% + +
    + 4. + + Fix and squish bugs + +
    +
    +
    +
    + + 90% + +
    - +
    - -
    -
    - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - # - - Task - - Progress - - Label -
    - 1. - - Update software - -
    -
    -
    -
    - - 55% - -
    - 2. - - Clean database - -
    -
    -
    -
    - - 70% - -
    - 3. - - Cron job running - -
    -
    -
    -
    - - 30% - -
    - 4. - - Fix and squish bugs - -
    -
    -
    -
    - - 90% - -
    -
    - + +
    +
    +

    + Striped Full Width Table +

    - -
    -
    -

    - Striped Full Width Table -

    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - # - - Task - - Progress - - Label -
    - 1. - - Update software - -
    -
    -
    -
    - - 55% - -
    - 2. - - Clean database - -
    -
    -
    -
    - - 70% - -
    - 3. - - Cron job running - -
    -
    -
    -
    - - 30% - -
    - 4. - - Fix and squish bugs - -
    -
    -
    -
    - - 90% - -
    -
    - + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + # + + Task + + Progress + + Label +
    + 1. + + Update software + +
    +
    +
    +
    + + 55% + +
    + 2. + + Clean database + +
    +
    +
    +
    + + 70% + +
    + 3. + + Cron job running + +
    +
    +
    +
    + + 30% + +
    + 4. + + Fix and squish bugs + +
    +
    +
    +
    + + 90% + +
    - +
    - +
    - -
    -
    -
    -
    -

    - Responsive Hover Table -

    -
    -
    - -
    - -
    -
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - ID - - User - - Date - - Status - - Reason -
    - 183 - - John Doe - - 11-7-2014 - - - Approved - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 219 - - Alexander Pierce - - 11-7-2014 - - - Pending - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 657 - - Bob Doe - - 11-7-2014 - - - Approved - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 175 - - Mike Doe - - 11-7-2014 - - - Denied - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    -
    - -
    - -
    -
    - -
    -
    -
    -
    -

    - Fixed Header Table -

    -
    -
    - -
    - -
    -
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - ID - - User - - Date - - Status - - Reason -
    - 183 - - John Doe - - 11-7-2014 - - - Approved - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 219 - - Alexander Pierce - - 11-7-2014 - - - Pending - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 657 - - Bob Doe - - 11-7-2014 - - - Approved - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 175 - - Mike Doe - - 11-7-2014 - - - Denied - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 134 - - Jim Doe - - 11-7-2014 - - - Approved - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 494 - - Victoria Doe - - 11-7-2014 - - - Pending - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 832 - - Michael Doe - - 11-7-2014 - - - Approved - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    - 982 - - Rocky Doe - - 11-7-2014 - - - Denied - - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    -
    - -
    - -
    -
    - -
    -
    -
    -
    -

    - Expandable Table -

    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - # - - User - - Date - - Status - - Reason -
    -

    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -

    -
    - 219 - - Alexander Pierce - - 11-7-2014 - - Pending - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    -

    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -

    -
    - 657 - - Alexander Pierce - - 11-7-2014 - - Approved - - Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. -
    -

    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -

    -
    -

    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -

    -
    -

    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -

    -
    -

    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -

    -
    -

    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -

    -
    -

    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. -

    -
    -
    - -
    - -
    -
    - +
    - -
    - -
    - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + +
    +
    +
    +
    +

    + Responsive Hover Table +

    +
    +
    + +
    + +
    +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + ID + + User + + Date + + Status + + Reason +
    + 183 + + John Doe + + 11-7-2014 + + + Approved + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 219 + + Alexander Pierce + + 11-7-2014 + + + Pending + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 657 + + Bob Doe + + 11-7-2014 + + + Approved + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 175 + + Mike Doe + + 11-7-2014 + + + Denied + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    +
    + +
    + +
    +
    + +
    +
    +
    +
    +

    + Fixed Header Table +

    +
    +
    + +
    + +
    +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + ID + + User + + Date + + Status + + Reason +
    + 183 + + John Doe + + 11-7-2014 + + + Approved + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 219 + + Alexander Pierce + + 11-7-2014 + + + Pending + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 657 + + Bob Doe + + 11-7-2014 + + + Approved + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 175 + + Mike Doe + + 11-7-2014 + + + Denied + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 134 + + Jim Doe + + 11-7-2014 + + + Approved + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 494 + + Victoria Doe + + 11-7-2014 + + + Pending + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 832 + + Michael Doe + + 11-7-2014 + + + Approved + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    + 982 + + Rocky Doe + + 11-7-2014 + + + Denied + + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    +
    + +
    + +
    +
    + +
    +
    +
    +
    +

    + Expandable Table +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + # + + User + + Date + + Status + + Reason +
    +

    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +

    +
    + 219 + + Alexander Pierce + + 11-7-2014 + + Pending + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    +

    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +

    +
    + 657 + + Alexander Pierce + + 11-7-2014 + + Approved + + Bacon ipsum dolor sit amet salami venison chicken flank fatback doner. +
    +

    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +

    +
    +

    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +

    +
    +

    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +

    +
    +

    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +

    +
    +

    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +

    +
    +

    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +

    +
    +
    + +
    + +
    +
    + +
    + +
    + +
    +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/ui-buttons.html b/tests/jinja_adminlte/ui-buttons.html index 25a4846..b6a408d 100644 --- a/tests/jinja_adminlte/ui-buttons.html +++ b/tests/jinja_adminlte/ui-buttons.html @@ -2,2255 +2,2221 @@ {% block title %}Ui Buttons {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    Buttons

    -
    -
    - + +
    +
    +

    + Various types of buttons. Using the base class + + .btn + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Normal + Large + + .btn-lg + + + Small + + .btn-sm + + + Extra Small + + .btn-xs + + + Flat + + .btn-flat + + + Disabled + + .disabled + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    +
    +
    +
    - -
    - -
    -
    -
    -
    -
    -
    -

    - - Buttons -

    -
    -
    -

    - Various types of buttons. Using the base class - - .btn - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Normal - Large - - .btn-lg - - - Small - - .btn-sm - - - Extra Small - - .btn-xs - - - Flat - - .btn-flat - - - Disabled - - .disabled - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    -
    - + +
    +
    +
    +
    +

    + + Outline Buttons +

    +
    +

    + Various types of buttons. Using the base class + + .btn + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Normal + Large + + .btn-lg + + + Small + + .btn-sm + + + Extra Small + + .btn-xs + + + Flat + + .btn-flat + + + Disabled + + .disabled + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    +
    +
    -
    - -
    -
    -
    -
    -

    - - Outline Buttons -

    -
    -
    -

    - Various types of buttons. Using the base class - - .btn - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Normal - Large - - .btn-lg - - - Small - - .btn-sm - - - Extra Small - - .btn-xs - - - Flat - - .btn-flat - - - Disabled - - .disabled - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    -
    - -
    -
    - -
    - -
    -
    -
    -
    -

    - - Gradient Buttons (bg-gradient-*) -

    -
    -
    -

    - Various types of buttons. Using the base class - - .btn - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Normal - Large - - .btn-lg - - - Small - - .btn-sm - - - Extra Small - - .btn-xs - - - Flat - - .btn-flat - - - Disabled - - .disabled - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - -
    -
    - -
    -
    - -
    - -
    -
    - -
    -
    -

    Block Buttons

    -
    -
    - - - -
    -
    - - -
    -
    -

    Horizontal Button Group

    -
    -
    -

    - Horizontal button groups are easy to create with bootstrap. Just add your buttons - inside - - <div class="btn-group"></div> - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ButtonIconsFlatDropdown
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    -
    - -
    -
    -

    - Appended Buttons -

    -
    -
    - With dropdown - - - Normal -
    -
    - -
    - - -
    - - - Flat - -
    - - - - -
    - -
    - -
    - - -
    -
    -

    - Split buttons -

    -
    -
    - -

    - Normal split buttons: -

    -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - -

    - Flat split buttons: -

    -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - -

    - Hoverable split buttons: -

    -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    -
    - -
    - -
    - -
    - -
    -
    -

    - Application Buttons -

    -
    - - -
    - - -
    -
    -

    - Vertical Button Group -

    -
    -
    -

    - Vertical button groups are easy to create with bootstrap. Just add your buttons - inside - - <div class="btn-group-vertical"></div> - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Button - - Icons - - Flat - - Dropdown -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - -
    - - -
    -
    -

    - Radio Button Group -

    -
    -
    -

    - Radio Button Group with - - .btn-secondary - -

    -
    - - - -
    -

    - Radio Button Group with - - .bg-olive - -

    -
    - - - -
    -
    - -
    - -
    - -
    - +
    - -
    - -
    - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + +
    +
    +
    +
    +

    + + Gradient Buttons (bg-gradient-*) +

    +
    +
    +

    + Various types of buttons. Using the base class + + .btn + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Normal + Large + + .btn-lg + + + Small + + .btn-sm + + + Extra Small + + .btn-xs + + + Flat + + .btn-flat + + + Disabled + + .disabled + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    +
    + +
    +
    + +
    + +
    +
    + +
    +
    +

    Block Buttons

    +
    +
    + + + +
    +
    + + +
    +
    +

    Horizontal Button Group

    +
    +
    +

    + Horizontal button groups are easy to create with bootstrap. Just add your buttons + inside + + <div class="btn-group"></div> + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ButtonIconsFlatDropdown
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    + +
    +
    +

    + Appended Buttons +

    +
    +
    + With dropdown + + + Normal +
    +
    + +
    + + +
    + + + Flat + +
    + + + + +
    + +
    + +
    + + +
    +
    +

    + Split buttons +

    +
    +
    + +

    + Normal split buttons: +

    +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    + +

    + Flat split buttons: +

    +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    + +

    + Hoverable split buttons: +

    +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    +
    + +
    + +
    + +
    + +
    +
    +

    + Application Buttons +

    +
    + + +
    + + +
    +
    +

    + Vertical Button Group +

    +
    +
    +

    + Vertical button groups are easy to create with bootstrap. Just add your buttons + inside + + <div class="btn-group-vertical"></div> + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + Button + + Icons + + Flat + + Dropdown +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + +
    + + +
    +
    +

    + Radio Button Group +

    +
    +
    +

    + Radio Button Group with + + .btn-secondary + +

    +
    + + + +
    +

    + Radio Button Group with + + .bg-olive + +

    +
    + + + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/ui-general.html b/tests/jinja_adminlte/ui-general.html index f1476eb..3dca08c 100644 --- a/tests/jinja_adminlte/ui-general.html +++ b/tests/jinja_adminlte/ui-general.html @@ -2,16 +2,16 @@ {% block title %}UI General {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    Inline Charts

    -
    -
    - -
    + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    Inline Charts

    +
    +
    +
    - -
    - -
    -
    - -
    -
    -

    - - Color Palette -

    -
    -
    -
    -
    Theme Colors
    -
    - -
    -
    -

    Primary

    -
    -
    - #007bff -
    -
    - Disabled -
    -
    -
    - -
    -

    Secondary

    -
    -
    - #6c757d -
    -
    - Disabled -
    -
    -
    - -
    -

    Info

    -
    -
    - #17a2b8 -
    -
    - Disabled -
    -
    -
    - -
    -

    Success

    -
    -
    - #28a745 -
    -
    - Disabled -
    -
    -
    - -
    -

    Warning

    -
    -
    - - #ffc107 - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    Danger

    -
    -
    - - #dc3545 - -
    -
    - - Disabled - -
    -
    -
    - -
    - -
    -
    Black/White Nuances
    -
    - -
    -
    -

    Black

    -
    -
    - - #000000 - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    Gray Dark

    -
    -
    - - #343a40 - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Gray -

    -
    -
    - - #adb5bd - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Light -

    -
    -
    - - #1f2d3d - -
    -
    - - Disabled - -
    -
    -
    - -
    - -
    -
    - Colors -
    -
    - -
    -
    -

    - Indigo -

    -
    -
    - - #6610f2 - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Lightblue -

    -
    -
    - - #3c8dbc - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Navy -

    -
    -
    - - #001f3f - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Purple -

    -
    -
    - - #605ca8 - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Fuchsia -

    -
    -
    - - #f012be - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Pink -

    -
    -
    - - #e83e8c - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Maroon -

    -
    -
    - - #d81b60 - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Orange -

    -
    -
    - - #ff851b - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Lime -

    -
    -
    - - #01ff70 - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Teal -

    -
    -
    - - #39cccc - -
    -
    - - Disabled - -
    -
    -
    - -
    -

    - Olive -

    -
    -
    - - #3d9970 - -
    -
    - - Disabled - -
    -
    -
    - -
    - -
    - +
    + +
    + +
    +
    + +
    +
    +

    + + Color Palette +

    - - -
    - Alerts and Callouts -
    -
    -
    -
    -
    -

    - - Alerts -

    -
    - -
    -
    - -
    - - Alert! -
    - Danger alert preview. This alert is dismissable. A wonderful serenity has taken possession of my - entire - soul, like these sweet mornings of spring which I enjoy with my whole heart. -
    -
    - -
    - - Alert! -
    - Info alert preview. This alert is dismissable. -
    -
    - -
    - - Alert! -
    - Warning alert preview. This alert is dismissable. -
    -
    - -
    - - Alert! -
    - Success alert preview. This alert is dismissable. -
    -
    - -
    - -
    - -
    -
    -
    -

    - - Callouts -

    -
    - -
    -
    -
    - I am a danger callout! -
    -

    - There is a problem that we need to fix. A wonderful serenity has taken possession of my entire - soul, - like these sweet mornings of spring which I enjoy with my whole heart. -

    -
    -
    -
    - I am an info callout! -
    -

    - Follow the steps to continue to payment. -

    -
    -
    -
    - I am a warning callout! -
    -

    - This is a yellow callout. -

    -
    -
    -
    - I am a success callout! -
    -

    - This is a green callout. -

    -
    -
    - -
    - -
    - -
    - - -
    - Tabs in Cards -
    -
    +
    - -
    - - -
    -
    -
    - A wonderful serenity has taken possession of my entire soul, - like these sweet mornings of spring which I enjoy with my whole heart. - I am alone, and feel the charm of existence in this spot, - which was created for the bliss of souls like mine. I am so happy, - my dear friend, so absorbed in the exquisite sense of mere tranquil existence, - that I neglect my talents. I should be incapable of drawing a single stroke - at the present moment; and yet I feel that I never was a greater artist than now. -
    - -
    - The European languages are members of the same family. Their separate existence is a myth. - For science, music, sport, etc, Europe uses the same vocabulary. The languages only differ - in their grammar, their pronunciation and their most common words. Everyone realizes why a - new common language would be desirable: one could refuse to pay expensive translators. To - achieve this, it would be necessary to have uniform grammar, pronunciation and more common - words. If several languages coalesce, the grammar of the resulting language is more simple - and regular than that of the individual languages. -
    - -
    - Lorem Ipsum is simply dummy text of the printing and typesetting industry. - Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, - when an unknown printer took a galley of type and scrambled it to make a type specimen book. - It has survived not only five centuries, but also the leap into electronic typesetting, - remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset - sheets containing Lorem Ipsum passages, and more recently with desktop publishing software - like Aldus PageMaker including versions of Lorem Ipsum. -
    - -
    - -
    - -
    - +
    Theme Colors
    - + +
    +
    +

    Primary

    +
    +
    + #007bff +
    +
    + Disabled +
    +
    +
    + +
    +

    Secondary

    +
    +
    + #6c757d +
    +
    + Disabled +
    +
    +
    + +
    +

    Info

    +
    +
    + #17a2b8 +
    +
    + Disabled +
    +
    +
    + +
    +

    Success

    +
    +
    + #28a745 +
    +
    + Disabled +
    +
    +
    + +
    +

    Warning

    +
    +
    + + #ffc107 + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    Danger

    +
    +
    + + #dc3545 + +
    +
    + + Disabled + +
    +
    +
    + +
    + +
    +
    Black/White Nuances
    +
    + +
    +
    +

    Black

    +
    +
    + + #000000 + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    Gray Dark

    +
    +
    + + #343a40 + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Gray +

    +
    +
    + + #adb5bd + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Light +

    +
    +
    + + #1f2d3d + +
    +
    + + Disabled + +
    +
    +
    + +
    + +
    +
    + Colors +
    +
    + +
    +
    +

    + Indigo +

    +
    +
    + + #6610f2 + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Lightblue +

    +
    +
    + + #3c8dbc + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Navy +

    +
    +
    + + #001f3f + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Purple +

    +
    +
    + + #605ca8 + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Fuchsia +

    +
    +
    + + #f012be + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Pink +

    +
    +
    + + #e83e8c + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Maroon +

    +
    +
    + + #d81b60 + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Orange +

    +
    +
    + + #ff851b + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Lime +

    +
    +
    + + #01ff70 + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Teal +

    +
    +
    + + #39cccc + +
    +
    + + Disabled + +
    +
    +
    + +
    +

    + Olive +

    +
    +
    + + #3d9970 + +
    +
    + + Disabled + +
    +
    +
    + +
    +
    - - - -
    - Progress Bars -
    -
    -
    -
    -
    -

    - Progress Bars Different Sizes -

    -
    - -
    -

    - - .progress - -

    -
    -
    - - 40% Complete (success) - -
    -
    -

    - - .progress-sm - -

    -
    -
    - - 20% Complete - -
    -
    -

    - - .progress-xs - -

    -
    -
    - - 60% Complete (warning) - -
    -
    -

    - - .progress-xxs - -

    -
    -
    - - 60% Complete (warning) - -
    -
    -
    - + +
    + + +
    + Alerts and Callouts +
    +
    +
    +
    +
    +

    + + Alerts +

    - -
    - -
    -
    -
    -

    - Progress bars -

    + +
    +
    + +
    + + Alert! +
    + Danger alert preview. This alert is dismissable. A wonderful serenity has taken possession of my + entire + soul, like these sweet mornings of spring which I enjoy with my whole heart.
    - -
    -
    -
    - - 40% Complete (success) - -
    -
    -
    -
    - - 20% Complete - -
    -
    -
    -
    - - 60% Complete (warning) - -
    -
    -
    -
    - - 80% Complete - -
    -
    +
    + +
    + + Alert! +
    + Info alert preview. This alert is dismissable. +
    +
    + +
    + + Alert! +
    + Warning alert preview. This alert is dismissable. +
    +
    + +
    + + Alert! +
    + Success alert preview. This alert is dismissable.
    -
    - +
    - +
    - -
    -
    -
    -
    -

    - Vertical Progress Bars Different Sizes -

    -
    - -
    -

    - By adding the class - - .vertical - - and - - .progress-sm - - , - - .progress-xs - - or - - .progress-xxs - - we achieve: -

    -
    -
    - - 40% - -
    -
    -
    -
    - - 100% - -
    -
    -
    -
    - - 60% - -
    -
    -
    -
    - - 60% - -
    -
    -
    - + +
    +
    +
    +

    + + Callouts +

    - -
    - -
    -
    -
    -

    - Vertical Progress bars -

    -
    - -
    + +
    +
    +
    + I am a danger callout! +

    - By adding the class - - .vertical - - we achieve: + There is a problem that we need to fix. A wonderful serenity has taken possession of my entire + soul, + like these sweet mornings of spring which I enjoy with my whole heart. +

    +
    +
    +
    + I am an info callout! +
    +

    + Follow the steps to continue to payment. +

    +
    +
    +
    + I am a warning callout! +
    +

    + This is a yellow callout. +

    +
    +
    +
    + I am a success callout! +
    +

    + This is a green callout.

    -
    -
    - - 40% - -
    -
    -
    -
    - - 20% - -
    -
    -
    -
    - - 60% - -
    -
    -
    -
    - - 80% - -
    -
    -
    - +
    - +
    - - - -
    - Bootstrap Accordion & Carousel -
    -
    -
    -
    -
    -

    - Collapsible Accordion -

    -
    - -
    - -
    -
    - -
    -
    - Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. - 3 - wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt - laborum - eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee - nulla - assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred - nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft - beer - farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus - labore sustainable VHS. -
    -
    + +
    + + +
    + Tabs in Cards +
    +
    +
    + +
    +
    +

    + Tabs +

    +
    -
    - + +
    - -
    - -
    -
    -
    -

    - Carousel -

    -
    - -
    - -
    - -
    - + +
    +
    +
    + A wonderful serenity has taken possession of my entire soul, + like these sweet mornings of spring which I enjoy with my whole heart. + I am alone, and feel the charm of existence in this spot, + which was created for the bliss of souls like mine. I am so happy, + my dear friend, so absorbed in the exquisite sense of mere tranquil existence, + that I neglect my talents. I should be incapable of drawing a single stroke + at the present moment; and yet I feel that I never was a greater artist than now.
    - + +
    + The European languages are members of the same family. Their separate existence is a myth. + For science, music, sport, etc, Europe uses the same vocabulary. The languages only differ + in their grammar, their pronunciation and their most common words. Everyone realizes why a + new common language would be desirable: one could refuse to pay expensive translators. To + achieve this, it would be necessary to have uniform grammar, pronunciation and more common + words. If several languages coalesce, the grammar of the resulting language is more simple + and regular than that of the individual languages. +
    + +
    + Lorem Ipsum is simply dummy text of the printing and typesetting industry. + Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, + when an unknown printer took a galley of type and scrambled it to make a type specimen book. + It has survived not only five centuries, but also the leap into electronic typesetting, + remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset + sheets containing Lorem Ipsum passages, and more recently with desktop publishing software + like Aldus PageMaker including versions of Lorem Ipsum. +
    +
    - - - -
    - Typography + +
    + +
    + +
    + +
    + + + +
    + Progress Bars +
    +
    +
    +
    +
    +

    + Progress Bars Different Sizes +

    +
    + +
    +

    + + .progress + +

    +
    +
    + + 40% Complete (success) + +
    +
    +

    + + .progress-sm + +

    +
    +
    + + 20% Complete + +
    +
    +

    + + .progress-xs + +

    +
    +
    + + 60% Complete (warning) + +
    +
    +

    + + .progress-xxs + +

    +
    +
    + + 60% Complete (warning) + +
    +
    +
    + +
    + +
    + +
    +
    +
    +

    + Progress bars +

    +
    + +
    +
    +
    + + 40% Complete (success) + +
    +
    +
    +
    + + 20% Complete + +
    +
    +
    +
    + + 60% Complete (warning) + +
    +
    +
    +
    + + 80% Complete + +
    +
    +
    + +
    + +
    + +
    + +
    +
    +
    +
    +

    + Vertical Progress Bars Different Sizes +

    +
    + +
    +

    + By adding the class + + .vertical + + and + + .progress-sm + + , + + .progress-xs + + or + + .progress-xxs + + we achieve: +

    +
    +
    + + 40% + +
    +
    +
    +
    + + 100% + +
    +
    +
    +
    + + 60% + +
    +
    +
    +
    + + 60% + +
    +
    +
    + +
    + +
    + +
    +
    +
    +

    + Vertical Progress bars +

    +
    + +
    +

    + By adding the class + + .vertical + + we achieve: +

    +
    +
    + + 40% + +
    +
    +
    +
    + + 20% + +
    +
    +
    +
    + + 60% + +
    +
    +
    +
    + + 80% + +
    +
    +
    + +
    + +
    + +
    + + + +
    + Bootstrap Accordion & Carousel +
    +
    +
    +
    +
    +

    + Collapsible Accordion +

    +
    + +
    + +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. + 3 + wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt + laborum + eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee + nulla + assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred + nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft + beer + farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus + labore sustainable VHS. +
    +
    +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. + 3 + wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt + laborum + eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee + nulla + assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred + nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft + beer + farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus + labore sustainable VHS. +
    +
    +
    +
    + +
    +
    + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. + 3 + wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt + laborum + eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee + nulla + assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred + nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft + beer + farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus + labore sustainable VHS. +
    +
    +
    +
    +
    + +
    + +
    + +
    +
    +
    +

    + Carousel +

    +
    + +
    + +
    + +
    + +
    + +
    + + + +
    + Typography +
    +
    +
    +
    +
    +

    + + Headlines +

    +
    + +
    +

    + h1. Bootstrap heading +

    +

    + h2. Bootstrap heading +

    +

    + h3. Bootstrap heading +

    +

    + h4. Bootstrap heading +

    +
    + h5. Bootstrap heading
    -
    -
    -
    -
    -

    - - Headlines -

    -
    - -
    -

    - h1. Bootstrap heading -

    -

    - h2. Bootstrap heading -

    -

    - h3. Bootstrap heading -

    -

    - h4. Bootstrap heading -

    -
    - h5. Bootstrap heading -
    -
    - h6. Bootstrap heading -
    -
    - -
    - -
    - -
    -
    -
    -

    - - Text Emphasis -

    -
    - -
    -

    - Lead to emphasize importance -

    -

    - Text green to emphasize success -

    -

    - Text aqua to emphasize info -

    -

    - Text light blue to emphasize info (2) -

    -

    - Text red to emphasize danger -

    -

    - Text yellow to emphasize warning -

    -

    - Text muted to emphasize general -

    -
    - -
    - -
    - -
    - -
    -
    -
    -
    -

    - - Primary Block Quotes -

    -
    - -
    -
    -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. -

    - - Someone famous in - - Source Title - - -
    -
    - -
    - -
    - -
    -
    -
    -

    - - Secondary Block Quotes -

    -
    - -
    -
    -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. -

    - - Someone famous in - - Source Title - - -
    -
    - -
    - -
    - -
    - -
    -
    -
    -
    -

    - - Unordered List -

    -
    - -
    -
      -
    • - Lorem ipsum dolor sit amet -
    • -
    • - Consectetur adipiscing elit -
    • -
    • - Integer molestie lorem at massa -
    • -
    • - Facilisis in pretium nisl aliquet -
    • -
    • - Nulla volutpat aliquam velit -
        -
      • - Phasellus iaculis neque -
      • -
      • - Purus sodales ultricies -
      • -
      • - Vestibulum laoreet porttitor sem -
      • -
      • - Ac tristique libero volutpat at -
      • -
      -
    • -
    • - Faucibus porta lacus fringilla vel -
    • -
    • - Aenean sit amet erat nunc -
    • -
    • - Eget porttitor lorem -
    • -
    -
    - -
    - -
    - -
    -
    -
    -

    - - Ordered Lists -

    -
    - -
    -
      -
    1. - Lorem ipsum dolor sit amet -
    2. -
    3. - Consectetur adipiscing elit -
    4. -
    5. - Integer molestie lorem at massa -
    6. -
    7. - Facilisis in pretium nisl aliquet -
    8. -
    9. - Nulla volutpat aliquam velit -
        -
      1. - Phasellus iaculis neque -
      2. -
      3. - Purus sodales ultricies -
      4. -
      5. - Vestibulum laoreet porttitor sem -
      6. -
      7. - Ac tristique libero volutpat at -
      8. -
      -
    10. -
    11. - Faucibus porta lacus fringilla vel -
    12. -
    13. - Aenean sit amet erat nunc -
    14. -
    15. - Eget porttitor lorem -
    16. -
    -
    - -
    - -
    - -
    -
    -
    -

    - - Unstyled List -

    -
    - -
    -
      -
    • - Lorem ipsum dolor sit amet -
    • -
    • - Consectetur adipiscing elit -
    • -
    • - Integer molestie lorem at massa -
    • -
    • - Facilisis in pretium nisl aliquet -
    • -
    • - Nulla volutpat aliquam velit -
        -
      • - Phasellus iaculis neque -
      • -
      • - Purus sodales ultricies -
      • -
      • - Vestibulum laoreet porttitor sem -
      • -
      • - Ac tristique libero volutpat at -
      • -
      -
    • -
    • - Faucibus porta lacus fringilla vel -
    • -
    • - Aenean sit amet erat nunc -
    • -
    • - Eget porttitor lorem -
    • -
    -
    - -
    - -
    - -
    - -
    -
    -
    -
    -

    - - Description -

    -
    - -
    -
    -
    - Description lists -
    -
    - A description list is perfect for defining terms. -
    -
    - Euismod -
    -
    - Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit. -
    -
    - Donec id elit non mi porta gravida at eget metus. -
    -
    - Malesuada porta -
    -
    - Etiam porta sem malesuada magna mollis euismod. -
    -
    -
    - -
    - -
    - -
    -
    -
    -

    - - Description Horizontal -

    -
    - -
    -
    -
    - Description lists -
    -
    - A description list is perfect for defining terms. -
    -
    - Euismod -
    -
    - Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit. -
    -
    - Donec id elit non mi porta gravida at eget metus. -
    -
    - Malesuada porta -
    -
    - Etiam porta sem malesuada magna mollis euismod. -
    -
    - Felis euismod semper eget lacinia -
    -
    - Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo - sit amet risus. -
    -
    -
    - -
    - -
    - -
    - - +
    + h6. Bootstrap heading +
    - -
    - + +
    +
    - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + +
    +
    +
    +

    + + Text Emphasis +

    +
    + +
    +

    + Lead to emphasize importance +

    +

    + Text green to emphasize success +

    +

    + Text aqua to emphasize info +

    +

    + Text light blue to emphasize info (2) +

    +

    + Text red to emphasize danger +

    +

    + Text yellow to emphasize warning +

    +

    + Text muted to emphasize general +

    +
    + +
    + +
    + +
    + +
    +
    +
    +
    +

    + + Primary Block Quotes +

    +
    + +
    +
    +

    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. +

    + + Someone famous in + + Source Title + + +
    +
    + +
    + +
    + +
    +
    +
    +

    + + Secondary Block Quotes +

    +
    + +
    +
    +

    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. +

    + + Someone famous in + + Source Title + + +
    +
    + +
    + +
    + +
    + +
    +
    +
    +
    +

    + + Unordered List +

    +
    + +
    +
      +
    • + Lorem ipsum dolor sit amet +
    • +
    • + Consectetur adipiscing elit +
    • +
    • + Integer molestie lorem at massa +
    • +
    • + Facilisis in pretium nisl aliquet +
    • +
    • + Nulla volutpat aliquam velit +
        +
      • + Phasellus iaculis neque +
      • +
      • + Purus sodales ultricies +
      • +
      • + Vestibulum laoreet porttitor sem +
      • +
      • + Ac tristique libero volutpat at +
      • +
      +
    • +
    • + Faucibus porta lacus fringilla vel +
    • +
    • + Aenean sit amet erat nunc +
    • +
    • + Eget porttitor lorem +
    • +
    +
    + +
    + +
    + +
    +
    +
    +

    + + Ordered Lists +

    +
    + +
    +
      +
    1. + Lorem ipsum dolor sit amet +
    2. +
    3. + Consectetur adipiscing elit +
    4. +
    5. + Integer molestie lorem at massa +
    6. +
    7. + Facilisis in pretium nisl aliquet +
    8. +
    9. + Nulla volutpat aliquam velit +
        +
      1. + Phasellus iaculis neque +
      2. +
      3. + Purus sodales ultricies +
      4. +
      5. + Vestibulum laoreet porttitor sem +
      6. +
      7. + Ac tristique libero volutpat at +
      8. +
      +
    10. +
    11. + Faucibus porta lacus fringilla vel +
    12. +
    13. + Aenean sit amet erat nunc +
    14. +
    15. + Eget porttitor lorem +
    16. +
    +
    + +
    + +
    + +
    +
    +
    +

    + + Unstyled List +

    +
    + +
    +
      +
    • + Lorem ipsum dolor sit amet +
    • +
    • + Consectetur adipiscing elit +
    • +
    • + Integer molestie lorem at massa +
    • +
    • + Facilisis in pretium nisl aliquet +
    • +
    • + Nulla volutpat aliquam velit +
        +
      • + Phasellus iaculis neque +
      • +
      • + Purus sodales ultricies +
      • +
      • + Vestibulum laoreet porttitor sem +
      • +
      • + Ac tristique libero volutpat at +
      • +
      +
    • +
    • + Faucibus porta lacus fringilla vel +
    • +
    • + Aenean sit amet erat nunc +
    • +
    • + Eget porttitor lorem +
    • +
    +
    + +
    + +
    + +
    + +
    +
    +
    +
    +

    + + Description +

    +
    + +
    +
    +
    + Description lists +
    +
    + A description list is perfect for defining terms. +
    +
    + Euismod +
    +
    + Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit. +
    +
    + Donec id elit non mi porta gravida at eget metus. +
    +
    + Malesuada porta +
    +
    + Etiam porta sem malesuada magna mollis euismod. +
    +
    +
    + +
    + +
    + +
    +
    +
    +

    + + Description Horizontal +

    +
    + +
    +
    +
    + Description lists +
    +
    + A description list is perfect for defining terms. +
    +
    + Euismod +
    +
    + Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit. +
    +
    + Donec id elit non mi porta gravida at eget metus. +
    +
    + Malesuada porta +
    +
    + Etiam porta sem malesuada magna mollis euismod. +
    +
    + Felis euismod semper eget lacinia +
    +
    + Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo + sit amet risus. +
    +
    +
    + +
    + +
    + +
    + + +
    + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/ui-icons.html b/tests/jinja_adminlte/ui-icons.html index f342f8d..d20495f 100644 --- a/tests/jinja_adminlte/ui-icons.html +++ b/tests/jinja_adminlte/ui-icons.html @@ -2,82 +2,82 @@ {% block title %}UI Icons {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    Icons

    -
    -
    - -
    + +{% block stylesheets %} + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    Icons

    +
    +
    +
    - -
    - -
    -
    -
    -
    -

    Icons

    -
    - -
    -

    - You can use any font library you like with AdminLTE 3. -

    - Recommendations - -
    - +
    + +
    + +
    +
    +
    +
    +

    Icons

    + +
    +

    + You can use any font library you like with AdminLTE 3. +

    + Recommendations + +
    +
    - -
    - -
    - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} +
    + +
    + +
    +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/ui-modals.html b/tests/jinja_adminlte/ui-modals.html index 9849b16..f1b6ef1 100644 --- a/tests/jinja_adminlte/ui-modals.html +++ b/tests/jinja_adminlte/ui-modals.html @@ -2,621 +2,621 @@ {% block title %}UI Modals {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    + +{% block stylesheets %} + + + + + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    + Modals & Alerts + + new + +

    +
    +
    +

    -
    -
    - -
    + +
    - -
    - -
    -
    -
    -
    -
    -
    -

    - - Modal Examples -

    -
    -
    - - - - - - - -
    -
    - - - -
    -
    - -
    - Instructions for how to use modals are available on the - - Bootstrap documentation - -
    -
    - +
    + +
    + +
    +
    +
    +
    +
    +
    +

    + + Modal Examples +

    -
    -
    -

    - - Toasts Examples - - built in AdminLTE - -

    -
    -
    - - - - - -
    -
    - - - -
    -
    - - - - - -
    +
    + + + + + + + +
    +
    + + + +
    +
    + +
    + Instructions for how to use modals are available on the + + Bootstrap documentation +
    -
    -
    -

    - - SweetAlert2 Examples -

    + +
    +
    +
    +

    + + Toasts Examples + + built in AdminLTE + +

    +
    +
    + + + + + +
    +
    + + + +
    +
    + + + + + +
    +
    +
    +
    +
    +

    + + SweetAlert2 Examples +

    +
    +
    + + + + + +
    + For more examples look at + + https://sweetalert2.github.io/ +
    -
    - - - - - -
    - For more examples look at - - https://sweetalert2.github.io/ - -
    +
    + +
    +
    +
    +

    + + Toastr Examples +

    +
    +
    + + + + +
    + For more examples look at + + https://codeseven.github.io/toastr/ +
    - -
    -
    -
    -

    - - Toastr Examples -

    -
    -
    - - - - -
    - For more examples look at - - https://codeseven.github.io/toastr/ - -
    -
    -
    +
    -
    - +
    - -
    - -
    - {% endblock content %} - - {% block javascripts %} - - - - - - - - - - - - - + + + + + + + + + + + - {% endblock javascripts %} + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/ui-navbar.html b/tests/jinja_adminlte/ui-navbar.html index aa6408f..546f610 100644 --- a/tests/jinja_adminlte/ui-navbar.html +++ b/tests/jinja_adminlte/ui-navbar.html @@ -2,1115 +2,1097 @@ {% block title %}UI Navbar {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    + +{% block stylesheets %} + + + + + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    + Navbar & Tabs + + new + +

    +
    +
    +

    -
    -
    - -
    + +
    - -
    - -
    -
    -
    -
    -
    -
    -

    - - Navbar Examples -

    -
    -
    -
    -
    -

    - Default Navbar - - (navbar-light) - -

    - -
    -
    -

    - Default Navbar - - (navbar-white navbar-light) - -

    - -
    -
    -
    -
    -

    - Primary Navbar - - - recommended - - (navbar-primary navbar-dark) - -

    - -
    -
    -

    - Primary Navbar - - (navbar-primary navbar-light) - -

    - -
    -
    -
    -
    -

    - Orange Navbar - - - recommended - - (navbar-orange navbar-light) - -

    - -
    -
    -

    - Orange Navbar - - (navbar-orange navbar-dark) - -

    - -
    -
    -
    - +
    + +
    + +
    +
    +
    +
    +
    +
    +

    + + Navbar Examples +

    -
    - -
    - -
    -
    -

    - Nav Tabs inside Card Header - - card-tabs / card-outline-tabs - -

    -
    -
    - -
    -
    -
    - -
    -
    -
    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    -
    - Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. -
    -
    - Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    -
    -
    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    -
    - Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. -
    -
    - Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    -
    - Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. -
    -
    - Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. -
    -
    -
    - -
    -
    -
    -
    - -
    -
    -
    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    -
    - Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. -
    -
    - Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. -
    -
    -
    - -
    -
    -
    -
    -
    -

    Nav Tabs Overlay for loading

    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    - Loading... +
    +
    +
    +

    + Default Navbar + + (navbar-light) + +

    +
    -
    -
    -
    -
    - -
    - Loading... + + +
    +
    +

    + Default Navbar + + (navbar-white navbar-light) + +

    +
    -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    + + +
    +
    +
    +
    +

    + Primary Navbar + + + recommended + + (navbar-primary navbar-dark) + +

    + +
    +
    +

    + Primary Navbar + + (navbar-primary navbar-light) + +

    + +
    +
    +
    +
    +

    + Orange Navbar + + + recommended + + (navbar-orange navbar-light) + +

    + +
    +
    +

    + Orange Navbar + + (navbar-orange navbar-dark) + +

    +
    -
    +
    - -
    -
    -

    - - Vertical Tabs Examples -

    -
    -
    -

    Left Sided

    -
    -
    - + +
    +
    +

    + Nav Tabs inside Card Header + + card-tabs / card-outline-tabs + +

    +
    +
    + +
    +
    +
    + +
    +
    +
    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur.
    -
    -
    -
    -
    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    -
    - Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. -
    -
    - Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. -
    +
    + Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. +
    +
    + Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. +
    +
    + Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis.
    -

    - Right Sided - - (nav-tabs-right) - -

    -
    -
    -
    -
    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    -
    - Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. -
    -
    - Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. -
    -
    -
    -
    - +
    +
    +
    +
    + +
    +
    +
    +
    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. +
    +
    + Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. +
    +
    + Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. +
    +
    + Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. +
    +
    +
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. +
    +
    + Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. +
    +
    + Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. +
    +
    + Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. +
    +
    + Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. +
    +
    + Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. +
    +
    + Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. +
    +
    +
    + +
    +
    +
    +
    +
    +

    Nav Tabs Overlay for loading

    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + +
    + Loading... +
    +
    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. +
    +
    +
    +
    +
    + +
    + Loading... +
    +
    + Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. +
    +
    +
    + Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. +
    +
    +
    + +
    +
    +
    + +
    +
    +

    + + Vertical Tabs Examples +

    +
    +
    +

    Left Sided

    +
    + +
    +
    +
    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. +
    +
    + Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. +
    +
    + Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. +
    +
    + Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis.
    - -
    - -
    -
    -

    - - Tabs Custom Content Examples -

    -
    -
    -

    Custom Content Below

    - -
    -
    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    -
    - Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. -
    -
    - Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. -
    -
    -
    -

    - Custom Content goes here -

    -
    -

    - Custom Content Above -

    - -
    -

    - Custom Content goes here -

    -
    -
    -
    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. -
    -
    - Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. -
    -
    - Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. -
    -
    - Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis.
    -
    - -
    - -
    - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + +
    +
    +

    + + Tabs Custom Content Examples +

    +
    +
    +

    Custom Content Below

    + +
    +
    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. +
    +
    + Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. +
    +
    + Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. +
    +
    + Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. +
    +
    +
    +

    + Custom Content goes here +

    +
    +

    + Custom Content Above +

    + +
    +

    + Custom Content goes here +

    +
    +
    +
    + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada lacus ullamcorper dui molestie, sit amet congue quam finibus. Etiam ultricies nunc non magna feugiat commodo. Etiam odio magna, mollis auctor felis vitae, ullamcorper ornare ligula. Proin pellentesque tincidunt nisi, vitae ullamcorper felis aliquam id. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin id orci eu lectus blandit suscipit. Phasellus porta, ante et varius ornare, sem enim sollicitudin eros, at commodo leo est vitae lacus. Etiam ut porta sem. Proin porttitor porta nisl, id tempor risus rhoncus quis. In in quam a nibh cursus pulvinar non consequat neque. Mauris lacus elit, condimentum ac condimentum at, semper vitae lectus. Cras lacinia erat eget sapien porta consectetur. +
    +
    + Mauris tincidunt mi at erat gravida, eget tristique urna bibendum. Mauris pharetra purus ut ligula tempor, et vulputate metus facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas sollicitudin, nisi a luctus interdum, nisl ligula placerat mi, quis posuere purus ligula eu lectus. Donec nunc tellus, elementum sit amet ultricies at, posuere nec nunc. Nunc euismod pellentesque diam. +
    +
    + Morbi turpis dolor, vulputate vitae felis non, tincidunt congue mauris. Phasellus volutpat augue id mi placerat mollis. Vivamus faucibus eu massa eget condimentum. Fusce nec hendrerit sem, ac tristique nulla. Integer vestibulum orci odio. Cras nec augue ipsum. Suspendisse ut velit condimentum, mattis urna a, malesuada nunc. Curabitur eleifend facilisis velit finibus tristique. Nam vulputate, eros non luctus efficitur, ipsum odio volutpat massa, sit amet sollicitudin est libero sed ipsum. Nulla lacinia, ex vitae gravida fermentum, lectus ipsum gravida arcu, id fermentum metus arcu vel metus. Curabitur eget sem eu risus tincidunt eleifend ac ornare magna. +
    +
    + Pellentesque vestibulum commodo nibh nec blandit. Maecenas neque magna, iaculis tempus turpis ac, ornare sodales tellus. Mauris eget blandit dolor. Quisque tincidunt venenatis vulputate. Morbi euismod molestie tristique. Vestibulum consectetur dolor a vestibulum pharetra. Donec interdum placerat urna nec pharetra. Etiam eget dapibus orci, eget aliquet urna. Nunc at consequat diam. Nunc et felis ut nisl commodo dignissim. In hac habitasse platea dictumst. Praesent imperdiet accumsan ex sit amet facilisis. +
    +
    +
    + +
    + + + + + + + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/ui-ribbons.html b/tests/jinja_adminlte/ui-ribbons.html index c2ecca8..c8ff433 100644 --- a/tests/jinja_adminlte/ui-ribbons.html +++ b/tests/jinja_adminlte/ui-ribbons.html @@ -2,213 +2,207 @@ {% block title %}UI Ribbons {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    Ribbons

    -
    -
    - -
    + +{% block stylesheets %} + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    Ribbons

    +
    +
    +
    - -
    - -
    -
    -
    -
    -
    -
    -

    Ribbons

    -
    - -
    -
    -
    -
    -
    -
    - Ribbon -
    -
    - Ribbon Default -
    - - .ribbon-wrapper.ribbon-lg .ribbon - -
    -
    -
    -
    -
    -
    - Ribbon Large -
    -
    - Ribbon Large -
    - - .ribbon-wrapper.ribbon-lg .ribbon - -
    -
    -
    -
    -
    -
    - Ribbon Extra Large -
    -
    - Ribbon Extra Large -
    - - .ribbon-wrapper.ribbon-xl .ribbon - -
    -
    -
    -
    -
    -
    -
    -
    - Ribbon -
    -
    - Ribbon Large -
    - with Large Text -
    - - .ribbon-wrapper.ribbon-lg .ribbon.text-lg - -
    -
    -
    -
    -
    -
    - Ribbon -
    -
    - Ribbon Extra Large -
    - with Large Text -
    - - .ribbon-wrapper.ribbon-xl .ribbon.text-lg - -
    -
    -
    -
    -
    -
    - Ribbon -
    -
    - Ribbon Extra Large -
    - with Extra Large Text -
    - - .ribbon-wrapper.ribbon-xl .ribbon.text-xl - -
    -
    -
    -
    -
    -
    - Photo 1 -
    -
    - Ribbon -
    -
    -
    -
    -
    -
    - Photo 2 -
    -
    - Ribbon -
    -
    -
    -
    -
    -
    - Photo 3 -
    -
    - Ribbon -
    -
    -
    -
    -
    -
    - -
    - -
    - -
    - +
    + +
    + +
    +
    +
    +
    +
    +
    +

    Ribbons

    - -
    - + +
    +
    +
    +
    +
    +
    + Ribbon +
    +
    + Ribbon Default +
    + + .ribbon-wrapper.ribbon-lg .ribbon + +
    +
    +
    +
    +
    +
    + Ribbon Large +
    +
    + Ribbon Large +
    + + .ribbon-wrapper.ribbon-lg .ribbon + +
    +
    +
    +
    +
    +
    + Ribbon Extra Large +
    +
    + Ribbon Extra Large +
    + + .ribbon-wrapper.ribbon-xl .ribbon + +
    +
    +
    +
    +
    +
    +
    +
    + Ribbon +
    +
    + Ribbon Large +
    + with Large Text +
    + + .ribbon-wrapper.ribbon-lg .ribbon.text-lg + +
    +
    +
    +
    +
    +
    + Ribbon +
    +
    + Ribbon Extra Large +
    + with Large Text +
    + + .ribbon-wrapper.ribbon-xl .ribbon.text-lg + +
    +
    +
    +
    +
    +
    + Ribbon +
    +
    + Ribbon Extra Large +
    + with Extra Large Text +
    + + .ribbon-wrapper.ribbon-xl .ribbon.text-xl + +
    +
    +
    +
    +
    +
    + Photo 1 +
    +
    + Ribbon +
    +
    +
    +
    +
    +
    + Photo 2 +
    +
    + Ribbon +
    +
    +
    +
    +
    +
    + Photo 3 +
    +
    + Ribbon +
    +
    +
    +
    +
    +
    + +
    +
    - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - - - - - + + + + + + + + + + + - {% endblock javascripts %} + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/ui-sliders.html b/tests/jinja_adminlte/ui-sliders.html index 1897d16..8475f89 100644 --- a/tests/jinja_adminlte/ui-sliders.html +++ b/tests/jinja_adminlte/ui-sliders.html @@ -2,299 +2,299 @@ {% block title %}UI Sliders {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    Sliders

    -
    -
    - -
    + +{% block stylesheets %} + + + + + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    Sliders

    +
    +
    +
    - -
    - -
    -
    -
    -
    -
    -
    -

    Ion Slider

    -
    - -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    -
    - +
    + +
    + +
    +
    +
    +
    +
    +
    +

    Ion Slider

    - -
    - -
    - -
    -
    -
    -
    -

    Bootstrap Slider

    -
    - -
    -
    -
    -
    - -
    -

    - .slider-red input.slider -

    -
    - -
    -

    - .slider-blue input.slider -

    -
    - -
    -

    - .slider-green input.slider -

    -
    - -
    -

    - .slider-yellow input.slider -

    -
    - -
    -

    - .slider-teal input.slider -

    -
    - -
    -

    - .slider-purple input.slider -

    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    + +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    -
    - +
    - +
    - +
    - -
    - -
    - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - - - - - + + + + + + + + + + + - {% endblock javascripts %} + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/ui-timeline.html b/tests/jinja_adminlte/ui-timeline.html index afafa18..bdd4dd4 100644 --- a/tests/jinja_adminlte/ui-timeline.html +++ b/tests/jinja_adminlte/ui-timeline.html @@ -2,193 +2,193 @@ {% block title %}UI Timeline {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    Timeline

    -
    -
    - -
    + +{% block stylesheets %} + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    Timeline

    +
    +
    +
    - -
    - -
    -
    - -
    -
    - -
    - -
    - 10 Feb. 2014 -
    - - -
    - -
    - - - 12:05 - -

    - Support Team - sent you an email -

    -
    - Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, - weebly ning heekya handango imeem plugg dopplr jibjab, movity - jajah plickers sifteo edmodo ifttt zimbra. Babblely odeo kaboodle - quora plaxo ideeli hulu weebly balihoo... -
    - -
    -
    - - -
    - -
    - - - 5 mins ago - -

    - Sarah Young - accepted your friend request -

    -
    -
    - - -
    - -
    - - - 27 mins ago - -

    - Jay White - commented on your post -

    -
    - Take me to your leader! - Switzerland is small and neutral! - We are more like Germany, ambitious and misunderstood! -
    - -
    -
    - - -
    - 3 Jan. 2014 -
    - - -
    - -
    - - - 2 days ago - -

    - Mina Lee - uploaded new photos -

    -
    - ... - ... - ... - ... - ... -
    -
    -
    - - -
    - -
    - - - 5 days ago - -

    - - Mr. Doe - - shared a video -

    -
    -
    - -
    -
    - -
    -
    - -
    - -
    -
    -
    - -
    -
    - -
    - +
    + +
    + +
    +
    + +
    +
    + +
    + +
    + 10 Feb. 2014
    - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} + + +
    + +
    + + + 12:05 + +

    + Support Team + sent you an email +

    +
    + Etsy doostang zoodles disqus groupon greplin oooj voxy zoodles, + weebly ning heekya handango imeem plugg dopplr jibjab, movity + jajah plickers sifteo edmodo ifttt zimbra. Babblely odeo kaboodle + quora plaxo ideeli hulu weebly balihoo... +
    + +
    +
    + + +
    + +
    + + + 5 mins ago + +

    + Sarah Young + accepted your friend request +

    +
    +
    + + +
    + +
    + + + 27 mins ago + +

    + Jay White + commented on your post +

    +
    + Take me to your leader! + Switzerland is small and neutral! + We are more like Germany, ambitious and misunderstood! +
    + +
    +
    + + +
    + 3 Jan. 2014 +
    + + +
    + +
    + + + 2 days ago + +

    + Mina Lee + uploaded new photos +

    +
    + ... + ... + ... + ... + ... +
    +
    +
    + + +
    + +
    + + + 5 days ago + +

    + + Mr. Doe + + shared a video +

    +
    +
    + +
    +
    + +
    +
    + +
    + +
    +
    +
    + +
    +
    + +
    + +
    + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %} diff --git a/tests/jinja_adminlte/widgets.html b/tests/jinja_adminlte/widgets.html index 8b94fc1..e03e431 100644 --- a/tests/jinja_adminlte/widgets.html +++ b/tests/jinja_adminlte/widgets.html @@ -2,2912 +2,2834 @@ {% block title %}Widgets {% endblock %} {% block body_class %}{% endblock body_class %} - - {% block stylesheets %} - - - - - - - - - {% endblock stylesheets %} - {% block content %} - -
    - -
    -
    -
    -
    -

    Widgets

    -
    -
    - -
    + +{% block stylesheets %} + + + + + + + + +{% endblock stylesheets %} +{% block content %} + +
    + +
    +
    +
    +
    +

    Widgets

    +
    +
    +
    - -
    - -
    -
    -
    Info Box
    -
    -
    -
    - - - -
    - Messages - 1,410 -
    - +
    + +
    + +
    +
    +
    Info Box
    +
    +
    +
    + + + +
    + Messages + 1,410
    - +
    - -
    -
    - - - -
    - Bookmarks - 410 -
    - -
    - -
    - -
    -
    - - - -
    - Uploads - 13,648 -
    - -
    - -
    - -
    -
    - - - -
    - Likes - 93,139 -
    - -
    - -
    - +
    - - -
    - Info Box With Custom Shadows - - - Using Bootstrap's Shadow Utility - - -
    -
    -
    -
    - - - -
    - - Custom Shadows - None - - -
    - + +
    +
    + + + +
    + Bookmarks + 410
    - +
    - -
    -
    - - - -
    - - Custom Shadows - Small - - -
    - -
    - -
    - -
    -
    - - - -
    - - Custom Shadows - Regular - - -
    - -
    - -
    - -
    -
    - - - -
    - - Custom Shadows - Large - - -
    - -
    - -
    - +
    - - -
    - Info Box With - - bg-* - -
    -
    -
    -
    - - + +
    +
    + + + +
    + Uploads + 13,648 +
    + +
    + +
    + +
    +
    + + + +
    + Likes + 93,139 +
    + +
    + +
    + +
    + + +
    + Info Box With Custom Shadows + + + Using Bootstrap's Shadow Utility + + +
    +
    +
    +
    + + + +
    + + Custom Shadows - None -
    - - Bookmarks - - - 41,410 - -
    -
    -
    - - 70% Increase in 30 Days - -
    - +
    - +
    - -
    -
    - - + +
    + +
    +
    + + + +
    + + Custom Shadows - Small -
    - - Likes - - - 41,410 - -
    -
    -
    - - 70% Increase in 30 Days - -
    - +
    - +
    - -
    -
    - - + +
    + +
    +
    + + + +
    + + Custom Shadows - Regular -
    - - Events - - - 41,410 - -
    -
    -
    - - 70% Increase in 30 Days - -
    - +
    - +
    - -
    -
    - - + +
    + +
    +
    + + + +
    + + Custom Shadows - Large -
    - - Comments - - - 41,410 - -
    -
    -
    - - 70% Increase in 30 Days - -
    - +
    - +
    - +
    - - -
    - Info Box With - - bg-gradient-* - -
    -
    -
    -
    - - + +
    + + +
    + Info Box With + + bg-* + +
    +
    +
    +
    + + + +
    + + Bookmarks -
    - - Bookmarks - - - 41,410 - -
    -
    -
    - - 70% Increase in 30 Days - -
    - -
    - -
    - -
    -
    - - + + 41,410 -
    - - Likes - - - 41,410 - -
    -
    -
    - - 70% Increase in 30 Days - +
    +
    - -
    - -
    - -
    -
    - - + + 70% Increase in 30 Days -
    - - Events - - - 41,410 - -
    -
    -
    - - 70% Increase in 30 Days - -
    -
    - +
    - -
    -
    - - + +
    + +
    +
    + + + +
    + + Likes -
    - - Comments - - - 41,410 - -
    -
    -
    - - 70% Increase in 30 Days + + 41,410 + +
    +
    +
    + + 70% Increase in 30 Days + +
    + +
    + +
    + +
    +
    + + + +
    + + Events + + + 41,410 + +
    +
    +
    + + 70% Increase in 30 Days + +
    + +
    + +
    + +
    +
    + + + +
    + + Comments + + + 41,410 + +
    +
    +
    + + 70% Increase in 30 Days + +
    + +
    + +
    + +
    + + +
    + Info Box With + + bg-gradient-* + +
    +
    +
    +
    + + + +
    + + Bookmarks + + + 41,410 + +
    +
    +
    + + 70% Increase in 30 Days + +
    + +
    + +
    + +
    +
    + + + +
    + + Likes + + + 41,410 + +
    +
    +
    + + 70% Increase in 30 Days + +
    + +
    + +
    + +
    +
    + + + +
    + + Events + + + 41,410 + +
    +
    +
    + + 70% Increase in 30 Days + +
    + +
    + +
    + +
    +
    + + + +
    + + Comments + + + 41,410 + +
    +
    +
    + + 70% Increase in 30 Days + +
    + +
    + +
    + +
    + + + +
    + Small Box +
    +
    +
    + +
    +
    +

    150

    +

    + New Orders +

    +
    +
    + +
    + + More info + + +
    +
    + +
    + +
    +
    +

    + 53 + + % + +

    +

    + Bounce Rate +

    +
    +
    + +
    + + More info + + +
    +
    + +
    + +
    +
    +

    44

    +

    + User Registrations +

    +
    +
    + +
    + + More info + + +
    +
    + +
    + +
    +
    +

    65

    +

    + Unique Visitors +

    +
    +
    + +
    + + More info + + +
    +
    + +
    + + +
    +
    + +
    + +
    + +
    + +
    +

    150

    +

    + New Orders +

    +
    +
    + +
    + + More info + + +
    +
    + +
    + +
    + +
    + +
    + +
    +

    + 53 + + % + +

    +

    + Bounce Rate +

    +
    +
    + +
    + + More info + + +
    +
    + +
    + + +

    + Cards +

    +
    + Abilities +
    +
    +
    +
    +
    +

    + Expandable +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Collapsable +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Removable +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Maximizable +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    + +
    +
    +
    +
    +

    + Card Refresh +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + The body of the card after card refresh +
    +
    + +
    +
    +
    +

    + All together +

    +
    + + + + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Loading state +

    +
    +
    + The body of the card +
    + + +
    + +
    + +
    + +
    + +
    +
    +
    +

    + Loading state (dark) +

    +
    +
    + The body of the card +
    + + +
    + +
    + +
    + +
    + +
    + + +
    + Custom Shadows Variations + + + Using Bootstrap's Shadow Utility + + +
    +
    +
    +
    +
    +

    + Shadow - None +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Shadow - Small +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Shadow - Regular +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Shadow - Large +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    + + +
    + Colors Variations +
    +
    +
    +
    +
    +

    + Primary +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Success +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Warning +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Danger +

    +
    +
    + The body of the card +
    + +
    + +
    + +
    + +
    +
    +
    +
    +

    + Primary Outline +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Success Outline +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Warning Outline +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Danger Outline +

    +
    +
    + The body of the card +
    + +
    + +
    + +
    + +
    +
    +
    +
    +

    + Primary +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Success +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Warning +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Danger +

    +
    +
    + The body of the card +
    + +
    + +
    + +
    + +
    +
    +
    +
    +

    + Primary Gradient +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Success Gradient +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Warning Gradient +

    +
    + +
    + +
    + +
    + The body of the card +
    + +
    + +
    + +
    +
    +
    +

    + Danger Gradient +

    +
    +
    + The body of the card +
    + +
    + +
    + +
    + + + +

    + Direct Chat +

    +
    +
    + +
    +
    +

    + Direct Chat +

    +
    + + 3 + + +
    -
    - -
    - -
    - - - -
    - Small Box -
    -
    -
    - -
    -
    -

    150

    -

    - New Orders -

    -
    -
    - -
    - - More info - - -
    -
    - -
    - -
    -
    -

    - 53 - - % - -

    -

    - Bounce Rate -

    -
    -
    - -
    - - More info - - -
    -
    - -
    - -
    -
    -

    44

    -

    - User Registrations -

    -
    -
    - -
    - - More info - - -
    -
    - -
    - -
    -
    -

    65

    -

    - Unique Visitors -

    -
    -
    - -
    - - More info - - -
    -
    - -
    - - -
    -
    - -
    - -
    - -
    - -
    -

    150

    -

    - New Orders -

    -
    -
    - -
    - - More info - - -
    -
    - -
    - -
    - -
    - -
    - -
    -

    - 53 - - % - -

    -

    - Bounce Rate -

    -
    -
    - -
    - - More info - - -
    -
    - -
    - - -

    - Cards -

    -
    - Abilities -
    -
    -
    -
    -
    -

    - Expandable -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Collapsable -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Removable -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Maximizable -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    - -
    -
    -
    -
    -

    - Card Refresh -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - The body of the card after card refresh -
    -
    - -
    -
    -
    -

    - All together -

    -
    - - - - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Loading state -

    -
    -
    - The body of the card -
    - - -
    - -
    - -
    - -
    - -
    -
    -
    -

    - Loading state (dark) -

    -
    -
    - The body of the card -
    - - -
    - -
    - -
    - -
    - -
    - - -
    - Custom Shadows Variations - - - Using Bootstrap's Shadow Utility - - -
    -
    -
    -
    -
    -

    - Shadow - None -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Shadow - Small -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Shadow - Regular -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Shadow - Large -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    - - -
    - Colors Variations -
    -
    -
    -
    -
    -

    - Primary -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Success -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Warning -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Danger -

    -
    -
    - The body of the card -
    - -
    - -
    - -
    - -
    -
    -
    -
    -

    - Primary Outline -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Success Outline -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Warning Outline -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Danger Outline -

    -
    -
    - The body of the card -
    - -
    - -
    - -
    - -
    -
    -
    -
    -

    - Primary -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Success -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Warning -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Danger -

    -
    -
    - The body of the card -
    - -
    - -
    - -
    - -
    -
    -
    -
    -

    - Primary Gradient -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Success Gradient -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Warning Gradient -

    -
    - -
    - -
    - -
    - The body of the card -
    - -
    - -
    - -
    -
    -
    -

    - Danger Gradient -

    -
    -
    - The body of the card -
    - -
    - -
    - -
    - - - -

    - Direct Chat -

    -
    -
    - -
    -
    -

    - Direct Chat -

    -
    - - 3 - - - - -
    -
    - -
    - -
    - -
    -
    - - Alexander Pierce - - - 23 Jan 2:00 pm - -
    - - Message User Image - -
    - Is this template really for free? That's unbelievable! -
    - -
    - - -
    -
    - - Sarah Bullock - - - 23 Jan 2:05 pm - -
    - - Message User Image - -
    - You better believe it! -
    - -
    - -
    - - - - -
    - - - + +
    + +
    + +
    +
    + + Alexander Pierce + + + 23 Jan 2:00 pm +
    - + + Message User Image + +
    + Is this template really for free? That's unbelievable! +
    + +
    + + +
    +
    + + Sarah Bullock + + + 23 Jan 2:05 pm + +
    + + Message User Image + +
    + You better believe it! +
    + +
    + +
    + + + + +
    + + + +
    + +
    + +
    + +
    +
    +

    + Direct Chat +

    +
    + + 3 + + + + +
    +
    + +
    + +
    + +
    +
    + + Alexander Pierce + + + 23 Jan 2:00 pm + +
    + + Message User Image + +
    + Is this template really for free? That's unbelievable! +
    + +
    + + +
    +
    + + Sarah Bullock + + + 23 Jan 2:05 pm + +
    + + Message User Image + +
    + You better believe it! +
    + +
    + +
    + + + + +
    + + + +
    + +
    + +
    + +
    +
    +

    + Direct Chat +

    +
    + + 3 + + + + +
    +
    + +
    + +
    + +
    +
    + + Alexander Pierce + + + 23 Jan 2:00 pm + +
    + + Message User Image + +
    + Is this template really for free? That's unbelievable! +
    + +
    + + +
    +
    + + Sarah Bullock + + + 23 Jan 2:05 pm + +
    + + Message User Image + +
    + You better believe it! +
    + +
    + +
    + + + + +
    + + + +
    + +
    + +
    + +
    +
    +

    + Direct Chat +

    +
    + + 3 + + + + +
    +
    + +
    + +
    + +
    +
    + + Alexander Pierce + + + 23 Jan 2:00 pm + +
    + + Message User Image + +
    + Is this template really for free? That's unbelievable! +
    + +
    + + +
    +
    + + Sarah Bullock + + + 23 Jan 2:05 pm + +
    + + Message User Image + +
    + You better believe it! +
    + +
    + +
    + + + + +
    + + + +
    + +
    + +
    + + +
    + Custom Shadows Variations + + + Using Bootstrap's Shadow Utility + + +
    +
    +
    + +
    +
    +

    + Shadow - None +

    +
    + + 3 + + + + +
    +
    + +
    + +
    + +
    +
    + + Alexander Pierce + + + 23 Jan 2:00 pm + +
    + + Message User Image + +
    + Is this template really for free? That's unbelievable! +
    + +
    + + +
    +
    + + Sarah Bullock + + + 23 Jan 2:05 pm + +
    + + Message User Image + +
    + You better believe it! +
    + +
    + +
    + + + + +
    + + + +
    + +
    + +
    + +
    +
    +

    + Shadow - Small +

    +
    + + 3 + + + + +
    +
    + +
    + +
    + +
    +
    + + Alexander Pierce + + + 23 Jan 2:00 pm + +
    + + Message User Image + +
    + Is this template really for free? That's unbelievable! +
    + +
    + + +
    +
    + + Sarah Bullock + + + 23 Jan 2:05 pm + +
    + + Message User Image + +
    + You better believe it! +
    + +
    + +
    + + + + +
    + + + +
    + +
    + +
    + +
    +
    +

    + Shadow - Regular +

    +
    + + 3 + + + + +
    +
    + +
    + +
    + +
    +
    + + Alexander Pierce + + + 23 Jan 2:00 pm + +
    + + Message User Image + +
    + Is this template really for free? That's unbelievable! +
    + +
    + + +
    +
    + + Sarah Bullock + + + 23 Jan 2:05 pm + +
    + + Message User Image + +
    + You better believe it! +
    + +
    + +
    + + + + +
    + + + +
    + +
    + +
    + +
    +
    +

    + Shadow - Large +

    +
    + + 3 + + + + +
    +
    + +
    + +
    + +
    +
    + + Alexander Pierce + + + 23 Jan 2:00 pm + +
    + + Message User Image + +
    + Is this template really for free? That's unbelievable! +
    + +
    + + +
    +
    + + Sarah Bullock + + + 23 Jan 2:05 pm + +
    + + Message User Image + +
    + You better believe it! +
    + +
    + +
    + + + + +
    + + + +
    + +
    + +
    + +

    + Social Widgets +

    +
    +
    + +
    + +
    +
    + User Avatar +
    + +

    + Nadia Carmichael +

    +
    + Lead Developer +
    +
    + +
    + +
    + +
    + +
    + +
    +

    + Alexander Pierce +

    +
    + Founder & CEO +
    +
    +
    + User Avatar +
    + - -
    - - - - -
    - - {% endblock content %} - - {% block javascripts %} - - - - - - - - - {% endblock javascripts %} +
    +
    +
    + 13,000 +
    + + FOLLOWERS + +
    + +
    + +
    +
    +
    + 35 +
    + + PRODUCTS + +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    + +
    +

    + Elizabeth Pierce +

    +
    + Web Designer +
    +
    +
    + User Avatar +
    + +
    + +
    + +
    + +
    +
    + +
    +
    +
    + User Image + + + Jonathan Burke Jr. + + + + Shared publicly - 7:30 PM Today + +
    + +
    + + + +
    + +
    + +
    + Photo +

    + I took this photo this morning. What do you guys think? +

    + + + + 127 likes - 3 comments + +
    + + + + + +
    + +
    + +
    + +
    +
    +
    + User Image + + + Jonathan Burke Jr. + + + + Shared publicly - 7:30 PM Today + +
    + +
    + + + +
    + +
    + +
    + +

    + Far far away, behind the word mountains, far from the + countries Vokalia and Consonantia, there live the blind + texts. Separated they live in Bookmarksgrove right at +

    +

    + the coast of the Semantics, a large language ocean. + A small river named Duden flows by their place and supplies + it with the necessary regelialia. It is a paradisematic + country, in which roasted parts of sentences fly into + your mouth. +

    + +
    + Attachment Image +
    +

    + + Lorem ipsum text generator + +

    +
    + Description about the attachment can be placed here. + Lorem Ipsum is simply dummy text of the printing and typesetting industry... + + more + +
    + +
    + +
    + + + + + + 45 likes - 2 comments + +
    + + + + + +
    + +
    + +
    + + +
    + Custom Shadows Variations + + + Using Bootstrap's Shadow Utility + + +
    +
    +
    + +
    + +
    +
    + User Avatar +
    + +

    + Nadia Carmichael +

    +
    + Lead Developer +
    +
    + +
    + +
    + +
    + +
    + +
    +

    + Alexander Pierce +

    +
    + Founder & CEO +
    +
    +
    + User Avatar +
    + +
    + +
    + +
    + +
    + +
    +

    + Elizabeth Pierce +

    +
    + Web Designer +
    +
    +
    + User Avatar +
    + +
    + +
    + +
    + +
    + +
    + + + + +
    + +{% endblock content %} + +{% block javascripts %} + + + + + + + + +{% endblock javascripts %}