Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove dashboard templates
IKarbowiak17b2650c3e13
diff --git a/templates/dashboard/base.html b/templates/dashboard/base.htmldeleted file mode 100644index 07ed7ab5c8..0000000000--- a/templates/dashboard/base.html+++ /dev/null@@ -1,280 +0,0 @@-<!DOCTYPE html>-{% load static i18n %}-{% load render_bundle from webpack_loader %}-{% load version %}-{% load serialize_messages from utils %}--<html lang="{{ LANGUAGE_CODE }}" class="no-js">- <head>- <title>- {% block title %}- {% blocktrans trimmed context "Dashboard default page title" with site_name=site.name %}- Dashboard - {{ site_name }}- {% endblocktrans %}- {% endblock %}- </title>- {% block meta %}- <meta charset="utf-8">- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">- <meta name="theme-color" content="#21915a" />- <meta name="robots" content="noindex, nofollow">- {% endblock meta %}-- {% include 'favicon.html' %}- {% render_bundle 'dashboard' 'css' %}- <link rel="stylesheet" type="text/css" href="{% static "versatileimagefield/css/versatileimagefield.css" %}">-- {% block custom_css %}{% endblock %}- </head>-- <body class="{% block body_class %}body-home{% endblock %}">- <header>- <nav class="top-nav" id="top-nav">- <div class="nav-wrapper">- <div class="right">- <ul id="user-action" class="dropdown-content">- <li class="user-name">- {{ request.user }}- </li>- <li class="divider"></li>- <li>- <a href="{% url 'home' %}" target="_blank" class="waves-effect">- {% trans "Visit storefront" context "Dashboard top navigation action" %}- </a>- </li>- <li>- <a href="{% url "dashboard:styleguide" %}" target="_blank" class="waves-effect">- {% trans "Style guide" context "Dashboard top navigation action" %}- </a>- </li>- <li>- <a href="{% url 'account:logout' %}" class="waves-effect">- {% trans "Log out" context "Dashboard top navigation action" %}- </a>- </li>- </ul>- <a class="dropdown-button" data-constrainwidth="false" href="#" data-activates="user-action">- <svg data-src="{% static "dashboard/images/account-circle.svg" %}" width="24" height="24" fill="#fff" />- </a>- {% if SEARCH_IS_ENABLED %}- <a href="{% url "dashboard:search" %}" class="dropdown-button hide-on-med-and-up" id="btn-search">- <svg data-src="{% static "dashboard/images/search.svg" %}" width="24" height="24" fill="#fff" />- </a>- {% endif %}- </div>- <ul class="left">- <li>- <a href="#" id="toggle-menu">- <svg data-src="{% static "dashboard/images/mobile-menu.svg" %}" width="24" height="24" />- </a>- </li>- <li>- <a href="{% url 'dashboard:index' %}" class="logo">- <svg data-src="{% static "images/logo-white.svg" %}" height="38px" width="176px" />- </a>- </li>- <li class="search">- {% if SEARCH_IS_ENABLED %}- <form method="get" action="{% url "dashboard:search" %}">- <a class="hide-on-med-and-up" id="btn-search-close"></a>- <div class="input-field d-inline">- <input id="search" type="search" placeholder="{% trans "Search" context "Dashboard search" %}" name="q" required value="{% if query %}{{ query }}{% endif %}">- <label class="hide-on-small-only">- <svg data-src="{% static "dashboard/images/search.svg" %}" width="24" height="24" fill="#fff" />- </label>- </div>- <a href="{% url "dashboard:search" %}" class="hide-on-med-and-up" id="btn-search-submit">- <svg data-src="{% static "dashboard/images/search.svg" %}" width="24" height="24" fill="#fff" />- </a>- </form>- {% endif %}- </li>- </ul>- <ul class="side-nav">- <li class="nav-home">- <a href="{% url 'dashboard:index' %}">- {% trans "Home" context "Dashboard homepage" %}- </a>- </li>- {% if perms.product.manage_products %}- <li class="side-nav-section" id="first">- <p>- {% trans "Catalogue" context "Dashboard catalogue" %}- </p>- <ul>- <li class="{% block menu_products_class %}{% endblock %}">- <a href="{% url 'dashboard:product-list' %}">- {% trans "Products" context "Dashboard products list" %}- </a>- </li>- <li class="{% block menu_categories_class %}{% endblock %}">- <a href="{% url 'dashboard:category-list' %}">- {% trans "Categories" context "Dashboard categories list" %}- </a>- </li>- <li class="{% block menu_collections_class %}{% endblock %}">- <a href="{% url 'dashboard:collection-list' %}">- {% trans "Collections" context "Dashboard side navigation link" %}- </a>- </li>- </ul>- </li>- {% endif %}- {% if perms.discount.manage_discounts %}- <li class="side-nav-section">- <p>- {% trans "Discounts" context "Dashboard discounts list" %}- </p>- <ul>- <li class="{% block menu_sales_class %}{% endblock %}">- <a href="{% url 'dashboard:sale-list' %}">- {% trans "Sales" context "Dashboard sales (discounts) list" %}- </a>- </li>- <li class="{% block menu_vouchers_class %}{% endblock %}">- <a href="{% url 'dashboard:voucher-list' %}">- {% trans "Vouchers" context "Dashboard vouchers list" %}- </a>- </li>- </ul>- </li>- {% endif %}- {% if perms.order.manage_orders or perms.account.manage_users %}- <li class="side-nav-section">- <p>- {% trans "Sales" context "Dashboard sales. `Sales' is noun of to sell" %}- </p>- <ul>- {% if perms.order.manage_orders %}- <li class="{% block menu_orders_class %}{% endblock %}">- <a href="{% url 'dashboard:orders' %}">- {% trans "Orders" context "Dashboard orders list" %}- </a>- </li>- {% endif %}- {% if perms.account.manage_users %}- <li class="{% block menu_customers_class %}{% endblock %}">- <a href="{% url 'dashboard:customers' %}">- {% trans "Customers" context "Dashboard customers list" %}- </a>- </li>- {% endif %}- </ul>- </li>- {% endif %}- {% if perms.account.manage_staff %}- <li class="side-nav-section">- <p>- {% trans "Staff management" context "Management section" %}- </p>- <ul>- <li class="{% block menu_staff_class %}{% endblock %}">- <a href="{% url 'dashboard:staff-list' %}">- {% trans "Staff members" context "Dashboard staff members list" %}- </a>- </li>- </ul>- </li>- {% endif %}- {% if perms.site.manage_settings or perms.shipping.manage_shipping or perms.product.manage_products or perms.page.manage_pages or perms.extensions.manage_plugins %}- <li class="side-nav-section">- <p>- {% trans "Configuration" context "Dashboard configuration" %}- </p>- <ul>- {% if perms.product.manage_products %}- <li class="{% block menu_product_types_class %}{% endblock %}">- <a href="{% url 'dashboard:product-type-list' %}">- {% trans "Product types" context "Dashboard product types list" %}- </a>- </li>- <li class="{% block menu_attributes_class %}{% endblock %}">- <a href="{% url 'dashboard:attributes' %}">- {% trans "Attributes" context "Dashboard attributes list" %}- </a>- </li>- {% endif %}- {% if perms.shipping.manage_shipping %}- <li class="{% block menu_delivery_class %}{% endblock %}">- <a href="{% url 'dashboard:shipping-zone-list' %}">- {% trans "Shipping" context "Dashboard shipping zones list" %}- </a>- </li>- {% endif %}- {% if perms.menu.manage_menus %}- <li class="{% block menu_menus_class %}{% endblock %}">- <a href="{% url 'dashboard:menu-list' %}">- {% trans "Navigation" context "Dashboard menus list" %}- </a>- </li>- {% endif %}- {% if perms.site.manage_settings %}- <li class="{% block menu_settings_class %}{% endblock %}">- <a href="{% url 'dashboard:site-index' %}">- {% trans "Site settings" context "Dashboard site settings" %}- </a>- </li>- {% endif %}- <li class="{% block menu_taxes_class %}{% endblock %}">- <a href="{% url 'dashboard:taxes' %}">- {% trans "Taxes" context "Dashboard taxes" %}- </a>- </li>- {% if perms.page.manage_pages %}- <li class="{% block menu_pages_class %}{% endblock %}">- <a href="{% url 'dashboard:page-list' %}">- {% trans "Pages" context "Dashboard static pages" %}- </a>- </li>- {% endif %}- {% if perms.extensions.manage_plugins %}- <li class="{% block menu_payments_class %}{% endblock %}">- <a href="{% url "dashboard:payments-index" %}">- {% trans "Payments configuration" context "Dashboard static pages" %}- </a>- </li>- {% endif %}- </ul>- </li>- <li class="side-nav-section" id="version-indicator">- <p>- {% trans "Release:" context "Dashboard software version" %} {% version %}- </p>- </li>- {% endif %}- </ul>- </div>- </nav>- </header>- <div class="subheader top-nav">- <div class="nav-wrapper container">- {% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- <a href="#">- {% trans "Home" context "Dashboard homepage" %}- </a>- </li>- </ul>- {% endblock %}- {% block header_extra %}{% endblock %}- </div>- </div>- <main class="main">- <div id="base-modal" class="modal"></div>- <div id="base-modal-fixed" class="modal modal-fixed-footer"></div>- <div class="container">- {% block content %}{% endblock %}- <div id="dashboard-app"></div>- </div>- </main>- <div id="messages-container" data-messages="{% serialize_messages %}"></div>-- <!-- Core Scripts - Include with every page -->- <script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>- {% render_bundle 'dashboard' 'js' %}- <script src="{% static "versatileimagefield/js/versatileimagefield.js" %}"></script>-- {% block custom_js %}{% endblock %}- </body>-</html>diff --git a/templates/dashboard/base_modal.html b/templates/dashboard/base_modal.htmldeleted file mode 100644index e44d05d43d..0000000000--- a/templates/dashboard/base_modal.html+++ /dev/null@@ -1,38 +0,0 @@-{% load i18n %}--<form- role="form" method="post" action="{% block action_url %}#!{% endblock %}"- class="{% block form_class %}form-async{% endblock %}" novalidate>- {% comment %}Empty form_class can be used for non-ajax forms with server redirect.{% endcomment %}- {% csrf_token %}- <div class="modal-content">- <div class="row">- <div class="col s12">- <h5>- {% block title %}{% endblock %}- </h5>- </div>- </div>- {% if form.non_field_errors %}- <div class="col 12">- {% for error in form.non_field_errors %}- <p class="help-block materialize-red-text">{{ error }}</p>- {% endfor %}- </div>- {% endif %}- <div class="row">- {% block content %}{% endblock %}- </div>- </div>- <div class="modal-footer">- <span class="left">- {% block actions_left %}{% endblock %}- </span>- <a href="#!" class="modal-action modal-close btn-flat waves-effect">- {% block cancel_action %} {% trans "Cancel" context "Dashboard cancel action" %} {% endblock %}- </a>- <button type="submit" class="modal-action btn-flat waves-effect">- {% block primary_action %}{% endblock %}- </button>- </div>-</form>diff --git a/templates/dashboard/base_zero_page.html b/templates/dashboard/base_zero_page.htmldeleted file mode 100644index a168d18324..0000000000--- a/templates/dashboard/base_zero_page.html+++ /dev/null@@ -1,8 +0,0 @@-<div class="card zero-page">- <div class="card-content">- <div class="zero-page__title">- {% block title %}{% endblock %}- </div>- <div class="zero-page__content">{% block content %}{% endblock %}</div>- </div>-</div>diff --git a/templates/dashboard/category/detail.html b/templates/dashboard/category/detail.htmldeleted file mode 100644index 3f03e0a0b3..0000000000--- a/templates/dashboard/category/detail.html+++ /dev/null@@ -1,163 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load mptt_tags %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}{% trans "Categories" context "Category list page title" %} -- {{ block.super }}{% endblock %}--{% block body_class %}body-categories{% endblock %}--{% block menu_categories_class %}active{% endblock %}--{% block header_menu %}- {% if root %}- {% if root.parent %}- {% url 'dashboard:category-details' pk=root.parent.pk as url %}- {% else %}- {% url 'dashboard:category-list' as url %}- {% endif %}- {% include "dashboard/includes/_back_link.html" with url=url %}- {% else %}- {{ block.super }}- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- {% if path %}- <li>- <a href="{% url 'dashboard:category-list' %}">- {% trans "Categories" context "Dashboard categories list" %}- </a>- </li>- {% else %}- <li class="visible-s">- <span>- {% trans "Categories" context "Dashboard categories list" %}- </span>- </li>- {% endif %}- {% if path %}- <li class="back-mobile">- <a href="{% url 'dashboard:category-list' %}">- <svg data-src="{% static 'dashboard/images/arrow-left.svg' %}" fill="#fff" width="20px" height="20px"/>- </a>- </li>- {% for node in path %}- {% if forloop.last %}- <li title="{{ node.name }}">- <span class="breadcrumbs--ellipsed-item">- {{ node.name }}- </span>- </li>- {% else %}- <li class="hide-on-med-and-down">- <a href="{% url 'dashboard:category-details' pk=node.pk %}" title="{{ node.name }}" class="breadcrumbs--ellipsed-item">- {{ node.name }}- </a>- </li>- {% endif %}- {% endfor %}- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- {% if root %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {{ root.name }}- </span>- <div class="row">- {% if root.description %}- <div class="col s12">- <h4>- {% trans "Description" context "Category field" %}- </h4>- <p>- {{ root.description }}- </p>- </div>- {% endif %}- </div>- </div>- <div class="card-action">- <a class="btn-flat waves-effect" href="{% url 'dashboard:category-edit' root_pk=root.pk %}">- {% trans "Edit category" context "Category detail view action" %}- </a>- <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url 'dashboard:category-delete' pk=root.pk %}">- {% trans "Remove category" context "Category detail view action" %}- </a>- </div>- </div>- <div class="card">- <div class="card-content">- <span class="card-title">- {% trans "Subcategories" context "Title of the subcategories list" %}- </span>- </div>- <div class="data-table-header-action">- <a href="{% if root%}{% url 'dashboard:category-add' root_pk=root.pk %}{% else %}{% url 'dashboard:category-add' %}{% endif %}" class="btn-data-table btn-flat waves-effect">- {% trans "Add" %}- </a>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table data-table-description">- <thead>- <tr>- {% trans "Name" context "Category list table header name" as label %}- {% sorting_header 'name' label %}-- {% trans "Description" context "Category list table header description" as label %}- {% sorting_header 'description' label is_wide=True %}-- <th></th>- </tr>- </thead>- <tbody>- {% for node in categories %}- <tr data-action-go="{% url 'dashboard:category-details' pk=node.pk %}">- <td>- {{ node.name }}- </td>- <td class="nowrap">- {% if node.description %}- {{ node.description|truncatewords:10 }}- {% else %}- - {% endif %}- </td>- <td class="right-align ignore-link">- <a href="{% url 'dashboard:category-edit' root_pk=node.pk %}" class="btn-flat waves-effect">- {% trans 'Edit' context 'Category edit action' %}- </a>- <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url 'dashboard:category-delete' pk=node.pk %}">- {% trans "Remove" context "Category list action link" %}- </a>- </td>- </tr>- {% empty %}- <tr>- <td colspan="2">{% trans "No subcategories" context "Empty list of categories" %}</td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate categories %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>- {% endif %}-{% endblock %}diff --git a/templates/dashboard/category/form.html b/templates/dashboard/category/form.htmldeleted file mode 100644index 6e63cf5144..0000000000--- a/templates/dashboard/category/form.html+++ /dev/null@@ -1,136 +0,0 @@-{% extends "dashboard/base.html" %}-{% load materializecss %}-{% load i18n %}-{% load mptt_tags %}-{% load static %}--{% block title %}- {% if category.pk %}- {% trans "Edit category" context "Category form page title" %} {{ category }}- {% else %}- {% trans "Add new category" context "Category detail page title" %}- {% endif %}- - {% trans "Categories" context "Dashboard categories list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-categories{% endblock %}--{% block menu_categories_class %}active{% endblock %}--{% block page_title %}- {% if category.pk %}- {{ category }}- {% else %}- {% trans "Add new category" context "Category form page title" %}- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:category-list' %}" class="breadcrumbs--ellipsed-item">- {% trans "Categories" context "Dashboard categories list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:category-list' %}" class="breadcrumbs--ellipsed-item">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- {% if path %}- <li class="back-mobile">- <a href="{% url 'dashboard:category-list' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px"/>- </a>- </li>- {% for node in path %}- {% if forloop.last %}- {% if node.pk %}- <li>- <a href="{% url 'dashboard:category-details' pk=node.pk %}" class="breadcrumbs--ellipsed-item">{{ node }}</a>- </li>- {% if category.pk %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Category form page title" %}- </span>- </li>- {% else %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new category" context "Category detail breadcrumbs" %}- </span>- </li>- {% endif %}- {% endif %}- {% else %}- <li class="hide-on-med-and-down">- <a href="{% url 'dashboard:category-details' pk=node.pk %}" title="{{ node.name }}" class="breadcrumbs--ellipsed-item">- {{ node.name }}- </a>- </li>- {% endif %}- {% endfor %}- {% else %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new category" context "Category detail breadcrumbs" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" id="form-category" enctype="multipart/form-data" novalidate>- <div class="card-content">- {% csrf_token %}- <div class="row">- {{ form.name|materializecss }}- </div>- <div class="row">- <div class="col s12">- <div class="row">- {{ form.description|materializecss }}- </div>- <div class="row">- {{ form.background_image|materializecss }}- </div>- <div class="row">- {{ form.background_image_alt|materializecss }}- </div>- {% include "dashboard/includes/_google_preview.html" with object=category form=form %}- </div>- </div>- </div>- <div class="card-action right-align">- {% if path %}- <a href="{% url 'dashboard:category-details' pk=path.last.pk %}" class="btn btn-flat">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% else %}- <a href="{% url 'dashboard:category-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% endif %}- {% if category.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/category/list.html b/templates/dashboard/category/list.htmldeleted file mode 100644index ac326b4e62..0000000000--- a/templates/dashboard/category/list.html+++ /dev/null@@ -1,94 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load mptt_tags %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Categories" context "Category list page title" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-categories{% endblock %}--{% block menu_categories_class %}active{% endblock %}--{% block header_menu %}- {{ block.super }}-{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a href="{% url 'dashboard:category-add' %}" class="btn-fab-default waves-effect waves-light" title="{% trans 'Add category' context 'Category list add button text' %}">- <svg data-src="{% static 'dashboard/images/add.svg' %}"/>- </a>- </div>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li class="visible-s">- <span>- {% trans "Categories" context "Dashboard categories list" %}- </span>- </li>- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if categories %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table data-table-description">- <thead>- <tr>- {% trans "Name" context "Category list table header name" as label %}- {% sorting_header 'name' label %}-- {% trans "Description" context "Category list table header description" as label %}- {% sorting_header 'description' label is_wide=True %}- </tr>- </thead>- <tbody>- {% for node in categories %}- <tr data-action-go="{% url 'dashboard:category-details' pk=node.pk %}">- <td>- {{ node.name }}- </td>- <td class="nowrap">- {% if node.description %}- {{ node.description|truncatewords:10 }}- {% else %}- - {% endif %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate categories %}- {% else %}- {% if is_empty %}- {% include 'dashboard/category/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No categories found." context "Empty category list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/category/modal/confirm_delete.html b/templates/dashboard/category/modal/confirm_delete.htmldeleted file mode 100644index adc6d217ae..0000000000--- a/templates/dashboard/category/modal/confirm_delete.html+++ /dev/null@@ -1,50 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load mptt_tags %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:category-delete" pk=category.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed with category=category context "Remove category modal title" %}- Remove category {{ category }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed with category=category context "Remove category modal title" %}- Are you sure you want to remove category <strong>{{ category }}</strong>?- {% endblocktrans %}- {% if descendants %}- <p>- {% trans "The following child categories will be removed:" context "Delete category form text about descendant categories" %}- <ul>- {% recursetree descendants %}- {{ node.name }},- {% if not node.is_leaf_node %}- {{ children }}- {% endif %}- {% endrecursetree %}- </ul>- </p>- {% endif %}- {% if products_count %}- <p>- {% blocktrans count counter=products_count trimmed context "Remove category form text about products" %}- There is one product in this category that will be set as unavailable.- {% plural %}- There are {{ counter }} products in this category that will be set as unavailable.- {% endblocktrans %}- </p>- {% endif %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/category/zero_page.html b/templates/dashboard/category/zero_page.htmldeleted file mode 100644index 02cf07b041..0000000000--- a/templates/dashboard/category/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No categories found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Categories are used to organize products into groups that are displayed in the navigation in the storefront.<br>- You can create categories by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/collection/confirm_delete.html b/templates/dashboard/collection/confirm_delete.htmldeleted file mode 100644index d9fc21658e..0000000000--- a/templates/dashboard/collection/confirm_delete.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url 'dashboard:collection-delete' pk=collection.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Modal remove collection text" %}- Remove collection {{ collection }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Modal remove collection text" %}- Are you sure you want to remove collection <strong>{{ collection }}</strong>?- {% endblocktrans %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/collection/form.html b/templates/dashboard/collection/form.htmldeleted file mode 100644index 606d657bde..0000000000--- a/templates/dashboard/collection/form.html+++ /dev/null@@ -1,131 +0,0 @@-{% extends 'dashboard/base.html' %}-{% load materializecss %}-{% load i18n %}-{% load static %}-{% load status %}--{% block title %}- {% if collection.pk %}{{ collection }}{% else %}{% trans 'Add new collection' %}{% endif %} - {% trans 'Collections' %} - {{ block.super }}{% endblock %}--{% block body_class %}body-collections{% endblock %}--{% block menu_collections_class %}active{% endblock %}--{% block page_title %}{% if collection.pk %}{{ collection }}{% else %}{% trans 'Add new collection' %}{% endif %}{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li><a href="{% url "dashboard:collection-list" %}" class="breadcrumb">{% trans "Collections" %}</a></li>- <li class="back-mobile">- <a href="{% url "dashboard:collection-list" %}" class="breadcrumb">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li><span class="breadcrumbs--ellipsed-item">{% if collection.pk %}{{ collection }}{% else %}{% trans 'Add new collection' %}{% endif %}</span></li>- </ul>-{% endblock %}--{% block header_extra %}- {% if collection.pk %}- <a class="dropdown-button right" href="#" data-activates="collection-delete" data-constrainwidth="false">- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- <ul id="collection-delete" class="dropdown-content">- <li>- <a class="modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:collection-delete' pk=collection.pk %}">- {% trans "Remove collection" context "Collection action" %}- </a>- </li>- <li>- <a href="{{ collection.get_absolute_url }}">- {% trans "View on site" context "Collection action" %}- </a>- </li>- </ul>- {% endif %}-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" id="form-collection" enctype="multipart/form-data" novalidate>- <div class="card-content card-content-form">- {% csrf_token %}- <div class="row">- {{ form.name|materializecss }}- </div>- <div class="row">- {{ form.products|materializecss }}- </div>- <div class="row">- {{ form.description|materializecss }}- </div>- <div class="row">- {{ form.background_image|materializecss }}- </div>- <div class="row">- {{ form.background_image_alt|materializecss }}- </div>- <span class="card-title">{% trans 'Availability' context 'Collection form card title: availability sub form' %}</span>- <div class="row">- {{ form.is_published|materializecss }}- </div>- <div class="row">- {{ form.publication_date|materializecss }}- </div>- {% include "dashboard/includes/_google_preview.html" with object=collection form=form %}- </div>- <div class="card-action right-align">- <a href="{% url 'dashboard:collection-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Collection secondary action" %}</a>- {% if collection.pk %}- <button type="submit" class="btn btn-flat primary">- {% trans "Update" context "Collection detail action" %}- </button>- {% else %}- <button type="submit" class="btn btn-flat primary">- {% trans "Create" context "Collection detail action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- {% if collection.pk %}- <div class="col s12 l3">- <div id="status">- <div class="row no-margin">- <div class="col s12">- <div class="card">- <div class="card-content">- <form id="toggle-publish-form" action="{% url 'dashboard:collection-publish' pk=collection.pk %}">- <div class="switch" id="collection-is-published">- <label>- <input id="toggle-publish-switch" type="checkbox" {% if collection.is_published %} checked {% endif %}- {% if is_unpublish_restricted %} disabled {% endif %} >- <span class="lever"></span>- <span class="label">- {% if collection.is_published %}- {% trans "Published" context "Collection field" %}- {% else %}- {% trans "Draft" context "Collection field" %}- {% endif %}- </span>- </label>- </div>- {% csrf_token %}- </form>- {% if is_unpublish_restricted %}- <div class="label label-default">{% trans "Can't unpublish homepage collection" context "Collection field" %}</div>- {% endif %}- <h5>{% render_collection_availability collection %}</h5>- </div>- </div>- </div>- </div>- </div>- </div>- {% endif %}- </div>-{% endblock %}diff --git a/templates/dashboard/collection/list.html b/templates/dashboard/collection/list.htmldeleted file mode 100644index 69dfd6f74e..0000000000--- a/templates/dashboard/collection/list.html+++ /dev/null@@ -1,111 +0,0 @@-{% extends 'dashboard/base.html' %}--{% load i18n %}-{% load materializecss %}-{% load static %}-{% load status %}-{% load utils %}--{% block title %}- {% trans "Collections" context "Collections list page title "%} - {{ block.super }}-{% endblock %}--{% block body_class %}body-collections{% endblock %}--{% block menu_collections_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li class="visible-s"><span>{% trans "Collections" %}</span></li>- </ul>-{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a href="{% url 'dashboard:collection-add' %}" class="btn-fab-default waves-effect waves-light" title="{% trans "Add collection" context 'Collections list add button text' %}">- <svg data-src="{% static 'dashboard/images/add.svg' %}"/>- </a>- </div>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if collections %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table data-table-description">- <thead>- <tr>- {% trans "Name" context "Collections list table header name" as label %}- {% sorting_header 'name' label %}- <th>- {% trans "Number of products" context "Voucher table header" %}- </th>- <th>- {% trans "Visibility" context "Collections list table header" %}- </th>- </tr>- </thead>- {% for node in collections %}- <tbody>- <tr data-action-go="{% url 'dashboard:collection-update' node.pk %}">- <td>- {{ node.name }}- </td>- <td class="nowrap">- {% if node.products %}- {% trans "Products in collection:" %} {{ node.products.count }}- {% else %}- -- {% endif %}- </td>- <td>- {% render_collection_availability node %}- </td>- </tr>- </tbody>- {% endfor %}- </table>- </div>- </div>- {% else %}- {% if is_empty %}- {% include 'dashboard/collection/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No collections found." context "Empty collection list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- <div class="card">- <form action="" method="post">- <div class="card-content">- <span class="card-title">- {% trans "Homepage collection" %}- </span>- {% csrf_token %}- <div class="row">- {{ assign_homepage_col_form.homepage_collection|materializecss }}- </div>- </div>- <div class="card-action right-align">- <div class="col s12">- <button type="submit" class="btn waves-effect right">- {% trans "Save" context "Homepage collection save" %}- </button>- </div>- <div class="clearfix"></div>- </div>- </form>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/collection/zero_page.html b/templates/dashboard/collection/zero_page.htmldeleted file mode 100644index 7bd0c85811..0000000000--- a/templates/dashboard/collection/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No collections found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Collections are used to organize products into custom groups.<br>- You can create collections by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/customer/detail.html b/templates/dashboard/customer/detail.htmldeleted file mode 100644index ef20f9c414..0000000000--- a/templates/dashboard/customer/detail.html+++ /dev/null@@ -1,218 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load price from taxed_prices %}-{% load static %}-{% load status %}--{% block title %}- {{ customer }} - {% trans "Customers" context "Dashboard customers list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-customers{% endblock %}--{% block menu_customers_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:customers" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:customers" %}">- {% trans "Customers" context "Dashboard customers list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:customers" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--elipsed-item">{{ customer }}</span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l8">- <div class="card">- <div class="card-content">- <span class="card-title">- {{ customer.get_full_name }}- </span>- {% if customer.get_full_name != customer.email %}- <p>- {{ customer.email }}- </p>- {% endif %}- <div class="row">- {% if customer.date_joined %}- <div class="col s12 m4 l12">- <h4>- {% trans "Date joined" context "Customer field" %}- </h4>- <p>- {{ customer.date_joined }}- </p>- </div>- {% endif %}- </div>- {% if customer.note %}- <div class="row">- <div class="col s12 m4 l12">- <h4>- {% trans "Note" context "Customer field" %}- </h4>- <p>- {{ customer.note }}- </p>- </div>- </div>- {% endif %}- </div>- <div class="card-action">- <a href="{% url 'dashboard:customer-update' customer.pk %}" class="btn-flat waves-effect">- {% trans "Edit customer" context "Customer action" %}- </a>- <a href="#base-modal" data-href="{% url 'dashboard:customer-delete' pk=customer.pk %}" class="modal-trigger-custom btn-flat waves-effect">- {% trans "Remove customer" context "Customer action" %}- </a>- {% if perms.account.impersonate_users %}- <a href="{% url 'impersonate-start' uid=customer.pk %}" class="btn-flat waves-effect">- {% trans 'Impersonate customer' context 'Customer impersonate action' %}- </a>- {% endif %}- </div>- </div>-- <div class="card">- <div class="data-table-header{% if not customer_orders %} data-table-header--no-data{% endif %}">- <h5 class="data-table-title {% if not customer_orders %} data-table-title--no-data{% endif %}">- {% trans "Recent orders" context "Customer recent orders table title" %}- </h5>- </div>- {% if customer_orders %}- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>- {% trans "Number" context "Customer orders table header" %}- </th>- <th>- {% trans "Placed on" context "Customer orders table header" %}- </th>- <th>- {% trans "Order status" context "Customer orders table header" %}- </th>- <th class="right-align">- {% trans "Total" context "Customer orders table header" %}- </th>- </tr>- </thead>- <tbody>- {% for order in customer_orders %}- <tr data-action-go="{% if perms.order.manage_orders %}{% url 'dashboard:order-details' order_pk=order.pk %}{% endif %}">- <td>- {{ order }}- </td>- <td>- {{ order.created }}- </td>- <td>- {% render_order_status order.status order.get_status_display %}- </td>- <td class="right-align">- {% price order.total.gross %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- {% else %}- <div class="card-content card-content--no-data">- <p>- {% trans "No orders found." context "Empty customer orders table message" %}- </p>- </div>- {% endif %}- </div>-- <div class="card">- <div class="card-content">- <span class="card-title">- {% trans "Customer notes" context "Customer notes card title" %}- </span>- {% if notes %}- <ul class="list">- {% for note in notes %}- <li class="list-item list-item--spaced">- <small class="list-item-author">{{ note.user }} - {{ note.date }}</small>- <p>{{ note.content }}</p>- </li>- {% endfor %}- </ul>- {% else %}- <div>- {% trans "There are no notes associated with this customer" context "Customer without notes message" %}- </div>- {% endif %}- </div>- <div class="card-action">- <a data-href="{% url "dashboard:customer-add-note" customer_pk=customer.pk %}" class="modal-trigger-custom btn-flat waves-effect" href="#base-modal">- {% trans "Add note" context "Customer notes card action" %}- </a>- </div>- </div>- </div>--- <div class="col s12 l4">- <div class="row">- <div class="col s12 m6 p6 l12">- <div class="card equal-height-on-med">- <div class="card-content">- <span class="card-title black-text">- {% trans "Default shipping address" context "Customer default shipping address card title" %}- </span>- {% if customer.default_shipping_address %}- {% with customer.default_shipping_address as address %}- {% include 'dashboard/includes/_address.html' with address=address only %}- {% endwith %}- {% else %}- <div>{% trans "No default shipping address." context "Customer without default shipping address message" %}</div>- {% endif %}- <svg data-src="{% static "dashboard/images/email.svg" %}" width="14" height="14" />- <a href="mailto:{{ customer.email }}">- {{ customer.email }}- </a>- </div>- </div>- </div>- <div class="col s12 m6 p6 l12">- <div class="card equal-height-on-med">- <div class="card-content">- <span class="card-title black-text">- {% trans "Default billing address" context "Customer default billing address card title" %}- </span>- {% if customer.default_billing_address %}- {% with customer.default_billing_address as address %}- {% include 'dashboard/includes/_address.html' with address=address only %}- {% endwith %}- {% else %}- <div>- {% trans "No default billing address." context "Customer without default billing address message" %}- </div>- {% endif %}- </div>- </div>- </div>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/customer/form.html b/templates/dashboard/customer/form.htmldeleted file mode 100644index d5bcc547e5..0000000000--- a/templates/dashboard/customer/form.html+++ /dev/null@@ -1,77 +0,0 @@-{% extends "dashboard/base.html" %}-{% load materializecss %}-{% load i18n %}-{% load static %}--{% block title %}- {% if customer.pk %}- {{ customer }}- {% else %}- {% trans "Add new customer" context "Dashboard add customer" %}- {% endif %}- - {% trans "Customer" context "Dashboard customer" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-customers{% endblock %}--{% block menu_customers_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:customers" as url %}- {% include "dashboard/includes/_back-link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:customers" %}">- {% trans "Customers" context "Dashboard customers list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:customers" %}">- <svg data-src="{% static "dashboard/images/arrow_left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li><span class="breadcrumbs--elipsed-item">{% if customer.pk %}{{ customer }}{% else %}{% trans 'Add customer' context 'Dashboard add customer action' %}{% endif %}</span></li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l8">- {% if form %}- <form class="card" method="post">- <div class="card-content">- <span class="card-title">- {% trans 'Customer details' context 'Customer details header' %}- </span>- <div class="data">- {% csrf_token %}- <div class="row">- {{ form|materializecss }}- </div>- </div>- </div>- <div class="card-action right-align">- {% if customer.pk %}- <a href="{% url 'dashboard:customer-details' pk=customer.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans 'Update' context 'Dashboard update action' %}- </button>- {% else %}- <a href="{% url 'dashboard:customers' %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans 'Add' context 'Dashboard add action' %}- </button>- {% endif %}- </div>- </form>- {% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/customer/list.html b/templates/dashboard/customer/list.htmldeleted file mode 100644index 8077e8b1b1..0000000000--- a/templates/dashboard/customer/list.html+++ /dev/null@@ -1,97 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Customers" context "Dashboard customers list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-customers{% endblock %}--{% block menu_customers_class %}active{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a href="{% url 'dashboard:customer-create' %}" class="btn-fab-default waves-effect waves-light" title="{% trans "Add customer" context "Customer list add button text" %}" >- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- {% trans "Customers" context "Dashboard customers list" %}- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if customers %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- {% trans "Name" context "Customers table header" as label %}- {% sorting_header 'name' label %}-- {% trans "Email" context "Customers table header" as label %}- {% sorting_header 'email' label %}-- {% trans "Location" context "Customers table header" as label %}- {% sorting_header 'location' label %}- </tr>- </thead>- <tbody>- {% for customer in customers %}- <tr data-action-go="{% url "dashboard:customer-details" pk=customer.pk %}">- {% with customer.default_billing_address as default_address %}- <td>- {% if customer.get_full_name != customer.email %}- {{ customer.get_full_name }}- {% else %}- -- {% endif %}- </td>- <td>- {{ customer.email }}- </td>- <td>- {% if default_address %}- {{ default_address.city }}, {{ default_address.get_country_display }}- {% else %}- -- {% endif %}- </td>- {% endwith %}- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate customers %}- {% else %}- {% if is_empty %}- {% include 'dashboard/customer/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No customers found." context "Empty customers table message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/customer/modal/add_note.html b/templates/dashboard/customer/modal/add_note.htmldeleted file mode 100644index 7b79ddab9d..0000000000--- a/templates/dashboard/customer/modal/add_note.html+++ /dev/null@@ -1,20 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}- {% url 'dashboard:customer-add-note' customer_pk=customer.pk %}-{% endblock %}--{% block title %}- {% trans "Add note" context "Modal add note title" %}-{% endblock %}--{% block content %}- {{ form|materializecss }}-{% endblock %}--{% block primary_action %}- {% trans "Save note" context "Modal add note primary action" %}-{% endblock %}diff --git a/templates/dashboard/customer/modal/confirm_delete.html b/templates/dashboard/customer/modal/confirm_delete.htmldeleted file mode 100644index 7c93e53d81..0000000000--- a/templates/dashboard/customer/modal/confirm_delete.html+++ /dev/null@@ -1,29 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url 'dashboard:customer-delete' pk=customer.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Header of modal used for removing customer's account " %}- Remove customer {{ customer }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Modal remove collection text" %}- Are you sure you want to remove customer <strong>{{ customer }}</strong>?- Please note that this procedure will remove customer's account,- but customer's orders and addresses associated with them will persist for the financial records.- {% endblocktrans %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/customer/modal/confirm_promote.html b/templates/dashboard/customer/modal/confirm_promote.htmldeleted file mode 100644index 9d41da51c2..0000000000--- a/templates/dashboard/customer/modal/confirm_promote.html+++ /dev/null@@ -1,25 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url 'dashboard:customer-promote' pk=customer.pk %}-{% endblock %}--{% block title %}-{% trans "Promote to staff member" context "Dashboard confirmation modal" %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed with customer=customer context "Modal promote to staff member text" %}- Are you sure you want to promote {{ customer }} to staff member?- {% endblocktrans %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Promote" context "Dashboard promote action" %}-{% endblock %}diff --git a/templates/dashboard/customer/zero_page.html b/templates/dashboard/customer/zero_page.htmldeleted file mode 100644index 5d6a4844b2..0000000000--- a/templates/dashboard/customer/zero_page.html+++ /dev/null@@ -1,11 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No customers found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Customer accounts will appear here once users register in the shop.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/discount/sale/form.html b/templates/dashboard/discount/sale/form.htmldeleted file mode 100644index 5934aa102b..0000000000--- a/templates/dashboard/discount/sale/form.html+++ /dev/null@@ -1,132 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if sale.pk %}- {{ sale }}- {% else %}- {% trans "Add new sale" context "Sale (discount) page title" %}- {% endif %}- - {% trans "Sales" context "Dashboard sales (discounts) list." %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-sales{% endblock %}--{% block menu_sales_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:sale-list" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block header_extra %}- {% if sale.pk %}- <a class="dropdown-button right" href="#" data-activates="sale-delete" data-constrainwidth="false">- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- <ul id="sale-delete" class="dropdown-content">- <li>- <a class="modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:sale-delete' pk=sale.pk %}">- {% trans "Remove sale" context "Sale (discount) action" %}- </a>- </li>- </ul>- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:sale-list' %}">- {% trans "Sales" context "Dashboard sales (discounts) list." %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:sale-list' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% if sale.pk %}- {{ sale }}- {% else %}- {% trans "Add new sale" context "Sale (discount) breadcrumbs" %}- {% endif %}- </span>- </li>- </ul>-{% endblock %}--{% block menu_discounts_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data" id="form-sales" novalidate>- <div class="card-content card-content-form">- {% csrf_token %}- {% if form.non_field_errors %}- <blockquote>- {% for non_field_error in form.non_field_errors %}- {{ non_field_error }}- {% endfor %}- </blockquote>- {% endif %}- <div class="row">- {{ form.name|materializecss }}- </div>- <div class="row">- <div class="col s12 m8">- <div class="row">- {{ form.value|materializecss }}- </div>- </div>- <div class="col s12 m4">- {{ form.type|materializecss:"input-field s12" }}- </div>- </div>- <div class="row">- <div class="col s12 m6">- <div class="row">- {{ form.start_date|materializecss }}- </div>- </div>- <div class="col s12 m6">- {{ form.end_date|materializecss:"input-field s12" }}- </div>- </div>- <div class="row">- {{ form.products|materializecss }}- </div>- <div class="row">- {{ form.categories|materializecss }}- </div>- <div class="row">- {{ form.collections|materializecss }}- </div>- </div>-- <div class="card-action right-align">- <a href="{% url 'dashboard:sale-list' %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if sale.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/discount/sale/list.html b/templates/dashboard/discount/sale/list.htmldeleted file mode 100644index 865bcaadfd..0000000000--- a/templates/dashboard/discount/sale/list.html+++ /dev/null@@ -1,95 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Sales" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-sales{% endblock %}--{% block menu_sales_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">{% trans "Sales" context "Dashboard sales (discounts) list." %}</li>- </ul>-{% endblock %}--{% block menu_discounts_class %} active{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a href="{% url 'dashboard:sale-add' %}" class="btn-fab-default waves-effect waves-light"- title="{% trans "Add sale" context "Sale (discount) list add button text" %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if sales %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table last-right-align">- <thead>- <tr>- {% trans "Name" context "Sale (discount) table header" as label %}- {% sorting_header 'name' label is_wide=True %}-- {% trans "Start date" context "Sale (discount) table header" as label %}- {% sorting_header 'start_date' label is_wide=True %}-- {% trans "End date" context "Sale (discount) table header" as label %}- {% sorting_header 'end_date' label is_wide=True %}-- {% trans "Discount" context "Sale (discount) table header" as label %}- {% sorting_header 'value' label is_wide=True %}- </tr>- </thead>- <tbody>- {% for sale in sales %}- <tr data-action-go="{% url 'dashboard:sale-update' pk=sale.pk %}">- <td>- {{ sale }}- </td>- <td>- {{ sale.start_date }}- </td>- <td>- {{ sale.end_date|default_if_none:"-" }}- </td>- <td>- {{ sale.value }}{{ sale.get_type_display }}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate sales %}- {% else %}- {% if is_empty %}- {% include 'dashboard/discount/sale/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No sales found" context "Empty sales table message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/discount/sale/modal/confirm_delete.html b/templates/dashboard/discount/sale/modal/confirm_delete.htmldeleted file mode 100644index 371fea1719..0000000000--- a/templates/dashboard/discount/sale/modal/confirm_delete.html+++ /dev/null@@ -1,25 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:sale-delete" pk=sale.pk %}-{% endblock %}--{% block title %}-{% trans "Remove sale" context "Remove sale (discount) text" %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Remove sale (discount) text" %}- Are you sure you want to remove <strong>{{ sale }}</strong>?- {% endblocktrans %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/discount/sale/zero_page.html b/templates/dashboard/discount/sale/zero_page.htmldeleted file mode 100644index cd12925b3e..0000000000--- a/templates/dashboard/discount/sale/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No sales found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Sales are used to create discounts on particular products or whole categories.<br>- You can create sales by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/discount/voucher/form.html b/templates/dashboard/discount/voucher/form.htmldeleted file mode 100644index 2cf3ac9d6c..0000000000--- a/templates/dashboard/discount/voucher/form.html+++ /dev/null@@ -1,142 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if voucher.pk %}- {{ voucher }}- {% else %}- {% trans "Add new voucher" context "Voucher page title" %}- {% endif %}- - {% trans "Vouchers" context "Dashboard vouchers list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-vouchers{% endblock %}--{% block menu_vouchers_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:voucher-list" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block header_extra %}- {% if voucher.pk %}- <a class="dropdown-button right" href="#" data-activates="voucher-delete" data-constrainwidth="false">- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- <ul id="voucher-delete" class="dropdown-content">- <li>- <a class="modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:voucher-delete' pk=voucher.pk %}">- {% trans "Remove voucher" context "Voucher action" %}- </a>- </li>- </ul>- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:voucher-list' %}">- {% trans "Vouchers" context "Dashboard vouchers list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:voucher-list' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% if voucher.pk %}- {{ voucher }}- {% else %}- {% trans "Add new voucher" context "Voucher breadcrumbs" %}- {% endif %}- </span>- </li>- </ul>-{% endblock %}--{% block menu_discounts_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data" id="form-vouchers" novalidate>- <div class="card-content card-content-form">- {% csrf_token %}- {% if form.non_field_errors %}- <blockquote>- {% for non_field_error in form.non_field_errors %}- {{ non_field_error }}- {% endfor %}- </blockquote>- {% endif %}- <div class="row">- <div class="col s12 m8">- <div class="row">- {{ form.code|materializecss }}- </div>- <div class="row">- {{ form.name|materializecss }}- </div>- <div class="row">- <div class="col s12 m8">- <div class="row">- {{ form.discount_value|materializecss }}- </div>- </div>- <div class="col s12 m4">- <div class="row">- {{ form.discount_value_type|materializecss:"input-field s12" }}- </div>- </div>- </div>- <div class="row">- {{ form.type|materializecss:"input-field s12" }}- </div>- {% for form_type, form in type_base_forms.items %}- <div class="row voucher-form" data-type="{{ form_type }}">- {% for field in form %}- {{ field|materializecss:"input-field s12" }}- {% endfor %}- </div>- {% endfor %}- </div>- <div class="col s12 m4">- <div class="row">- {{ form.start_date|materializecss:"input-field s12" }}- </div>- <div class="row">- {{ form.end_date|materializecss:"input-field s12" }}- </div>- <div class="row">- {{ form.usage_limit|materializecss }}- </div>- </div>- </div>- </div>- <div class="card-action right-align">- <a href="{% url 'dashboard:voucher-list' %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if voucher.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/discount/voucher/list.html b/templates/dashboard/discount/voucher/list.htmldeleted file mode 100644index 0d20454208..0000000000--- a/templates/dashboard/discount/voucher/list.html+++ /dev/null@@ -1,116 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load price from taxed_prices %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Vouchers" context "Dashboard vouchers list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-vouchers{% endblock %}--{% block menu_vouchers_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- {% trans "Vouchers" context "Dashboard vouchers list" %}- </li>- </ul>-{% endblock %}--{% block menu_discounts_class %} active{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a href="{% url 'dashboard:voucher-add' %}" class="btn-fab-default waves-effect waves-light" title="{% trans "Add voucher" context "Voucher list add button text" %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if vouchers %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table last-right-align">- <thead>- <tr>- {% trans "Name" context "Voucher table header" as label %}- {% sorting_header 'name' label is_wide=True %}-- {% trans "Discount" context "Voucher table header" as label %}- {% sorting_header 'discount_value' label is_wide=True %}-- {% trans "Start date" context "Voucher table header" as label %}- {% sorting_header 'start_date' label is_wide=True %}-- {% trans "End date" context "Voucher table header" as label %}- {% sorting_header 'end_date' label is_wide=True %}-- {% trans "Used" context "Voucher table header" as label %}- {% sorting_header 'used' label is_wide=True %}-- {% trans "Min amount spent" context "Voucher table header" as label %}- {% sorting_header 'min_amount_spent' label is_wide=True %}- </tr>- </thead>- {% for voucher in vouchers %}- <tbody>- <tr data-action-go="{% url 'dashboard:voucher-update' pk=voucher.pk %}">- <td>- {{ voucher }}- </td>- <td class="right-align">- {{ voucher.discount_value }} <span class="currency">{{ voucher.get_discount_value_type_display }}</span>- </td>- <td>- {{ voucher.start_date }}- </td>- <td>- {{ voucher.end_date|default_if_none:"-" }}- </td>- <td class="right-align">- {% if voucher.usage_limit or voucher.usage_limit == 0 %}- {{ voucher.used }}/{{ voucher.usage_limit }}- {% else %}- {{ voucher.used }}- {% endif %}- </td>- <td class="right-align">- {% if voucher.min_spent %}- {% price voucher.min_spent %}- {% else %}- -- {% endif %}- </td>- </tr>- </tbody>- {% endfor %}- </table>- </div>- </div>- {% paginate vouchers %}- {% else %}- {% if is_empty %}- {% include 'dashboard/discount/voucher/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No vouchers found" context "Empty vouchers table message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/discount/voucher/modal/confirm_delete.html b/templates/dashboard/discount/voucher/modal/confirm_delete.htmldeleted file mode 100644index 3ab9386a87..0000000000--- a/templates/dashboard/discount/voucher/modal/confirm_delete.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:voucher-delete" pk=voucher.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Remove voucher text" %}-Remove voucher {{ voucher }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Remove voucher text" %}- Are you sure you want to remove voucher <strong>{{ voucher }}</strong>?- {% endblocktrans %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/discount/voucher/zero_page.html b/templates/dashboard/discount/voucher/zero_page.htmldeleted file mode 100644index c3519ae57a..0000000000--- a/templates/dashboard/discount/voucher/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No vouchers found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Vouchers allows creating promotional codes for all purchases, specific products or shipping.<br>- You can create vouchers by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/includes/_address.html b/templates/dashboard/includes/_address.htmldeleted file mode 100644index aaedb3fff7..0000000000--- a/templates/dashboard/includes/_address.html+++ /dev/null@@ -1,14 +0,0 @@-{% load i18n_address_tags %}-{% load static %}--<div class="address">- {% format_address address include_phone=False latin=True %}- {% if address.phone %}- <div>- <svg data-src="{% static "dashboard/images/phone.svg" %}" width="16" height="16" class="left" />- <a href="tel:{{ address.phone }}" class="phone-number">- {{ address.phone }}- </a>- </div>- {% endif %}-</div>diff --git a/templates/dashboard/includes/_back_link.html b/templates/dashboard/includes/_back_link.htmldeleted file mode 100644index 23ab031ed4..0000000000--- a/templates/dashboard/includes/_back_link.html+++ /dev/null@@ -1,3 +0,0 @@-<a href="{{ url }}{% if hash %}{{ hash }}{% endif %}" class="header-button">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />-</a>diff --git a/templates/dashboard/includes/_bulk_actions_bar.html b/templates/dashboard/includes/_bulk_actions_bar.htmldeleted file mode 100644index ae8e7dba63..0000000000--- a/templates/dashboard/includes/_bulk_actions_bar.html+++ /dev/null@@ -1,31 +0,0 @@-{% load static %}--<nav class="data-table-bulk-actions">- <div class="data-table-bulk-actions__select-all"></div>- <div class="data-table-bulk-actions__selected-items col inline"></div>- <div class="data-table-bulk-actions__action-choice">- <ul class="right">- {% for action, label in bulk_action_form.action.field.widget.choices %}- <li>- <a href=""- data-action="{{ action }}"- class="btn-flat waves-effect">{{ label|upper }}</a>- </li>- {% endfor %}- </ul>- </div>- <div class="data-table-bulk-actions__dropdown-container">- <a class="dropdown-button right" href="#!" data-activates="dropdown-bulk-actions" data-constrainwidth="false" data-gutter="-19" data-alignment="right">- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- <ul id="dropdown-bulk-actions" class="dropdown-content">- {% for action, label in bulk_action_form.action.field.widget.choices %}- <li>- <a href=""- data-action="{{ action }}"- class="btn-flat waves-effect">{{ label|upper }}</a>- </li>- {% endfor %}- </ul>- </div>-</nav>diff --git a/templates/dashboard/includes/_collection_availability.html b/templates/dashboard/includes/_collection_availability.htmldeleted file mode 100644index 49b0290fbf..0000000000--- a/templates/dashboard/includes/_collection_availability.html+++ /dev/null@@ -1,15 +0,0 @@-{% load i18n %}--<div class="label label-{{ label_cls }}">- {% if is_visible %}- {% trans "Published" context "Collection availability status" %}- {% elif collection.publication_date is not None %}- <div class="label">- {% blocktrans with date=collection.publication_date context "Collection availability status" %}- Hidden (will become visible on {{ date }})- {% endblocktrans %}- </div>- {% else %}- {% trans "Hidden" context "Collection availability status" %}- {% endif %}-</div>diff --git a/templates/dashboard/includes/_filters.html b/templates/dashboard/includes/_filters.htmldeleted file mode 100644index 6ff2ad1b98..0000000000--- a/templates/dashboard/includes/_filters.html+++ /dev/null@@ -1,55 +0,0 @@-{% load i18n %}-{% load materializecss %}-{% load static %}---<div class="card">- <form method="get">- <div class="card-content">- <div class="col s12">- <span class="card-title">{% trans 'Filters' context 'Dashboard card title' %}</span>- {{ filter.get_summary_message }}- <span class="collapse-activate hide-on-large-only"><svg data-src="{% static 'images/filter-icon.svg' %}" /></span>- </div>- <div class="col s12 hide-on-large-only chips-container">- {% for chip in chips %}- <div class="chip">{{ chip.content|safe }} <a href="{{ chip.link }}">×</a></div>- {% endfor %}- </div>- <div class="clearfix"></div>- </div>- <div class="collapse">- <div class="card-content card-action wide">- <div class="row no-margin">- {% for field in filter.form %}- <div class="col s12">- {% if field.name == 'sort_by' %}- <!--Field 'sort_by' is hidden because it is rendered in header.- This is required if you want to have sorting to be kept during further filtering.-->- <input type="hidden" name="sort_by" value="{% if sort_by %}{{ sort_by }}{% endif %}">- {% else %}- {{ field|materializecss }}- {% endif %}- </div>- {% endfor %}- </div>- <div class="clearfix"></div>- </div>- <div class="card-action">- <div class="right-align">- <div class="col s12">- {% if filter.is_bound_unsorted %}- <a href="." class="clear-filters btn-flat waves-effect">- {% trans 'Clear' context 'Category page filters' %}- </a>- {% endif %}- <button class="btn-flat waves-effect" type="submit">- {% trans 'Filter' context 'Category price filter' %}- </button>- </div>- <div class="clearfix"></div>- </div>- </div>- </div>- </form>-</div>diff --git a/templates/dashboard/includes/_google_preview.html b/templates/dashboard/includes/_google_preview.htmldeleted file mode 100644index daf0823083..0000000000--- a/templates/dashboard/includes/_google_preview.html+++ /dev/null@@ -1,28 +0,0 @@-{% load build_absolute_uri from urls %}-{% load materializecss %}-{% load i18n %}-<div class='google-preview'>- <span class="card-title">{% trans "Search engine listing preview" context "Title of the box showing preview from the search engine perspective" %}</span>- <div class='google-preview__container'>- <br>- <div id="google-preview">- <div class='google-preview__title'>- <a id="google-preview-title" href='#'>{{ object.seo_title|default:"" }}</a>- </div>- <div class='google-preview__url'>- {% if object.pk %}- {% build_absolute_uri request=request location=object.get_absolute_url %}- {% else %}- {% build_absolute_uri request=request location="/" %}- {% endif %}- </div>- <div id="google-preview-description" class='google-preview__description'>{{ object.seo_description|default:"" }}</div>- </div>- </div>-</div>-<div class="row">- {{ form.seo_title|materializecss }}-</div>-<div class="row">- {{ form.seo_description|materializecss }}-</div>diff --git a/templates/dashboard/includes/_menu_items.html b/templates/dashboard/includes/_menu_items.htmldeleted file mode 100644index f3ede5d646..0000000000--- a/templates/dashboard/includes/_menu_items.html+++ /dev/null@@ -1,72 +0,0 @@-{% load i18n %}-{% load utils %}-{% load static %}-{% load status %}--<div class="card">- <div class="card-content">- <span class="card-title">- {% trans "Menu items" context "Title of the menu items list" %}- </span>- </div>- <div class="data-table-header-action">- <a href="{% if root_item %}{% url "dashboard:menu-item-add" menu_pk=menu.pk root_pk=root_item.pk %}{% else %}{% url "dashboard:menu-item-add" menu_pk=menu.pk %}{% endif %}" class="btn-data-table btn-flat waves-effect">- {% trans "Add" %}- </a>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table data-table-description">- <thead>- <tr>- <th class="data-table-icon"></th>-- {% trans "Name" context "Menu items list table header name" as label %}- {% sorting_header 'name' label is_wide=True %}-- {% trans "Points to" context "Menu items list table header points to" as label %}- <th>{{ label }}</th>- <th>{% trans "Status" context "Menu items status"%}</th>-- <th></th>- </tr>- </thead>- <tbody class="sortable-items" data-post-url="{% if menu_item %}{% url 'dashboard:menu-items-reorder' menu_pk=menu.pk root_pk=menu_item.pk %}{% else %}{% url 'dashboard:menu-items-reorder' menu_pk=menu.pk %}{% endif %}" data-post-name="ordered_menu_items">- {% for item in menu_items %}- <tr data-action-go="{% url 'dashboard:menu-item-details' menu_pk=menu.pk item_pk=item.pk %}" class="sortable-item" data-id="{{ item.pk }}">- <td class="data-table-icon ignore-link sortable__drag-area">- <svg data-src="{% static "dashboard/images/reorder.svg" %}" height="20" width="20" fill="#000" />- </td>- <td>- {{ item.name }}- </td>- <td>- {{ item.destination_display }}- </td>- <td>- {% if item.is_public %}- <div class="label label-success">{% trans "Published" context "Menu items status"%}</div>- {% elif item.page %}- {% render_page_availability item.page %}- {% else %}- <div class="label label-danger">{% trans "Not published" context "Menu items status"%}</div>- {% endif %}- </td>- <td class="right-align ignore-link">- <a href="{% url 'dashboard:menu-item-edit' menu_pk=menu.pk item_pk=item.pk %}" class="btn-flat waves-effect">- {% trans 'Edit' context 'Menu item edit action' %}- </a>- <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url 'dashboard:menu-item-delete' menu_pk=menu.pk item_pk=item.pk %}">- {% trans "Remove" context "Menu item list action link" %}- </a>- </td>- </tr>- {% empty %}- <tr>- <td colspan="4">{% trans "No menu items" context "Empty list of menu items" %}</td>- </tr>- {% endfor %}- </tbody>- </table>- </div>-</div>-{% paginate menu_items %}diff --git a/templates/dashboard/includes/_page_availability.html b/templates/dashboard/includes/_page_availability.htmldeleted file mode 100644index 42082aa68b..0000000000--- a/templates/dashboard/includes/_page_availability.html+++ /dev/null@@ -1,21 +0,0 @@-{% load i18n %}--{% if is_visible %}- <div class="label label-{{ label_cls }}">- {% trans "Published" context "Page availability status" %}- </div>-{% elif not page.is_published %}- <div class="label">- {% trans "Hidden" context "Page availability status" %}- </div>-{% elif page.publication_date %}- <div class="label">- {% blocktrans with date=page.publication_date context "Page availability status" %}- Hidden (will become visible on {{ date }})- {% endblocktrans %}- </div>-{% else %}- <div class="label">- {% trans "Hidden" context "Page availability status" %}- </div>-{% endif %}diff --git a/templates/dashboard/includes/_pagination.html b/templates/dashboard/includes/_pagination.htmldeleted file mode 100644index 337ffd6aaf..0000000000--- a/templates/dashboard/includes/_pagination.html+++ /dev/null@@ -1,38 +0,0 @@-{% load i18n %}-{% load utils %}-{% load static %}---{% if page_obj.paginator.num_pages > 1 %}- <ul class="pagination">- {% if page_obj.has_previous %}- <li><a href="?page=1"><svg data-src="{% static "dashboard/images/chevron-left.svg" %}" fill="#000" /></a></li>- {% if page_obj.number|add:previous_section >= 1 %}- <li><a href="{% construct_get_query page=page_obj.number|add:previous_section %}">…</a></li>- {% elif page_obj.number|add:previous_section < 1 and page_obj.number|add:n_backward >= 1 %}- <li><a href="?page=1">…</a></li>- {% endif %}- {% else %}- <li class="disabled"><a href="#!"><svg data-src="{% static "dashboard/images/chevron-left.svg" %}" fill="#9E9E9E" /></a></li>- {% endif %}-- {% for page in page_obj.paginator.page_range %}- {% if page_obj.number == page %}- <li class="active"><a href="{% construct_get_query page=page %}">{{ page }}</a></li>- {% elif page > page_obj.number|add:n_backward and page < page_obj.number|add:n_forward %}- <li class="waves-effect"><a href="{% construct_get_query page=page %}">{{ page }}</a></li>- {% endif %}- {% endfor %}-- {% if page_obj.has_next %}- {% if page_obj.number|add:next_section <= page_obj.paginator.num_pages %}- <li><a href="{% construct_get_query page=page_obj.number|add:next_section %}">…</a></li>- {% elif page_obj.number|add:next_section > page_obj.paginator.num_pages and page_obj.number|add:n_forward <= page_obj.paginator.num_pages %}- <li><a href="{% construct_get_query page=page_obj.paginator.num_pages %}">…</a></li>- {% endif %}- <li><a href="{% construct_get_query page=page_obj.paginator.num_pages %}"><svg data-src="{% static "dashboard/images/chevron-right.svg" %}" fill="#000" /></a></li>- {% else %}- <li class="disabled"><a href="#!"><svg data-src="{% static "dashboard/images/chevron-right.svg" %}" fill="#9E9E9E" /></a></li>- {% endif %}- </ul>-{% endif %}diff --git a/templates/dashboard/includes/_sorting_header.html b/templates/dashboard/includes/_sorting_header.htmldeleted file mode 100644index 38931f3380..0000000000--- a/templates/dashboard/includes/_sorting_header.html+++ /dev/null@@ -1,6 +0,0 @@-<th class="{% if is_wide %}wide{% endif %} {% if is_active %}active{% endif %}">- <a href="{{ url }}">- <svg data-src="{{ sorting_icon }}" />- {{ label }}- </a>-</th>diff --git a/templates/dashboard/index.html b/templates/dashboard/index.htmldeleted file mode 100644index 295266170e..0000000000--- a/templates/dashboard/index.html+++ /dev/null@@ -1,179 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load price from taxed_prices %}-{% load status %}--{% block title %}- {{ block.super }}-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12">- <div class="card">- <div class="data-table-header{% if not orders_to_ship %} data-table-header--no-data{% endif %}">- <span class="data-table-title" title="{% blocktrans trimmed with counter=orders_to_ship|length context "Dashboard homepage summary header title" %}Showing last {{ counter }} results{% endblocktrans %}">- {% trans "Orders ready for shipment" context "Dashboard homepage table title" %}- </span>- </div>- {% if orders_to_ship %}- <div class="data-table-container">- <table class="bordered highlight responsive data-table last-right-align">- <thead>- <tr>- <th>- #- </th>- <th>- {% trans "Placed on" context "Orders table header" %}- </th>- <th>- {% trans "Customer" context "Orders table header" %}- </th>- <th>- {% trans "Payment status" context "Orders table header" %}- </th>- <th>- {% trans "Order status" context "Orders table header" %}- </th>- <th>- {% trans "Total" context "Orders table header" %}- </th>- </tr>- </thead>- <tbody>- {% for order in orders_to_ship %}- <tr data-action-go="{% url 'dashboard:order-details' order_pk=order.pk %}">- <td>- #{{ order.id }}- </td>- <td>- {{ order.created }}- </td>- {% trans "Guest" context "Anonymous user account value" as guest %}- <td>- {{ order.user|default:guest }}- </td>- <td>- {% render_status order.get_payment_status order.get_payment_status_display %}- </td>- <td>- {% render_order_status order.status order.get_status_display %}- </td>- <td class="right-align">- {% price order.total.gross %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- {% else %}- <div class="card-content card-content--no-data not-found ">- <p class="grey-text">- {% trans "No orders are ready for shipment." context "Empty order table message" %}- </p>- </div>- {% endif %}- </div>-- <div class="card">- <div class="data-table-header{% if not preauthorized_payments %} data-table-header--no-data{% endif %}">- <span class="data-table-title" title="{% blocktrans trimmed with counter=preauthorized_payments.count context "Dashboard homepage summary header title" %}Showing last {{ counter }} results{% endblocktrans %}">- {% trans "Preauthorized payments" context "Dashboard homepage table title" %}- </span>- </div>- {% if preauthorized_payments %}- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>- {% trans "Order" context "Preauthorized payments table header" %}- </th>- <th>- {% trans "Date" context "Preauthorized payments table header" %}- </th>- <th>- {% trans "Customer" context "Preauthorized payments table header" %}- </th>- <th class="right-align">- {% trans "Amount" context "Preauthorized payments table header" %}- </th>- </tr>- </thead>- <tbody>- {% for payment in preauthorized_payments %}- {% if payment.order %}- <tr data-action-go="{% url "dashboard:order-details" order_pk=payment.order.pk %}">- <td>- {{ payment.order }}- </td>- <td>- {{ payment.created }}- </td>- <td>- {{ payment.order.user|default:_("Guest") }}- </td>- <td class="right-align">- {% price payment.get_total %}- </td>- </tr>- {% endif %}- {% endfor %}- </tbody>- </table>- </div>- {% else %}- <div class="card-content card-content--no-data not-found">- <p class="grey-text">- {% trans "No preauthorized payments." context "Empty Preauthorized payments table message" %}- </p>- </div>- {% endif %}- </div>-- <div class="card">- <div class="data-table-header{% if not low_stock %} data-table-header--no-data{% endif %}">- <span class="data-table-title" title="{% blocktrans trimmed with counter=low_stock.count context "Dashboard homepage summary header title" %}Showing last {{ counter }} results{% endblocktrans %}">- {% trans "Products with low stock" context "Dashboard homepage table title" %}- </span>- </div>- {% if low_stock %}- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>- {% trans "Product name" context "Low stock product list" %}- </th>- <th class="right-align">- {% trans "Stock left" context "Low stock product list" %}- </th>- </tr>- </thead>- <tbody>- {% for product in low_stock %}- <tr data-action-go="{% url "dashboard:product-details" pk=product.pk %}">- <td>- {{ product }}- </td>- <td class="right-align">- {{ product.total_stock }}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- {% else %}- <div class="card-content card-content--no-data not-found">- <p class="grey-text">- {% trans "No products are low in stock." context "Empty low stock table message" %}- </p>- </div>- {% endif %}- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/menu/detail.html b/templates/dashboard/menu/detail.htmldeleted file mode 100644index 0e91f2bedd..0000000000--- a/templates/dashboard/menu/detail.html+++ /dev/null@@ -1,63 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}{% trans "Navigation" context "Menu list page title" %} -- {{ block.super }}{% endblock %}--{% block body_class %}body-menus{% endblock %}--{% block menu_menus_class %}active{% endblock %}--{% block header_menu %}- {% url 'dashboard:menu-list' as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:menu-list' %}">- {% trans "Navigation" context "Dashboard menus list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:menu-list' %}">- <svg data-src="{% static 'dashboard/images/arrow-left.svg' %}" fill="#fff" width="20px" height="20px"/>- </a>- </li>- <li title="{{ menu.name }}">- <span class="breadcrumbs--ellipsed-item">- {{ menu.name }}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {{ menu.name }}- </span>- </div>- <div class="card-action">- <a class="btn-flat waves-effect" href="{% url "dashboard:menu-edit" pk=menu.pk %}">- {% trans "Edit menu" context "Menu detail view action" %}- </a>- <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url "dashboard:menu-delete" pk=menu.pk %}">- {% trans "Remove menu" context "Menu detail view action" %}- </a>- </div>- </div>- {% include 'dashboard/includes/_menu_items.html' with menu=menu menu_items=menu_items %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/menu/form.html b/templates/dashboard/menu/form.htmldeleted file mode 100644index 39766ac3c9..0000000000--- a/templates/dashboard/menu/form.html+++ /dev/null@@ -1,77 +0,0 @@-{% extends "dashboard/base.html" %}-{% load materializecss %}-{% load i18n %}-{% load static %}--{% block title %}- {% if menu.pk %}- {% trans "Edit menu" context "Menu form page title" %} {{ menu }}- {% else %}- {% trans "Add new menu" context "Menu form page title" %}- {% endif %}- - {% trans "Navigation" context "Dashboard menus list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-menus{% endblock %}--{% block menu_menus_class %}active{% endblock %}--{% block page_title %}- {% if menu.pk %}- {{ menu }}- {% else %}- {% trans "Add new menu" context "Menu form page title" %}- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:menu-list' %}" class="breadcrumbs--ellipsed-item">- {% trans "Navigation" context "Dashboard menus list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:menu-list' %}" class="breadcrumbs--ellipsed-item">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new menu" context "Menu detail breadcrumbs" %}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data" novalidate>- <div class="card-content">- {% csrf_token %}- <div class="row">- {{ form.name|materializecss }}- </div>- </div>- <div class="card-action right-align">- <a href="{% url 'dashboard:menu-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if menu.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/menu/item/detail.html b/templates/dashboard/menu/item/detail.htmldeleted file mode 100644index a00ed6ab53..0000000000--- a/templates/dashboard/menu/item/detail.html+++ /dev/null@@ -1,102 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}{% trans "Menu items" context "Menu item list page title" %} -- {{ block.super }}{% endblock %}--{% block body_class %}body-menus{% endblock %}--{% block menu_menus_class %}active{% endblock %}--{% block header_menu %}- {% url 'dashboard:menu-list' as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- {% if path %}- <li>- <a href="{% url 'dashboard:menu-list' %}">- {% trans "Navigation" context "Dashboard menus list" %}- </a>- </li>- {% else %}- <li class="visible-s">- <span>- {% trans "Navigation" context "Dashboard menus list" %}- </span>- </li>- {% endif %}- <li title="{{ menu.name }}" class="breadcrumbs--ellipsed-item">- <a href="{% url 'dashboard:menu-details' pk=menu.pk %}">- {{ menu.name }}- </a>- </li>- {% if path %}- <li class="back-mobile">- <a href="{% url 'dashboard:menu-list' %}">- <svg data-src="{% static 'dashboard/images/arrow-left.svg' %}" fill="#fff" width="20px" height="20px"/>- </a>- </li>- {% for node in path %}- {% if forloop.last %}- <li title="{{ node.name }}">- <span class="breadcrumbs--ellipsed-item">- {{ node.name }}- </span>- </li>- {% else %}- <li class="hide-on-med-and-down">- <a href="{% url 'dashboard:menu-item-details' menu_pk=menu.pk item_pk=node.pk %}" title="{{ node.name }}" class="breadcrumbs--ellipsed-item">- {{ node.name }}- </a>- </li>- {% endif %}- {% endfor %}- {% endif %}- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {{ menu_item.name }}- </span>- <div class="row">- <div class="col s12">- <h4>- {% trans "Points to" context "Menu item field" %}- </h4>- <p>- <a href="{{ menu_item.get_url }}" target="_blank">- {{ menu_item.destination_display }}- </a>- </p>- </div>- </div>- </div>- <div class="card-action">- <a class="btn-flat waves-effect" href="{% url "dashboard:menu-item-edit" menu_pk=menu.pk item_pk=menu_item.pk %}">- {% trans "Edit menu item" context "Menu item detail view action" %}- </a>- <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url 'dashboard:menu-item-delete' menu_pk=menu.pk item_pk=menu_item.pk %}">- {% trans "Remove menu item" context "Menu item detail view action" %}- </a>- </div>- </div>- {% if menu_item.level < 2 %}- {% include 'dashboard/includes/_menu_items.html' with menu=menu menu_items=menu_items root_item=menu_item %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/menu/item/form.html b/templates/dashboard/menu/item/form.htmldeleted file mode 100644index 7b5d2eb4ae..0000000000--- a/templates/dashboard/menu/item/form.html+++ /dev/null@@ -1,99 +0,0 @@-{% extends "dashboard/base.html" %}-{% load materializecss %}-{% load i18n %}-{% load static %}--{% block title %}- {% if menu_item.pk %}- {% trans "Edit menu item" context "Menu item page title" %} {{ menu }}- {% else %}- {% trans "Add new menu item" context "Menu item page title" %}- {% endif %}- - {% trans "Menu items" context "Dashboard menu items list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-menus{% endblock %}--{% block menu_menus_class %}active{% endblock %}--{% block page_title %}- {% if menu_item.pk %}- {{ menu_item }}- {% else %}- {% trans "Add new menu item" context "Menu item page title" %}- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:menu-list' %}" class="breadcrumbs--ellipsed-item">- {% trans "Navigation" context "Dashboard menus list" %}- </a>- </li>- <li>- <a href="{% url 'dashboard:menu-details' pk=menu.pk %}" class="breadcrumbs--ellipsed-item">- {{ menu }}- </a>- </li>- {% if path %}- <li class="back-mobile">- <a href="{% url 'dashboard:menu-list' %}" class="breadcrumbs--ellipsed-item">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- {% for node in path %}- <li class="hide-on-med-and-down">- <a href="{% url 'dashboard:menu-item-details' menu_pk=menu.pk item_pk=node.pk %}" title="{{ node.name }}" class="breadcrumbs--ellipsed-item">- {{ node.name }}- </a>- </li>- {% endfor %}- {% endif %}- {% if menu_item.pk %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Menu form page title" %}- </span>- </li>- {% else %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new menu item" context "Menu form page title" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data" novalidate>- <div class="card-content">- {% csrf_token %}- <div class="row">- {{ form|materializecss }}- </div>- </div>- <div class="card-action right-align">- <a href="{% if menu_item.pk %}{% url 'dashboard:menu-item-details' menu_pk=menu.pk item_pk=menu_item.pk %}{% elif menu_item.parent %}{% url 'dashboard:menu-item-details' menu_pk=menu.pk item_pk=menu_item.parent.pk %}{% else %}{% url 'dashboard:menu-details' pk=menu.pk %}{% endif %}" class="btn btn-flat">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if menu_item.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/menu/item/modal/confirm_delete.html b/templates/dashboard/menu/item/modal/confirm_delete.htmldeleted file mode 100644index 8085d1f23a..0000000000--- a/templates/dashboard/menu/item/modal/confirm_delete.html+++ /dev/null@@ -1,35 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:menu-item-delete" menu_pk=menu_item.menu.pk item_pk=menu_item.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed with menu=menu context "Remove menu item modal title" %}- Remove menu item {{ menu_item }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed with menu_item=menu_item menu=menu_item.menu context "Remove menu item modal title" %}- Are you sure you want to remove menu item <strong>{{ menu_item }}</strong> from {{ menu }} menu?- {% endblocktrans %}- {% if descendants %}- <p>- {% trans "The following menu items will be removed:" context "Remove menu modal text about descendant menu items" %}- <ul>- {{ descendants|join:", " }}- </ul>- </p>- {% endif %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/menu/list.html b/templates/dashboard/menu/list.htmldeleted file mode 100644index fa652f9ee4..0000000000--- a/templates/dashboard/menu/list.html+++ /dev/null@@ -1,106 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load mptt_tags %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Navigation" context "Menu list page title" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-menus{% endblock %}--{% block menu_menus_class %}active{% endblock %}--{% block header_menu %}- {{ block.super }}-{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a href="{% url 'dashboard:menu-add' %}" class="btn-fab-default waves-effect waves-light" title="{% trans 'Add menu' context 'Menu list add button text' %}">- <svg data-src="{% static 'dashboard/images/add.svg' %}"/>- </a>- </div>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li class="visible-s">- <span>- {% trans "Navigation" context "Dashboard menus list" %}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if menus %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table data-table-description">- <thead>- <tr>- {% trans "Menu name" context "Menu list table header Menu name" as label %}- {% sorting_header 'name' label %}- </tr>- </thead>- <tbody>- {% for menu in menus %}- <tr data-action-go="{% url 'dashboard:menu-details' pk=menu.pk %}">- <td>- {{ menu.name }}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate menus %}- {% else %}- {% if is_empty %}- {% include 'dashboard/menu/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No menus found." context "Empty menu list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- <div class="card">- <form action="" method="post">- <div class="card-content">- <span class="card-title">- {% trans "Storefront Menus" %}- </span>- {% csrf_token %}- <div class="row">- {{ assign_menu_form.top_menu|materializecss }}- </div>- <div class="row">- {{ assign_menu_form.bottom_menu|materializecss }}- </div>- </div>- <div class="card-action right-align">- <div class="col s12">- <button type="submit" class="btn waves-effect right">- {% trans "Save" context "Dashboard update action" %}- </button>- </div>- <div class="clearfix"></div>- </div>- </form>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/menu/modal/confirm_delete.html b/templates/dashboard/menu/modal/confirm_delete.htmldeleted file mode 100644index 553dc08440..0000000000--- a/templates/dashboard/menu/modal/confirm_delete.html+++ /dev/null@@ -1,35 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:menu-delete" pk=menu.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed with menu=menu context "Remove menu modal title" %}- Remove menu {{ menu }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed with menu=menu context "Remove menu modal title" %}- Are you sure you want to remove menu <strong>{{ menu }}</strong>?- {% endblocktrans %}- {% if descendants %}- <p>- {% trans "The following menu items will be removed:" context "Remove menu modal text about descendant menu items" %}- <ul>- {{ descendants|join:", " }}- </ul>- </p>- {% endif %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/menu/zero_page.html b/templates/dashboard/menu/zero_page.htmldeleted file mode 100644index 00d65fbc04..0000000000--- a/templates/dashboard/menu/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No menus found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Menus are used to organize the navigation bar displayed in the storefront.<br>- You can create menus by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/order/address_form.html b/templates/dashboard/order/address_form.htmldeleted file mode 100644index 51bf353074..0000000000--- a/templates/dashboard/order/address_form.html+++ /dev/null@@ -1,72 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% trans "Edit address" context "" %} - {% trans "Orders" context "Dashboard orders list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-orders{% endblock %}--{% block menu_orders_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:orders" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:orders" %}">- {% trans "Orders" context "Dashboard orders list" %}- </a>- </li>- <li class="hide-on-med-and-down">- <a href="{% url "dashboard:order-details" order_pk=order.pk %}">- #{{ order.pk }}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:order-details" order_pk=order.pk %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% if address_type == "shipping" %}- {% trans "Shipping address" context "" %}- {% else %}- {% trans "Billing address" context "" %}- {% endif %}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 m9">- <div class="card">- <form method="post" novalidate>- <div class="card-content">- {% csrf_token %}- <div class="row">- {{ form|materializecss }}- </div>- </div>- <div class="card-action right-align">- <a href="{% url "dashboard:order-details" order_pk=order.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- </div>- </form>- </div>- </div>- <div class="col s12 m3"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.htmldeleted file mode 100644index 138fedd0bc..0000000000--- a/templates/dashboard/order/detail.html+++ /dev/null@@ -1,639 +0,0 @@-{% extends "dashboard/base.html" %}-{% load babel %}-{% load i18n %}-{% load i18n_address_tags %}-{% load materializecss %}-{% load price from taxed_prices %}-{% load static %}-{% load status %}-{% load voucher %}-{% load orders %}--{% block title %}- {{ order }} - {% trans "Orders" context "Dashboard orders list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-orders{% endblock %}--{% block menu_orders_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:orders" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block header_extra %}- <a class="dropdown-button right" href="#" data-activates="context-menu" data-constrainwidth="false">- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- <ul id="context-menu" class="dropdown-content">- {% if order.can_cancel %}- <li>- <a href="#base-modal" data-href="{% url "dashboard:order-cancel" order_pk=order.pk %}" class="modal-trigger-custom">- {% trans "Cancel Order" context "Order detail action" %}- </a>- </li>- {% endif %}- {% if order.is_draft %}- <li>- <a href="#base-modal" data-href="{% url "dashboard:draft-order-delete" order_pk=order.pk %}" class="modal-trigger-custom">- {% trans "Remove draft order" context "Order detail action" %}- </a>- </li>- {% else %}- <li>- <a class="btn-print" href="#">- {% trans "Print" context "Order detail action" %}- </a>- </li>- {% endif %}- </ul>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:orders" %}">- {% trans "Orders" context "Dashboard orders list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:orders" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span>- {{ order }}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12">- <ul class="tabs" role="tablist">- <li role="presentation" class="tab col s4">- <a href="#order-details" role="tab" class="active">- <span>- {% trans "Details" context "Order detail tab" %}- </span>- <svg data-src="{% static "dashboard/images/description.svg" %}" class="fill-secondary" />- </a>- </li>- <li role="presentation" class="tab col s4">- <a href="#payment-history" role="tab">- <span>- {% trans "Payments" context "Order detail tab" %}- </span>- <svg data-src="{% static "dashboard/images/payment.svg" %}" class="fill-secondary" />- </a>- </li>- <li role="presentation" class="tab col s4">- <a href="#order-history" role="tab">- <span>- {% trans "History" context "Order detail tab" %}- </span>- <svg data-src="{% static "dashboard/images/history.svg" %}" class="fill-secondary" />- </a>- </li>- </ul>- </div>- </div>- <div class="row tab-content" id="order-details">- <div class="col s12 l4 switch-two-columns">- <div class="card">- <div class="data-table-header">- <h5 class="data-table-title">- {% trans "Payments" context "Order summary card header" %}- </h5>- {% if payment %}- {% render_status payment.charge_status payment.get_charge_status_display %}- {% else %}- <span class="label">- {% trans "N/A" context "Payment status not available" %}- </span>- {% endif %}- </div>- <div class="data-table-container">- <table class="data-table bordered highlight">- <tfoot>- <tr>- <td>- <strong>- {% trans "Outstanding balance" context "Order summary card header" %}- </strong>- </td>- <td class="right-align">- <strong>- {% price order.total_balance %}- </strong>- </td>- </tr>- </tfoot>- <tbody>- <tr>- <td>- {% trans "Preauthorized amount" context "Order summary card header" %}- </td>- <td class="right-align">- {% if order.total_authorized %}- {% price order.total_authorized %}- {% else %}- {% trans "N/A" context "Preauthorized amount not available" %}- {% endif %}- </td>- </tr>- <tr>- <td>- {% trans "Captured amount" context "Order summary card header" %}- </td>- <td class="right-align">- {% price order.total_captured %}- </td>- </tr>- </tbody>- </table>- </div>- {% if not order.is_draft %}- {% if order.can_capture or order.can_refund or order.can_void or order.can_mark_as_paid %}- <div class="data-table-action">- {% if order.can_capture %}- <a href="#base-modal" data-href="{% url 'dashboard:capture-payment' order_pk=order.pk payment_pk=payment.pk %}" class="btn-flat modal-trigger-custom waves-effect">- {% trans "Capture" context "Order summary card action" %}- </a>- {% endif %}- {% if order.can_refund %}- <a href="#base-modal" data-href="{% url 'dashboard:refund-payment' order_pk=order.pk payment_pk=payment.pk %}" class="btn-flat modal-trigger-custom waves-effect">- {% trans "Refund" context "Order summary card action" %}- </a>- {% endif %}- {% if order.can_void %}- <a href="#base-modal" data-href="{% url 'dashboard:void-payment' order_pk=order.pk payment_pk=payment.pk %}" class="btn-flat modal-trigger-custom waves-effect">- {% trans "Void" context "Order summary card action" %}- </a>- {% endif %}- {% if order.can_mark_as_paid %}- <a href="#base-modal" data-href="{% url 'dashboard:order-mark-as-paid' order_pk=order.pk %}" class="btn-flat modal-trigger-custom waves-effect">- {% trans "Mark as paid" context "Order detail action" %}- </a>- {% endif %}- </div>- {% endif %}- {% endif %}- </div>- <div class="row">- <div class="col s12 {% if order.shipping_address %}m6{% else %}m12{% endif %} l12 p6">- <div class="card">- <div class="card-content card-border">- <span class="card-title black-text">- {% trans "Customer" context "Order details summary header" %}- {% if order.is_draft %}- <span class="right">- <a href="#base-modal" data-href="{% url "dashboard:order-customer-edit" order_pk=order.pk %}" class="btn-flat waves-effect modal-trigger-custom"- title="{% trans "Edit customer details" context "Order customer details action title" %}">- {% trans "Edit" context "Dashboard edit action" %}- </a>- </span>- {% endif %}- </span>- {% if order.user %}- <a href="{% url 'dashboard:customer-details' pk=order.user.pk %}">{{ order.user }}</a>- {% if order.user.get_full_name != order.user.email %}- <p>{{ order.user.get_full_name|truncatechars:80 }}</p>- {% endif %}- {% if order.user.note %}- <p>{{ order.user.note|truncatechars:80 }}</p>- {% endif %}- {% elif order.user_email %}- {{ order.user_email }}- {% else %}- {% trans "Guest" context "Anonymous user account value" %}- {% endif %}- </div>- {% if order.is_shipping_required or order.is_draft %}- <div class="card-content card-border">- <span class="card-title black-text">- {% trans "Shipping address" context "" %}- <span class="right">- <a href="{% url "dashboard:address-edit" order_pk=order.pk address_type="shipping" %}" class="btn-flat waves-effect">- {% trans "Edit" context "Dashboard edit action" %}- </a>- </span>- </span>- {% if order.shipping_address %}- {% format_address order.shipping_address %}- {% else %}- {% trans "No shipping address" context "Missing shipping address message" %}- {% endif %}- </div>- {% endif %}- <div class="card-content">- <span class="card-title black-text">- {% trans "Billing address" context "" %}- <span class="right">- <a href="{% url "dashboard:address-edit" order_pk=order.pk address_type="billing" %}" class="btn-flat waves-effect">- {% trans "Edit" context "Dashboard edit action" %}- </a>- </span>- </span>- {% if order.billing_address %}- {% if order.billing_address == order.shipping_address %}- {% trans "Same as shipping address" context "Order billing address same as shipping address" %}- {% else %}- {% format_address order.billing_address %}- {% endif %}- {% else %}- {% trans "No billing address" context "Missing billing address message" %}- {% endif %}- </div>- </div>- </div>- </div>- </div>- <div class="col s12 l8 switch-two-columns">- <div class="card shipment-table">- <div class="data-table-header">- <div class="data-table-title">- <h5>- {% if order.is_draft %}- {% blocktrans trimmed with order=order.id context "Order table title" %}- Order draft #{{ order }}- {% endblocktrans %}- {% else %}- {% blocktrans trimmed with order=order.id context "Order table title" %}- Order #{{ order }}- {% endblocktrans %}- {% endif %}- </h5>- <h6>- {% trans "Placed on" context "Order placed on date" %} {{ order.created }}- </h6>- </div>- {% render_order_status order.status order.get_status_display %}- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th class="wide">- {% trans "Item" context "Order table header" %}- </th>- <th class="right-align">- {% trans "Price" context "Order table header" %}- </th>- <th class="right-align">- {% trans "Quantity" context "Order table header" %}- </th>- <th class="right-align">- {% trans "Total" context "Order table header" %}- </th>- </tr>- </thead>- <tbody>- {% for line in order %}- <tr class="last-no-border">- <td>- {% if line.variant.product %}- <a href="{% url 'dashboard:product-details' pk=line.variant.product.pk %}">{{ line }}</a>- {% else %}- {{ line }}- {% endif %}- <br>- <span class="grey-text">- {% blocktrans trimmed with sku=line.product_sku context "Order table text" %}- SKU: {{ sku }}- {% endblocktrans %}- </span>- </td>- <td class="right-align">- {% price line.unit_price order.display_gross_prices %}- </td>- <td class="right-align">- {% if order.is_draft %}- <a class="dropdown-button" href="#" data-activates="line-actions-{{ line.pk }}" data-constrainwidth="false">- {{ line.quantity }}- <svg data-src="{% static "dashboard/images/arrow-drop-down.svg" %}" width="24" height="24" />- </a>- <ul id="line-actions-{{ line.pk }}" class="dropdown-content">- <li>- <a href="#base-modal" data-href="{% url 'dashboard:orderline-change-quantity' order_pk=order.pk line_pk=line.pk %}" class="modal-trigger-custom" title="{% trans "Change quantity" context "Order table row action" %}">- {% trans "Change quantity" context "Order table row action" %}- </a>- </li>- <li>- <a href="#base-modal" data-href="{% url 'dashboard:orderline-cancel' order_pk=order.pk line_pk=line.pk %}" class="modal-trigger-custom" title="{% trans "Remove line" context "Order table row action" %}">- {% trans "Remove line" context "Order table row action" %}- </a>- </li>- </ul>- {% else %}- {{ line.quantity }}- {% endif %}- </td>- <td class="right-align">- {% price line.get_total display_gross=order.display_gross_prices %}- </td>- </tr>- {% endfor %}- <tr class="last-no-border">- <td class="right-align" colspan="3">- <p>- {% trans "Subtotal" context "Order subtotal" %}- </p>- {% if order.is_shipping_required or order.shipping_method %}- <p>- {% if order.is_draft %}- <a href="#base-modal" data-href="{% url 'dashboard:order-shipping-edit' order_pk=order.pk %}"- class="modal-trigger-custom" title="{% trans "Edit shipping" context "Order totals action" %}">- {% if order.shipping_method_name %}- {% blocktrans trimmed with shipping_name=order.shipping_method_name context "Order totals header" %}- Shipping ({{ shipping_name }})- {% endblocktrans %}- {% else %}- {% trans "Shipping" context "Order totals header" %}- {% endif %}- </a>- {% else %}- {% if order.shipping_method_name %}- {% blocktrans trimmed with shipping_name=order.shipping_method_name context "Order totals header" %}- Shipping ({{ shipping_name }})- {% endblocktrans %}- {% else %}- {% trans "Shipping" context "Order totals header" %}- {% endif %}- {% endif %}- </p>- {% endif %}- <p>- {% if order.display_gross_prices %}- {% trans "Taxes (included)" context "Order total taxes" %}- {% else %}- {% trans "Taxes" context "Order total taxes" %}- {% endif %}- </p>- {% if order.is_draft or order.discount_amount %}- <p>- {% if order.is_draft %}- <a class="dropdown-button" href="#" data-activates="discount-menu" data-constrainwidth="false">- {% if order.discount_name %}- {% blocktrans trimmed with voucher=order.discount_name context "Order totals header" %}- Discount ({{ voucher }})- {% endblocktrans %}- {% else %}- {% trans "Discount" context "Order totals header" %}- {% endif %}- <svg data-src="{% static "dashboard/images/arrow-drop-down.svg" %}" width="20px" height="20px" />- </a>- <ul id="discount-menu" class="dropdown-content">- <li>- <a href="#base-modal" data-href="{% url 'dashboard:order-voucher-edit' order_pk=order.pk %}"- class="modal-trigger-custom" title="{% trans "Edit voucher" context "Order totals action" %}">- {% trans "Edit voucher" context "Order detail action" %}- </a>- </li>- <li>- <a href="#base-modal" data-href="{% url 'dashboard:order-discount-edit' order_pk=order.pk %}"- class="modal-trigger-custom" title="{% trans "Edit discount" context "Order totals action" %}">- {% trans "Edit discount" context "Order detail action" %}- </a>- </li>- </ul>- {% elif order.discount_amount %}- {% if order.discount_name %}- {% blocktrans trimmed with voucher=order.discount_name context "Order totals header" %}- Discount ({{ voucher }})- {% endblocktrans %}- {% else %}- {% trans "Discount" context "Order totals header" %}- {% endif %}- {% endif %}- </p>- {% endif %}- <p><strong>{% trans "Grand total" context "Order totals header" %}</strong></p>- </td>- <td class="right-align">- <p>- {% price order.get_subtotal display_gross=order.display_gross_prices %}- </p>- {% if order.is_shipping_required or order.shipping_method %}- <p>- {% price order.shipping_price display_gross=order.display_gross_prices %}- </p>- {% endif %}- <p>{% price order.total.tax %}</p>- {% if order.is_draft or order.discount_amount %}- <p>{% discount_as_negative order.discount html=True %}</p>- {% endif %}- <p><strong>{% price order.total.gross %}</strong></p>- </td>- </tr>- </tbody>- </table>- </div>- <div class="data-table-action">- {% if order.is_open %}- <a href="{% url 'dashboard:fulfill-order-lines' order_pk=order.pk %}" class="btn-flat waves-effect" title="{% trans "Fulfill order" context "Order summary card action title" %}">- {% trans "Fulfill" context "Order summary card action" %}- </a>- {% endif %}- {% if order.is_draft %}- <a href="#base-modal" data-href="{% url 'dashboard:add-variant-to-order' order_pk=order.pk %}" class="btn-flat waves-effect modal-trigger-custom" title="{% trans "Add product to order" context "Order summary card action title" %}">- {% trans "Add product" context "Order summary card action" %}- </a>- {% endif %}- <span class="right">- {% if order.is_draft %}- <a href="#base-modal" data-href="{% url 'dashboard:create-order-from-draft' order_pk=order.pk %}" class="btn waves-effect modal-trigger-custom" title="{% trans "Create order" context "Order summary card action title" %}">- {% trans "Create order" context "Order summary card action" %}- </a>- {% endif %}- </span>- {% if not order.is_draft %}- <a href="{% url 'dashboard:order-invoice' order_pk=order.pk %}" class="btn-flat waves-effect" target="_blank">- {% trans "Invoice" context "Order detail action" %}- </a>- <a href="{% url 'order:details' token=order.token %}" class="btn-flat waves-effect" target="_blank">- {% trans "View on site" context "Order detail action" %}- </a>- {% endif %}- </div>- </div>- {% for fulfillment in order_fulfillments %}- <div class="card shipment-table">- <div class="data-table-header">- <h5 class="data-table-title">- {% blocktrans trimmed with fulfillment=fulfillment.composed_id context "Fulfillment table title" %}- Fulfillment #{{ fulfillment }}- {% endblocktrans %}- </h5>- {% render_order_status fulfillment.status fulfillment.get_status_display %}- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th class="wide">- {% trans "Item" context "Order table header" %}- </th>- <th class="right-align">- {% trans "Quantity" context "Order table header" %}- </th>- </tr>- </thead>- <tbody>- {% for line in fulfillment %}- <tr class="last-no-border">- <td>- {{ line.order_line }}- </td>- <td class="right-align">- {{ line.quantity }}- </td>- </tr>- {% endfor %}- {% if fulfillment.tracking_number %}- <tr class="last-no-border">- <td colspan="2">- {% blocktrans trimmed with tracking=fulfillment.tracking_number context "Fulfillment table text" %}- Tracking number: {{ tracking }}- {% endblocktrans %}- </td>- </tr>- {% endif %}- </tbody>- </table>- </div>- {% if fulfillment.can_edit %}- <div class="data-table-action">- <a href="#base-modal" data-href="{% url 'dashboard:fulfillment-cancel' order_pk=order.pk fulfillment_pk=fulfillment.pk %}"- class="btn-flat waves-effect modal-trigger-custom" title="{% trans "Cancel fulfillment" context "Fulfillment summary card action title" %}">- {% trans "Cancel" context "Fulfillment summary card action" %}- </a>- <a href="#base-modal" data-href="{% url 'dashboard:fulfillment-change-tracking' order_pk=order.pk fulfillment_pk=fulfillment.pk %}"- class="btn-flat waves-effect modal-trigger-custom" title="{% trans "Edit tracking number" context "Fulfillment summary card action title" %}">- {% if fulfillment.tracking_number %}- {% trans "Edit tracking" context "Fulfillment summary card action" %}- {% else %}- {% trans "Add tracking" context "Fulfillment summary card action" %}- {% endif %}- </a>- <a href="{% url 'dashboard:fulfillment-packing-slips' order_pk=order.pk fulfillment_pk=fulfillment.pk %}"- data-href="" class="btn-flat waves-effect" target="_blank">- {% trans "Packing Slips" context "Order detail action" %}- </a>- </div>- {% endif %}- </div>- {% endfor %}-- <div class="card order-notes{% if not order.customer_note %} print-hide{% endif %}" id="customer-note">- <div class="card-content">- <span class="card-title black-text">- {% trans "Customer note" context "Customer order note card title" %}- </span>- {% if order.customer_note %}- <p>{{ order.customer_note }}</p>- {% else %}- <p>- {% trans "There is no note from the customer associated with this order." context "No customer order note card message" %}- </p>- {% endif %}- </div>- </div>-- <div class="card order-notes{% if not notes %} print-hide{% endif %}" id="order-notes">- <div class="card-content">- <span class="card-title black-text">- {% trans "Order notes" context "Order notes card title" %}- </span>- {% if notes %}- <ul class="list">- {% for note in notes %}- <li class="list-item list-item--spaced">- <small class="list-item-author">{{ note.user }} - {{ note.date }}</small>- <p>{{ note.parameters.message }}</p>- </li>- {% endfor %}- </ul>- {% else %}- <p>- {% trans "There are no notes associated with this order." context "Empty order notes card message" %}- </p>- {% endif %}- </div>- <div class="card-action">- <a data-href="{% url "dashboard:order-add-note" order_pk=order.pk %}" class="modal-trigger-custom btn-flat waves-effect" href="#base-modal">- {% trans "Add note" context "Order notes card action" %}- </a>- </div>- </div>- </div>- </div>- <div class="tab-content" id="payment-history">- {% if all_payments %}- <p class="print-show print-tabs">{% trans "Payments" context "Order detail tab" %}</p>- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>- {% trans "Transaction ID" context "Payment history table header" %}- </th>- <th>- {% trans "Date" context "Payment history table header" %}- </th>- <th>- {% trans "Payment status" context "Payment history table header" %}- </th>- <th>- {% trans "Amount" context "Payment history table header" %}- </th>- </tr>- </thead>- <tbody>- {% for payment in all_payments %}- <tr>- <td>- {% blocktrans trimmed with payment_id=payment.id context "Payment item column data" %}- #{{ payment_id }}- {% endblocktrans %}- </td>- <td>- {{ payment.created }}- </td>- <td>- {% render_status payment.charge_status payment.get_charge_status_display %}- </td>- <td>- {% price payment.get_total %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% else %}- <p>- {% trans "No payments made for this order." context "Empty payment history table message" %}- </p>- {% endif %}- </div>- <div class="tab-content" id="order-history">- <p class="print-show print-tabs">{% trans "History" context "Order detail tab" %}</p>- <div class="timeline-outer">- <ul class="timeline">- {% for event in events %}- <li class="event" data-date="{{ event.date }}">- <div class="content">- {% display_order_event event %}{% if event.user %} by {{ event.user }}{% endif %}- </div>- </li>- {% endfor %}- </ul>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/order/fulfillment_form.html b/templates/dashboard/order/fulfillment_form.htmldeleted file mode 100644index 8547d13983..0000000000--- a/templates/dashboard/order/fulfillment_form.html+++ /dev/null@@ -1,146 +0,0 @@-{% extends "dashboard/base.html" %}-{% load babel %}-{% load dashboard %}-{% load i18n %}-{% load i18n_address_tags %}-{% load materializecss %}-{% load static %}-{% load status %}--{% block title %}- {% trans "Fulfill" context "Dashboard order fulfillment" %} {{ order }} - {% trans "Orders" context "Dashboard orders list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-orders{% endblock %}--{% block menu_orders_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:orders" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:orders" %}">- {% trans "Orders" context "Dashboard orders list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:orders" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <a href="{% url 'dashboard:order-details' order_pk=order.pk %}" class="breadcrumbs--ellipsed-item">- {{ order }}- </a>- </li>- <li>- <span>- {% trans "Fulfill" context "Dashboard order fulfillment" %}- </span>- </li>- </ul>-{% endblock %}--{% block content %}-<div class="row">- <div class="col s12 l8">- <form role="form" class="card" method="post" novalidate>- {% csrf_token %}- {{ formset.management_form }}- <div class="card shipment-table">- <div class="data-table-header">- <div class="data-table-title">- <h5>- {% trans "Fulfill order" context "Fulfill order title" %}- </h5>- </div>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th class="wide">- {% trans "Item" context "Modal remove order line table header" %}- </th>- <th class="right-align">- {% trans "Quantity" context "Modal remove order line table header" %}- </th>- </tr>- </thead>- <tbody>- {% for line in unfulfilled_lines %}- <tr>- <td>- {% if line.variant %}- <a href="{% url 'dashboard:variant-details' product_pk=line.variant.product.pk variant_pk=line.variant.pk %}">{{ line }}</a>- {% else %}- {{ line }}- {% endif %}- <br>- <span class="grey-text">- {% blocktrans trimmed with sku=line.product_sku context "Order table text" %}- SKU: {{ sku }}- {% endblocktrans %}- </span>- </td>- <td class="right-align fulfillment-quantity">- {% get_formset_form formset forloop.counter0 as line_form %}- <div class="fulfillment-quantity-input">- <input id="{{ line_form.order_line.auto_id }}"- type="hidden"- name="{{ line_form.order_line.html_name }}"- required="{{ line_form.order_line.field.required }}"- value="{{ line_form.order_line.value }}">- <input id="{{ line_form.quantity.auto_id }}"- max="{{ line.quantity_unfulfilled }}"- min="0"- name="{{ line_form.quantity.html_name }}"- required="{{ line_form.quantity.field.required }}"- type="number"- value="{{ line_form.quantity.value }}">- {% blocktrans trimmed with quantity_unfulfilled=line.quantity_unfulfilled context "Fulfill order table quantity unfulfilled" %}- of {{ quantity_unfulfilled }}- {% endblocktrans %}- </div>- <label for="{{ line_form.quantity.auto_id }}">- {% for error in line_form.quantity.errors %}- <p class="help-block materialize-red-text">{{ error }}</p>- {% endfor %}- {% for error in formset.non_form_errors %}- <p class="help-block materialize-red-text">{{ error }}</p>- {% endfor %}- {% if line_form.quantity.help_text %}- <p class="help-block">- {{ line_form.quantity.field.help_text|safe }}- </p>- {% endif %}- </label>- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- <div class="data-table-content">- {{ form.tracking_number|materializecss }}- {% if form.send_mail %}- {{ form.send_mail|materializecss }}- {% endif %}- </div>- <div class="data-table-action right-align">- <a href="{% url 'dashboard:order-details' order.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Fulfill" context "Dashboard update action" %}- </button>- </div>- </div>- </form>- </div>-</div>-{% endblock %}diff --git a/templates/dashboard/order/list.html b/templates/dashboard/order/list.htmldeleted file mode 100644index 7aec9b054a..0000000000--- a/templates/dashboard/order/list.html+++ /dev/null@@ -1,109 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load price from taxed_prices %}-{% load prices %}-{% load status %}-{% load utils %}-{% load static %}--{% block title %}{% trans "Orders" context "Dashboard orders list" %} - {{ block.super }}{% endblock %}--{% block body_class %}body-orders{% endblock %}--{% block menu_orders_class %}active{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <form method="POST" action="{% url "dashboard:order-create" %}">- {% csrf_token %}- <label class="btn-fab-default waves-effect waves-light svg-submit-btn" title="{% trans "Add order" context "Order list add button text" %}">- <input type="submit" />- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </label>- </form>- </div>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">{% trans "Orders" context "Dashboard orders list" %}</li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if orders %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table last-right-align">- <thead>- <tr>- {% sorting_header 'pk' '#' %}-- {% trans "Placed on" context "Orders table header" as label %}- {% sorting_header 'created' label %}-- {% trans "Customer" context "Orders table header" as label %}- {% sorting_header 'email' label %}-- {% trans "Payment status" context "Orders table header" as label %}- {% sorting_header 'payment_status' label %}-- {% trans "Order status" context "Orders table header" as label %}- {% sorting_header 'order_status' label %}-- {% trans "Total" context "Orders table header" as label %}- {% sorting_header 'total' label %}- </tr>- </thead>- <tbody>- {% for order in orders %}- <tr data-action-go="{% url 'dashboard:order-details' order_pk=order.pk %}">- <td>- #{{ order.id }}- </td>- <td>- {{ order.created }}- </td>- {% trans "Guest" context "Anonymous user account value" as guest %}- <td>- {{ order.user|default:guest }}- </td>- <td>- {% render_status order.get_payment_status order.get_payment_status_display %}- </td>- <td>- {% render_order_status order.status order.get_status_display %}- </td>- <td class="right-align">- {% price order.total.gross %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- <div class="row">- {% paginate orders %}- </div>- {% else %}- {% if is_empty %}- {% include 'dashboard/order/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No orders found." context "Empty order list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/order/modal/add_note.html b/templates/dashboard/order/modal/add_note.htmldeleted file mode 100644index d6cc168db2..0000000000--- a/templates/dashboard/order/modal/add_note.html+++ /dev/null@@ -1,20 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}- {% url 'dashboard:order-add-note' order_pk=order.pk %}-{% endblock %}--{% block title %}- {% trans "Add note" context "Modal add note title" %}-{% endblock %}--{% block content %}- {{ form|materializecss }}-{% endblock %}--{% block primary_action %}- {% trans "Save note" context "Modal add note primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/add_variant_to_order.html b/templates/dashboard/order/modal/add_variant_to_order.htmldeleted file mode 100644index 643b78f25f..0000000000--- a/templates/dashboard/order/modal/add_variant_to_order.html+++ /dev/null@@ -1,23 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:add-variant-to-order' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed with order=order context "Modal order add variant title" %}- Add product to {{ order }}-{% endblocktrans %}-{% endblock %}--{% block content %}-{{ form.variant|materializecss:"s12 m8" }}-{{ form.quantity|materializecss:"s12 m4" }}-{% endblock %}--{% block primary_action %}-{% trans "Add" context "Modal order add variant primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/cancel_fulfillment.html b/templates/dashboard/order/modal/cancel_fulfillment.htmldeleted file mode 100644index 2dfbd35915..0000000000--- a/templates/dashboard/order/modal/cancel_fulfillment.html+++ /dev/null@@ -1,31 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:fulfillment-cancel' order_pk=order.pk fulfillment_pk=fulfillment.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed with fulfillment=fulfillment.composed_id context "Modal cancel fulfillment title" %}- Cancel fulfillment #{{ fulfillment }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed with fulfillment=fulfillment.composed_id context "Modal cancel fulfillment text" %}- Are you sure you want cancel fulfillment #{{ fulfillment }}?- {% endblocktrans %}- {{ form.restock|materializecss }}- </div>-{% endblock %}--{% block cancel_action %}-{% trans "Abort" context "Modal cancel fulfillment cancel action" %}-{% endblock %}--{% block primary_action %}-{% trans "Cancel Fulfillment" context "Modal cancel fulfillment primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/cancel_line.html b/templates/dashboard/order/modal/cancel_line.htmldeleted file mode 100644index a1c24ad463..0000000000--- a/templates/dashboard/order/modal/cancel_line.html+++ /dev/null@@ -1,66 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}-{% load price from taxed_prices %}--{% block action_url %}-{% url 'dashboard:orderline-cancel' order_pk=order.pk line_pk=item.pk %}-{% endblock %}--{% block title %}-{% trans "Remove order line" context "Modal remove order line title" %}-{% endblock %}--{% block content %}- <div class="col s12">- {% trans "Are you sure you want remove this order line?" context "Modal remove order line text" %}- </div>- {{ form|materializecss }}- <div class="col s12">- <table>- <thead>- <tr>- <th class="wide">- {% trans "Item" context "Modal remove order line table header" %}- </th>- <th>- {% trans "SKU" context "Modal remove order line table header" %}- </th>- <th class="right-align">- {% trans "Price" context "Modal remove order line table header" %}- </th>- <th class="right-align">- {% trans "Quantity" context "Modal remove order line table header" %}- </th>- <th class="right-align">- {% trans "Total" context "Modal remove order line table header" %}- </th>- </tr>- </thead>- <tbody>- <tr>- <td>- {{ item }}<br>- </td>- <td>- {{ item.product_sku }}- </td>- <td class="right-align">- {% price item.unit_price display_gross=order.display_gross_prices %}- </td>- <td class="right-align">- {{ item.quantity }}- </td>- <td class="right-align">- {% price item.get_total display_gross=order.display_gross_prices %}- </td>- </tr>- </tbody>- </table>- </div>-{% endblock %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/cancel_order.html b/templates/dashboard/order/modal/cancel_order.htmldeleted file mode 100644index d1bf96af63..0000000000--- a/templates/dashboard/order/modal/cancel_order.html+++ /dev/null@@ -1,29 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:order-cancel' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% trans "Cancel order" context "Modal cancel order title" %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed with order=order context "Modal cancel order text" %}- Are you sure you want cancel order {{ order }}?- {% endblocktrans %}- {{ form.restock|materializecss }}- </div>-{% endblock %}--{% block cancel_action %}-{% trans "Abort" context "Modal cancel order cancel action" %}-{% endblock %}--{% block primary_action %}-{% trans "Cancel Order" context "Modal cancel order primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/capture.html b/templates/dashboard/order/modal/capture.htmldeleted file mode 100644index d4d4114c97..0000000000--- a/templates/dashboard/order/modal/capture.html+++ /dev/null@@ -1,36 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load babel %}-{% load i18n %}-{% load materializecss %}-{% load price from taxed_prices %}--{% block action_url %}-{% url 'dashboard:capture-payment' order_pk=order.pk payment_pk=payment.pk %}-{% endblock %}--{% block title %}-{% trans "Capture payment" context "Modal capture payment title" %}-{% endblock %}--{% block content %}- {{ form|materializecss }}- <div class="col s12">- {% trans "Before this action:" context "Modal capture payment title" %}- <ul class="list">- <li class="list-item">{% trans "Order total:" context "Modal capture payment list title" %}- {% price payment.order.total.gross %}- </li>- <li class="list-item">{% trans "Taxes (included):" context "Modal capture payment list title" %}- {% price payment.order.total.tax %}- </li>- <li class="list-item">{% trans "Captured amount:" context "Modal capture payment list title" %}- {% price captured %}- </li>- </ul>- </div>-{% endblock %}--{% block primary_action %}-{% trans "Capture" context "Modal capture payment primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/change_quantity.html b/templates/dashboard/order/modal/change_quantity.htmldeleted file mode 100644index 9988d1a49e..0000000000--- a/templates/dashboard/order/modal/change_quantity.html+++ /dev/null@@ -1,20 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:orderline-change-quantity' order_pk=order.pk line_pk=object.pk %}-{% endblock %}--{% block title %}-{% trans "Change quantity" context "Modal change quantity title" %}-{% endblock %}--{% block content %}-{{ form|materializecss:"s12 m6" }}-{% endblock %}--{% block primary_action %}-{% trans "Update" context "Dashboard update action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/create_order.html b/templates/dashboard/order/modal/create_order.htmldeleted file mode 100644index 1238db632d..0000000000--- a/templates/dashboard/order/modal/create_order.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:create-order-from-draft' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% trans "Create order" context "Modal create order title" %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed with order=order context "Modal create order text" %}- Are you sure you want create order {{ order }}? Once the order has been created, you will not be able to make changes.- {% endblocktrans %}- {% if form.notify_customer %}- {{ form.notify_customer|materializecss }}- {% endif %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Create" context "Modal create order primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/edit_customer.html b/templates/dashboard/order/modal/edit_customer.htmldeleted file mode 100644index bfd57dcd8d..0000000000--- a/templates/dashboard/order/modal/edit_customer.html+++ /dev/null@@ -1,41 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:order-customer-edit' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% trans "Edit customer details" context "Modal edit customer title" %}-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12">- {% blocktrans trimmed context "Modal edit customer text" %}- Connect an order with an account of an existing customer or provide a contact email address.- {% endblocktrans %}- </div>- </div>- <div class="row">- <div class="col s12">- {{ form.user|materializecss }}- {{ form.user_email|materializecss }}- {{ form.update_addresses|materializecss }}- </div>- </div>-{% endblock %}--{% block actions_left %}- {% if order.get_customer_email %}- <button type="submit" class="modal-action btn-flat waves-effect" formaction="{% url 'dashboard:order-customer-remove' order_pk=order.pk %}">- {% trans "Remove customer from order" context "Dashboard edit draft order remove action" %}- </button>- {% endif %}-{% endblock %}--{% block primary_action %}-{% trans "Update" context "Modal edit customer primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/edit_discount.html b/templates/dashboard/order/modal/edit_discount.htmldeleted file mode 100644index b0339e929e..0000000000--- a/templates/dashboard/order/modal/edit_discount.html+++ /dev/null@@ -1,22 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:order-discount-edit' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% trans "Edit discount" context "Modal edit discount title" %}-{% endblock %}--{% block content %}- <div class="col s12">- {{ form.discount_amount|materializecss }}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Update" context "Modal edit discount primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/edit_shipping.html b/templates/dashboard/order/modal/edit_shipping.htmldeleted file mode 100644index 8f0a0496db..0000000000--- a/templates/dashboard/order/modal/edit_shipping.html+++ /dev/null@@ -1,30 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:order-shipping-edit' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% trans "Edit shipping" context "Modal edit shipping title" %}-{% endblock %}--{% block content %}- <div class="col s12">- {{ form.shipping_method|materializecss }}- </div>-{% endblock %}--{% block actions_left %}- {% if order.shipping_method or order.shipping_method_name %}- <button type="submit" class="modal-action btn-flat waves-effect" formaction="{% url 'dashboard:order-shipping-remove' order_pk=order.pk %}">- {% trans "Remove shipping from order" context "Dashboard edit draft order remove action" %}- </button>- {% endif %}-{% endblock %}--{% block primary_action %}-{% trans "Update" context "Modal edit shipping primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/edit_voucher.html b/templates/dashboard/order/modal/edit_voucher.htmldeleted file mode 100644index bfb5245b01..0000000000--- a/templates/dashboard/order/modal/edit_voucher.html+++ /dev/null@@ -1,30 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:order-voucher-edit' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% trans "Edit voucher" context "Modal edit voucher title" %}-{% endblock %}--{% block content %}- <div class="col s12">- {{ form.voucher|materializecss }}- </div>-{% endblock %}--{% block actions_left %}- {% if order.voucher or order.discount_name %}- <button type="submit" class="modal-action btn-flat waves-effect" formaction="{% url 'dashboard:order-voucher-remove' order_pk=order.pk %}">- {% trans "Remove voucher from order" context "Dashboard edit draft order remove action" %}- </button>- {% endif %}-{% endblock %}--{% block primary_action %}-{% trans "Update" context "Modal edit voucher primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/fulfillment_tracking.html b/templates/dashboard/order/modal/fulfillment_tracking.htmldeleted file mode 100644index dc14dd8473..0000000000--- a/templates/dashboard/order/modal/fulfillment_tracking.html+++ /dev/null@@ -1,31 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:fulfillment-change-tracking' order_pk=order.pk fulfillment_pk=fulfillment.pk %}-{% endblock %}--{% block title %}-{% if fulfillment.tracking_number %}- {% trans "Edit tracking" context "Modal change fulfillment tracking title" %}-{% else %}- {% trans "Add tracking" context "Modal change fulfillment tracking title" %}-{% endif %}-{% endblock %}--{% block content %}- {{ form.tracking_number|materializecss }}- {% if form.send_mail %}- {{ form.send_mail|materializecss }}- {% endif %}-{% endblock %}--{% block primary_action %}-{% if fulfillment.tracking_number %}- {% trans "Update" context "Modal change fulfillment tracking primary action" %}-{% else %}- {% trans "Save" context "Modal change fulfillment tracking primary action" %}-{% endif %}-{% endblock %}diff --git a/templates/dashboard/order/modal/mark_as_paid.html b/templates/dashboard/order/modal/mark_as_paid.htmldeleted file mode 100644index dc2048f5f9..0000000000--- a/templates/dashboard/order/modal/mark_as_paid.html+++ /dev/null@@ -1,28 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}-{% load price from taxed_prices %}--{% block action_url %}-{% url 'dashboard:order-mark-as-paid' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% trans "Mark order as paid" context "Modal mark order as paid title" %}-{% endblock %}--{% block content %}- <div class="col s12">- {% trans "Are you sure you want mark order as paid?" context "Modal mark order as paid text" %}- </br>{% trans "Total received:" context "Modal mark order as paid text" %} {% price order.total.gross %}- </div>-{% endblock %}--{% block cancel_action %}-{% trans "Abort" context "Modal mark order as paid cancel action" %}-{% endblock %}--{% block primary_action %}-{% trans "Mark as paid" context "Modal mark order as paid primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/refund.html b/templates/dashboard/order/modal/refund.htmldeleted file mode 100644index 7d41475a18..0000000000--- a/templates/dashboard/order/modal/refund.html+++ /dev/null@@ -1,37 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load babel %}-{% load i18n %}-{% load materializecss %}-{% load price from taxed_prices %}---{% block action_url %}-{% url 'dashboard:refund-payment' order_pk=order.pk payment_pk=payment.pk %}-{% endblock %}--{% block title %}-{% trans "Refund payment" context "Modal refund payment title" %}-{% endblock %}--{% block content %}- {{ form|materializecss }}- <div class="col s12">- {% trans "Before this action:" context "Modal refund payment title" %}- <ul class="list">- <li class="list-item">{% trans "Order total:" context "Modal refund payment list title" %}- {% price payment.order.total.gross %}- </li>- <li class="list-item">{% trans "Taxes (included):" context "Modal refund payment list title" %}- {% price payment.order.total.tax %}- </li>- <li class="list-item">{% trans "Captured amount:" context "Modal refund payment list title" %}- {% price captured %}- </li>- </ul>- </div>-{% endblock %}--{% block primary_action %}-{% trans "Refund" context "Modal refund payment primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/remove_order.html b/templates/dashboard/order/modal/remove_order.htmldeleted file mode 100644index f2de35e1af..0000000000--- a/templates/dashboard/order/modal/remove_order.html+++ /dev/null@@ -1,30 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url 'dashboard:draft-order-delete' order_pk=order.pk %}-{% endblock %}--{% block title %}-{% trans "Remove draft order" context "Modal remove order title" %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed with order=order context "Modal remove order text" %}- Are you sure you want remove draft order {{ order }}?- {% endblocktrans %}- </div>-{% endblock %}--{% block cancel_action %}-{% trans "Abort" context "Modal remove order cancel action" %}-{% endblock %}--{% block primary_action %}-{% trans "Remove draft order" context "Modal remove order primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/modal/void.html b/templates/dashboard/order/modal/void.htmldeleted file mode 100644index 969feae9ce..0000000000--- a/templates/dashboard/order/modal/void.html+++ /dev/null@@ -1,23 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}-{% url 'dashboard:void-payment' order_pk=order.pk payment_pk=payment.pk %}-{% endblock %}--{% block title %}-{% trans "Void payment" context "Modal void payment text" %}-{% endblock %}--{% block content %}- {{ form|materializecss }}- <div class="col s12">- {% trans "Do you want to void the payment?" context "Modal void payment text" %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Void" context "Modal void payment primary action" %}-{% endblock %}diff --git a/templates/dashboard/order/pdf/base_pdf.html b/templates/dashboard/order/pdf/base_pdf.htmldeleted file mode 100644index 49cd630a84..0000000000--- a/templates/dashboard/order/pdf/base_pdf.html+++ /dev/null@@ -1,42 +0,0 @@-{% load i18n static %}-{% load price from taxed_prices %}-{% load discount_as_negative from voucher %}-{% load render_bundle from webpack_loader %}--<html lang="{{ LANGUAGE_CODE }}">- <head>- <title>{% block title %}{% endblock %}</title>- {% render_bundle "document" "css" %}- <style>- @page {- @bottom-center {- content: "{{ site.name }}";- }-- @bottom-right {- content:- {% blocktrans trimmed context "Order PDF footer page counter" %}- "Page " counter(page) "/" counter(pages)- {% endblocktrans %};- }- }- </style>- </head>-- <body>- <header>- <div style="float: left">- <img alt="logo" src="{% static "images/logo-light.svg" %}" />- </div>-- <div style="float: right">- {{ order.created }}<br />- {% blocktrans trimmed context "Order PDF header" with order_id=order.id %}- Order #{{ order_id }}- {% endblocktrans %}- </div>- </header>-- {% block content %}{% endblock %}- </body>-</html>diff --git a/templates/dashboard/order/pdf/invoice.html b/templates/dashboard/order/pdf/invoice.htmldeleted file mode 100644index 2ef2a6c4a1..0000000000--- a/templates/dashboard/order/pdf/invoice.html+++ /dev/null@@ -1,151 +0,0 @@-{% extends "dashboard/order/pdf/base_pdf.html" %}--{% load i18n static %}-{% load price from taxed_prices %}-{% load discount_as_negative from voucher %}-{% load render_bundle from webpack_loader %}--{% block title %}- {% blocktrans trimmed context "Invoice title" with order_id=order.id %}- Invoice for Order #{{ order_id }}- {% endblocktrans %}-{% endblock %}--{% block content %}- <h2>{% trans "Invoice" context "Order invoice" %}</h2>- <table width="100%" border="1" cellspacing="0">- <thead>- <tr>- {% if order.shipping_address %}- <th align="left" width="50%">- {% trans "Shipping address" context "Invoice shipping address" %}- </th>- {% endif %}- {% if order.billing_address %}- <th align="left" {% if order.shipping_address %} width="50%"{% endif %}>- {% trans "Billing address" context "Invoice billing address" %}- </th>- {% endif %}- </tr>- </thead>- <tbody>- <tr>- {% if order.shipping_address %}- <td>- {% include "dashboard/includes/_address.html" with address=order.shipping_address only %}- </td>- {% endif %}- {% if order.billing_address %}- <td>- {% include "dashboard/includes/_address.html" with address=order.billing_address only %}- </td>- {% endif %}- </tr>- </tbody>- </table>-- <h2>{% trans "Items Ordered" context "Invoice ordered items header" %}</h2>- {% if order %}- <table class="data-table order-table bordered">- <thead>- <tr>- <th>- <div class="wide">- {% trans "Item" context "Shipment order table header" %}- </div>- </th>- <th>- {% trans "SKU" context "Shipment order table header" %}- </th>- <th class="right-align">- {% trans "Tax rate" context "Shipment order table header" %}- </th>- <th class="right-align">- {% trans "Gross price" context "Shipment order table header" %}- </th>- <th class="right-align">- {% trans "Quantity" context "Shipment order table header" %}- </th>- <th class="right-align">- {% trans "Total" context "Shipment order table header" %}- </th>- </tr>- </thead>- <tbody>- {% for line in order %}- <tr>- <td>- {{ line|truncatechars:30 }}<br>- </td>- <td>- {{ line.product_sku }}- </td>- <td class="right-align">- {% blocktrans with tax_rate=line.tax_rate context "Order line tax rate value" %}- {{ tax_rate }} %- {% endblocktrans %}- </td>- <td class="right-align">- {% price line.unit_price.gross %}- </td>- <td class="right-align">- {{ line.quantity }}- </td>- <td class="right-align">- {% price line.get_total.gross %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- {% endif %}-- <table class="bordered highlight responsive data-table">- <tbody>- <tr>- <td class="wide">- {% trans "Subtotal" context "Order subtotal net price" %}- </td>- <td class="right-align">- {% price order.get_subtotal.gross %}- </td>- </tr>- <tr>- <td>- {% trans "Shipping" context "Order total shipping price header" %} {% if order.shipping_method_name %}({{ order.shipping_method_name }}){% endif %}- </td>- <td class="right-align">- {% price order.shipping_price.gross %}- </td>- </tr>- <tr>- <td>- {% trans "Total taxes (included)" context "Order total taxes header" %}- </td>- <td class="right-align">- {% price order.total.tax %}- </td>- </tr>- {% if order.discount_amount %}- <tr>- <td>- {% trans "Discount" context "Order voucher header" %} {% if order.discount_name %}({{ order.translated_discount_name|default:order.discount_name }}){% endif %}- </td>- <td class="right-align">- {% discount_as_negative order.discount html=True %}- </td>- </tr>- {% endif %}- </tbody>- <tfoot>- <tr>- <td>- {% trans "Grand total" context "Order total price header" %}- </td>- <td class="right-align">- {% price order.total.gross %}- </td>- </tr>- </tfoot>- </table>-{% endblock %}diff --git a/templates/dashboard/order/pdf/packing_slip.html b/templates/dashboard/order/pdf/packing_slip.htmldeleted file mode 100644index 4a4816e421..0000000000--- a/templates/dashboard/order/pdf/packing_slip.html+++ /dev/null@@ -1,85 +0,0 @@-{% extends "dashboard/order/pdf/base_pdf.html" %}--{% load i18n static %}-{% load render_bundle from webpack_loader %}-{% load shop %}--{% block title %}- {% blocktrans trimmed context "Packing slips title" with fulfillment=fulfillment %}- Packing Slips for Fulfillment #{{ fulfillment }}- {% endblocktrans %}-{% endblock %}--{% block content %}- <h2>{% trans "Packing Slips" context "Packing slips header" %}</h2>- <table width="100%" border="1" cellspacing="0">- <thead>- <tr>- {% if order.shipping_address %}- <th align="left" width="50%">- {% trans "Shipping Details" context "Packing slip shipping details" %}- </th>- {% endif %}- <th align="left"{% if order.shipping_address %} width="50%"{% endif %}>- {% trans "Billing Details" context "Packing slip shipping details" %}- </th>- </tr>- </thead>- <tbody>- <tr>- {% if order.shipping_address %}- <td valign="top">- {% with order.shipping_address as address %}- <h2>- {% trans "Shipping address" context "Packing slip shipping address" %}- </h2>- {% include "dashboard/includes/_address.html" with address=address only %}- {% endwith %}- </td>- {% endif %}- <td valign="top">- {% with order.billing_address as address %}- <h2>- {% trans "Billing address" context "Packing slip billing address" %}- </h2>- {% include "dashboard/includes/_address.html" with address=address only %}- {% endwith %}- </td>- </tr>- </tbody>- </table>-- <h2>{% trans "Items Ordered" context "Order invoice" %}</h2>- {% if order %}- <table class="bordered data-table">- <thead>- <tr>- <th class="wide">- {% trans "Item" context "Order table header" %}- </th>- <th>- {% trans "SKU" context "Order table header" %}- </th>- <th class="right-align">- {% trans "Quantity" context "Order table header" %}- </th>- </tr>- </thead>- <tbody>- {% for line in fulfillment %}- <tr>- <td>- {{ line.order_line }}<br>- </td>- <td>- {{ line.order_line.product_sku }}- </td>- <td class="right-align">- {{ line.quantity }}- </td>- </tr>- {% endfor %}- </tbody>- </table>- {% endif %}-{% endblock %}diff --git a/templates/dashboard/order/widget/phone_prefix_widget.html b/templates/dashboard/order/widget/phone_prefix_widget.htmldeleted file mode 100644index d51f4d03be..0000000000--- a/templates/dashboard/order/widget/phone_prefix_widget.html+++ /dev/null@@ -1,7 +0,0 @@-<div class="phone-prefix-input">- {% for widget in widget.subwidgets %}- <div class="phone-prefix-input__field">- {% include widget.template_name %}- </div>- {% endfor %}-</div>diff --git a/templates/dashboard/order/zero_page.html b/templates/dashboard/order/zero_page.htmldeleted file mode 100644index 59d47bfdfe..0000000000--- a/templates/dashboard/order/zero_page.html+++ /dev/null@@ -1,11 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No orders found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Orders will appear here after customers complete the checkout.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/page/detail.html b/templates/dashboard/page/detail.htmldeleted file mode 100644index 0f6341ae08..0000000000--- a/templates/dashboard/page/detail.html+++ /dev/null@@ -1,61 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load status %}-{% load utils %}--{% block title %}{% trans "Pages" context "Pages list page title" %} -- {{ block.super }}{% endblock %}--{% block body_class %}body-pages{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:page-list' %}" class="breadcrumb">- {% trans "Pages" context "Pages form breadcrumbs" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:page-list' %}">- <svg data-src="{% static 'dashboard/images/arrow-left.svg' %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {{ page }}- </span>- </li>- </ul>-{% endblock %}--{% block menu_pages_class %}active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <div class="card-content">- <span class="right">{% render_page_availability page %}</span>- <span class="card-title">{{ page }}<br></span>- <h4>- {% trans "Page URL" context "Page URL" %}- </h4>- {{ page.get_full_url }}- </div>- <div class="card-action">- <a href="{% url 'dashboard:page-update' page.pk %}" class="btn-flat waves-effect">- {% trans "Edit page" context "Page action" %}- </a>- <a href="#base-modal" data-href="{% url 'dashboard:page-delete' pk=page.pk %}" class="modal-trigger-custom btn-flat waves-effect">- {% trans "Remove page" context "Page action" %}- </a>- <a href="{% url "page:details" slug=page.slug %}" target="_blank" class="btn-flat waves-effect">- {% trans "View on site" context "Page action" %}- </a>- </div>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/page/form.html b/templates/dashboard/page/form.htmldeleted file mode 100644index b6a56aeee9..0000000000--- a/templates/dashboard/page/form.html+++ /dev/null@@ -1,92 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if page.pk %}- {% trans "Edit" context "Page form page title" %} - {{ page }}- {% else %}- {% trans "Add new page" context "Page form page title" %}- {% endif %}- {{ block.super }}-{% endblock %}--{% block body_class %}body-page{% endblock %}--{% block header_menu %}- {% url "dashboard:page-list" as url %}- {% include "dashboard/includes/_back-link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:page-list' %}" class="breadcrumb">- {% trans "Pages" context "Dashboard pages list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:page-list' %}">- <svg data-src="{% static 'dashboard/images/arrow-left.svg' %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- {% if page.pk %}- <a href="{% url 'dashboard:page-details' pk=page.pk %}" class="breadcrumbs--ellipsed-item">- {{ page }}- </a>- {% else %}- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new page" context "Page form breadcrumbs" %}- </span>- {% endif %}- </li>- {% if page.pk %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Page form breadcrumbs" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_pages_class %}active{% endblock %}--{% block content %}- <form method="post" class="card">- {% csrf_token %}- <div class="row">- <div class="card-content">- <div class="col s12 l8">- <div class="row">- {{ form.title|materializecss }}- </div>- <div class="row">- {{ form.content|materializecss }}- </div>- {% include "dashboard/includes/_google_preview.html" with object=page form=form %}- </div>- <div class="col s12 l4">- {{ form.slug|materializecss }}- {{ form.publication_date|materializecss }}- {{ form.is_published|materializecss }}- </div>- </div>- </div>- <div class="row">- <div class="col s12">- <div class="card-action right-align">- {% if page.pk %}- <a href="{% url 'dashboard:page-list' %}" class="btn-flat">{% trans "Cancel" %}</a>- <button type="submit" class="btn">{% trans "Save" %}</button>- {% else %}- <a href="{% url 'dashboard:page-list' %}" class="btn-flat">{% trans "Cancel" %}</a>- <button type="submit" class="btn submit-stay">{% trans "Create" %}</button>- {% endif %}- </div>- </div>- </div>- </form>-{% endblock %}diff --git a/templates/dashboard/page/list.html b/templates/dashboard/page/list.htmldeleted file mode 100644index 71a417eaa2..0000000000--- a/templates/dashboard/page/list.html+++ /dev/null@@ -1,87 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load static %}-{% load status %}-{% load utils %}--{% block title %}- {% trans "Pages" context "Pages list page title"%} - {{ block.super }}-{% endblock %}--{% block body_class %}body-page{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a class="btn-fab-default waves-effect waves-light"- href="{% url 'dashboard:page-add' %}"- title="{% trans "Add page" context "Page list add button text" %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li>{% trans "Pages" %}</li>- </ul>-{% endblock %}--{% block menu_pages_class %}active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if pages %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table data-table-description">- <thead>- <tr>- {% trans "Title" context "Static pages table header name" as label %}- {% sorting_header 'title' label %}-- {% trans "URL" context "Static pages table header url" as label %}- {% sorting_header 'url' label is_wide=True %}- <th>- {% trans "Visibility" context "Pages table header" %}- </th>- </tr>- </thead>- <tbody>- {% for page in pages %}- <tr data-action-go="{% url 'dashboard:page-details' pk=page.pk %}">- <td>- {{ page.title }}- </td>- <td>- {{ page.get_full_url }}- </td>- <td>- {% render_page_availability page %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate pages %}- {% else %}- {% if is_empty %}- {% include 'dashboard/page/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No pages found." context "Empty pages list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/page/modal_delete.html b/templates/dashboard/page/modal_delete.htmldeleted file mode 100644index f1abd52e28..0000000000--- a/templates/dashboard/page/modal_delete.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url 'dashboard:page-delete' pk=page.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Modal remove page text" %}- Remove page {{ page }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Modal remove page text" %}- Are you sure you want to remove page <strong>{{ page }}</strong>?- {% endblocktrans %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/page/zero_page.html b/templates/dashboard/page/zero_page.htmldeleted file mode 100644index 9cf595558a..0000000000--- a/templates/dashboard/page/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No pages found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Pages allows to create custom static pages such as "About us" that will be displayed at particular url.<br>- You can create pages by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/payments/configuration_form.html b/templates/dashboard/payments/configuration_form.htmldeleted file mode 100644index abcb727516..0000000000--- a/templates/dashboard/payments/configuration_form.html+++ /dev/null@@ -1,62 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% trans "Payment configuration" context "Dashboard payments form" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-customers{% endblock %}-{% block menu_payments_class %}active{% endblock %}--{% block breadcrumbs %}-<ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:payments-index" %}" class="breadcrumb">- {% trans "Payments configurations" context "Dashboard payment configuration page" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:payments-index" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {{ plugin_name }}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="tab-content" id="details">- <div class="row">- <div class="col m12 l9">- <form method="post" class="card" id="form-config" novalidate>- {% csrf_token %}- <div class="card-content">- <div class="row">- <div class="col s12 l8">- {% for field in config_form %}- <div class="row">- {{ field|materializecss }}- </div>- {% endfor %}- </div>- </div>- </div>- <div class="card-action right-align">- <a href="{% url "dashboard:payments-index" %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- </div>- </form>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/payments/index.html b/templates/dashboard/payments/index.htmldeleted file mode 100644index 10c1c01a1d..0000000000--- a/templates/dashboard/payments/index.html+++ /dev/null@@ -1,52 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Payments" context "Dashboard payments form" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-customers{% endblock %}-{% block menu_payments_class %}active{% endblock %}--{% block breadcrumbs %}-<ul class="breadcrumbs" >- <li class="visible-s">- {% trans "Payments configuration" context "Dashboard payment configuration page" %}- </li>-</ul>-{% endblock %}--{% block content %}-<div class="row">- <div class="col s12 l9">- {% if payment_gateways %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- {% trans "Name" context "Payment gateways table header" as label %}- {% sorting_header 'name' label %}- </tr>- </thead>- <tbody>- {% for gateway in payment_gateways%}- <tr data-action-go="{% url "dashboard:configure-payment" gateway %}">- <td>- {{ gateway }}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate payment_gateways %}- {% else %}- {% endif %}- </div>-</div>-{% endblock %}diff --git a/templates/dashboard/product/attribute/detail.html b/templates/dashboard/product/attribute/detail.htmldeleted file mode 100644index a9eb7de67a..0000000000--- a/templates/dashboard/product/attribute/detail.html+++ /dev/null@@ -1,114 +0,0 @@-{% extends 'dashboard/base.html' %}--{% load i18n %}-{% load static %}--{% block title %}- {{ attribute }} - {{ block.super }}-{% endblock %}--{% block body_class %}body-attribute{% endblock %}--{% block menu_attributes_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:attributes' %}" class="breadcrumbs--ellipsed-item">- {% trans "Attributes" context "Attribute detail breadcrumbs" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:attributes' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {{ attribute }}- </span>- </li>- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}-- <div class="row">- <div class="col s12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {{ attribute.name }}- </span>- {% if product_types %}- {% trans "Product types" %}:- {% for product_type in product_types %}- <a href="{% url "dashboard:product-type-update" pk=product_type.pk %}">{{ product_type }}</a>- {% if not forloop.last %},{% endif %}- {% endfor %}- {% elif attribute.pk %}- <a href="{% url "dashboard:product-type-list" %}">Assign to a product type</a>- {% endif %}- </div>- <div class="card-action">- <a class="btn-flat waves-effect" href="{% url "dashboard:attribute-update" attribute.pk %}">- {% trans "Edit attribute" context "Attribute detail action" %}- </a>- <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:attribute-delete' pk=attribute.pk %}">- {% trans "Remove attribute" context "Attribute detail action" %}- </a>- </div>- </div>- </div>- <div class="col s12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">{% trans "Attribute values" %}</span>- </div>- <div class="data-table-header-action">- <a href="{% url 'dashboard:attribute-value-add' attribute_pk=attribute.pk %}" class="btn-flat waves-effect">- {% trans "Add" %}- </a>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th class="data-table-icon"></th>-- <th>{% trans "Display name" %}</th>- <th></th>- </tr>- </thead>- <tbody class="sortable-items" data-post-url="{% url 'dashboard:attribute-values-reorder' attribute_pk=attribute.pk %}" data-post-name="ordered_values">- {% for value in values %}- <tr class="sortable-item" data-id="{{ value.pk }}">- <td class="data-table-icon ignore-link sortable__drag-area">- <svg data-src="{% static "dashboard/images/reorder.svg" %}" height="20" width="20" fill="#000" />- </td>- <td>- {{ value.name }}- </td>- <td class="right-align">- <a href="{% url 'dashboard:attribute-value-update' attribute_pk=attribute.pk value_pk=value.pk %}" class="btn-flat waves-effect">- {% trans 'Edit' context 'Attribute value edit action' %}- </a>- <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:attribute-value-delete' attribute_pk=attribute.pk value_pk=value.pk %}">- {% trans 'Remove' context 'Attribute value edit action' %}- </a>- </td>- </tr>- {% empty %}- <tr>- <td colspan="2">{% trans "No attribute values" context "Empty list of attribute values" %}</td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/attribute/form.html b/templates/dashboard/product/attribute/form.htmldeleted file mode 100644index 305d46552e..0000000000--- a/templates/dashboard/product/attribute/form.html+++ /dev/null@@ -1,96 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if attribute.pk %}- {% trans "Edit" context "Dashboard attributes list" %} - {{ attribute }}- {% else %}- {% trans "Add new attribute" context "Attribute detail page title" %}- {% endif %}- - {{ block.super }}-{% endblock %}--{% block body_class %}body-attributes{% endblock %}--{% block menu_attributes_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:attributes" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}---{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:attributes' %}" class="breadcrumbs--ellipsed-item">- {% trans "Attributes" context "Dashboard attributes list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:attributes' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- {% if attribute.pk %}- <li>- <a href="{% url 'dashboard:attribute-details' attribute.pk %}" class="breadcrumbs--ellipsed-item">- {{ attribute }}- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Attribute detail breadcrumbs" %}- </span>- </li>- {% else %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new attribute" context "Attribute detail breadcrumbs" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data" id="form-attributes" novalidate>- <div class="card-content card-content-form">- {% csrf_token %}- <div class="row">- {{ form.name|materializecss }}- </div>- <div class="row">- {{ form.slug|materializecss }}- </div>- </div>- <div class="card-action right-align">- {% if attribute.pk %}- <a href="{% url 'dashboard:attribute-details' attribute.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- {% else %}- <a href="{% url 'dashboard:attributes' %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/attribute/list.html b/templates/dashboard/product/attribute/list.htmldeleted file mode 100644index ce3c41fb4e..0000000000--- a/templates/dashboard/product/attribute/list.html+++ /dev/null@@ -1,87 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Attributes" context "Dashboard attributes list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-attributes{% endblock %}--{% block menu_attributes_class %}active{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a class="btn-fab-default waves-effect waves-light" href="{% url 'dashboard:attribute-add' %}" title="{% trans "Add attribute" context "Attribute list add button text" %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- {% trans "Attributes" context "Dashboard attributes list" %}- </li>- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if attributes %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight data-table data-table-description">- <thead>- <tr>- {% trans "Name" context "Dashboard attributes list table header name" as label %}- {% sorting_header 'name' label %}- <th>{% trans "Product types" context "Name of product types related to the attribute" %}</th>- <th>- {% trans "Values" context "Dashboard attributes list table header values" %}- </th>- </tr>- </thead>- <tbody>- {% for pk, name, product_types, values in attributes %}- <tr data-action-go="{% url 'dashboard:attribute-details' pk=pk %}">- <td>- {{ name }}- </td>- <td>- {{ product_types|join:","|default:'-' }}- </td>- <td>- {% if values %}{{ values|join:", " }}{% else %}-{% endif %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate attributes %}- {% else %}- {% if is_empty %}- {% include 'dashboard/product/attribute/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No attributes found." context "Empty attribute list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/attribute/modal/attribute_confirm_delete.html b/templates/dashboard/product/attribute/modal/attribute_confirm_delete.htmldeleted file mode 100644index d4517ff763..0000000000--- a/templates/dashboard/product/attribute/modal/attribute_confirm_delete.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:attribute-delete" pk=attribute.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Modal remove attribute text" %}- Remove attribute {{ attribute }}-{% endblocktrans %}-{% endblock title %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Modal remove attribute text" %}- Are you sure you want to remove attribute <strong>{{ attribute }}</strong>?- {% endblocktrans %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/product/attribute/values/form.html b/templates/dashboard/product/attribute/values/form.htmldeleted file mode 100644index d08baf4bb8..0000000000--- a/templates/dashboard/product/attribute/values/form.html+++ /dev/null@@ -1,95 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if attribute.pk %}- {% trans "Edit" context "Dashboard attributes list" %} - {{ attribute }}- {% else %}- {% trans "Add new attribute" context "Attribute detail page title" %}- {% endif %}- - {{ block.super }}-{% endblock %}--{% block body_class %}body-attributes{% endblock %}--{% block menu_attributes_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:attributes" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}---{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:attributes' %}" class="breadcrumbs--ellipsed-item">- {% trans "Attributes" context "Dashboard attributes list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:attributes' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- {% if attribute.pk %}- <li>- <a href="{% url 'dashboard:attribute-details' attribute.pk %}" class="breadcrumbs--ellipsed-item">- {{ attribute }}- </a>- </li>- {% endif %}- {% if value.pk %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Attribute detail breadcrumbs" %}- </span>- </li>- {% else %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new attribute" context "Attribute detail breadcrumbs" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data" id="form-attributes" novalidate>- {% csrf_token %}- <div class="card-content">- <span class="card-title">- {% trans "Attribute values" context "Attribute values form title" %}- </span>- <div class="row">- {{ form|materializecss }}- </div>- </div>- <div class="card-action right-align">- <a href="{% url 'dashboard:attribute-details' pk=attribute.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if value.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/attribute/values/modal/confirm_delete.html b/templates/dashboard/product/attribute/values/modal/confirm_delete.htmldeleted file mode 100644index 3f216f6b81..0000000000--- a/templates/dashboard/product/attribute/values/modal/confirm_delete.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:attribute-value-delete" attribute_pk=attribute_pk value_pk=value.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Modal delete attribute text" %}-Delete attribute value {{ value }}-{% endblocktrans %}-{% endblock title %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Modal delete attribute text" %}- Are you sure you want to remove attribute value <strong>{{ value }}</strong>?- {% endblocktrans %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/product/attribute/zero_page.html b/templates/dashboard/product/attribute/zero_page.htmldeleted file mode 100644index 63b16741de..0000000000--- a/templates/dashboard/product/attribute/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No attributes found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Attributes are used to define custom properties of products and variants, that can be used for filtering purposes in the storefront.<br>- You can add attributes by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/product/detail.html b/templates/dashboard/product/detail.htmldeleted file mode 100644index 87a5147c33..0000000000--- a/templates/dashboard/product/detail.html+++ /dev/null@@ -1,278 +0,0 @@-{% extends "dashboard/base.html" %}--{% load i18n %}-{% load price from taxed_prices %}-{% load static %}-{% load status %}-{% load utils %}--{% block title %}{{ product }} - {{ block.super }}{% endblock %}--{% block body_class %}body-products{% endblock %}--{% block menu_products_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:product-list" %}" class="breadcrumb">- {% trans "Products" context "Product form breadcrumbs" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:product-list" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {{ product }}- </span>- </li>- </ul>-{% endblock %}-{% block content %}- <div class="row">- <div class="col s12 l8">- <div class="card">- <div class="card-content">- <div class="product-header">- <div class="product-header__title">- <span class="card-title">- {{ product }}- </span>- </div>- <div class="product-header__switch">- <form id="toggle-publish-form" action="{% url 'dashboard:product-publish' product.pk %}">- {% csrf_token %}- <div class="switch" id="product-is-published">- <label>- <input id="toggle-publish-switch" type="checkbox" {% if product.is_published %} checked {% endif %}>- <span class="lever"></span>- <span class="label">- {% if product.is_published %}- {% trans "Published" context "Product field" %}- {% else %}- {% trans "Draft" context "Product field" %}- {% endif %}- </span>- </label>- </div>- </form>- </div>- </div>- <div class="row">- <div class="col s12">- <h5>{% render_availability_status product %}</h5>- </div>- </div>- <div class="product-description">- <p>- {{ product.description | safe }}- </p>- </div>- </div>- <div class="card-action">- <a href="{% url "dashboard:product-update" product.pk %}" class="btn-flat waves-effect">- {% trans "Edit product" context "Product action" %}- </a>- <a href="#base-modal" data-href="{% url 'dashboard:product-delete' pk=product.pk %}" class="modal-trigger-custom btn-flat waves-effect">- {% trans "Remove product" context "Product action" %}- </a>- <a href="{{ product.get_absolute_url }}" target="_blank" class="btn-flat waves-effect">- {% trans "View on site" context "Product action" %}- </a>- </div>- </div>- {% if not no_variants %}- <div class="card">- <div class="card-content">- <span class="card-title">{% trans "Variant" %}</span>- </div>- <div class="data-table-header-action">- <a href="{% url 'dashboard:variant-add' product_pk=product.pk %}" class="btn-flat waves-effect">{% trans "Add" %}</a>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>{% trans "SKU" %}</th>- <th>{% trans "Name" %}</th>- <th>{% trans "Status" %}</th>- <th class="right-align">- {% if site.settings.include_taxes_in_prices %}- {% trans "Gross price" %}- {% else %}- {% trans "Net price" %}- {% endif %}- </th>- <th class="right-align">{% trans "Margin" %}</th>- <th></th>- </tr>- </thead>- <tbody>- {% for variant in variants %}- <tr data-action-go="{% url "dashboard:variant-details" product_pk=product.pk variant_pk=variant.pk %}">- <td>{{ variant.sku }}</td>- <td>{{ variant }}</td>- <td class="wide">{% render_variant_availability_status variant %}</td>- <td class="right-align">- {% price variant.base_price %}- </td>- <td class="right-align">- {% margins_for_variant variant=variant as margins %}- {% if margins|length > 1 %}- {{ margins|first }}% - {{ margins|last }}%- {% elif margins %}- {{ margins|first }}%- {% else %}- -- {% endif %}- </td>- <td><a href="{% url 'dashboard:variant-update' product_pk=product.pk variant_pk=variant.pk %}" class="btn-flat waves-effect">{% trans "Edit" %}</a></td>- </tr>- {% empty %}- <tr>- <td colspan="5">{% trans "No variants found" context "Dashboard product details page" %}</td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% endif %}- </div>- <div class="col s12 l4">- <div class="row no-margin">- <div class="col s12">- <div class="card">- <div class="data-table-header">- <div class="data-table-title">- <h5>- {% trans "Pricing" context "Product pricing card header" %}- </h5>- <h6>- {% if product.charge_taxes and tax_rate_code %}- {% blocktrans trimmed with tax_rate=tax_rate_code context "Product pricing card header subtitle" %}- Taxes are charged ({{ tax_rate }} tax rate)- {% endblocktrans %}- {% else %}- {% trans "Taxes are not charged" context "Product pricing card header subtitle" %}- {% endif %}- </h6>- </div>- </div>- <div class="data-table-container">- <table class="data-table bordered highlight">- <tbody>- <tr>- <td>- {% if site.settings.include_taxes_in_prices %}- {% trans "Gross sale price" context "Product field" %}- {% else %}- {% trans "Net sale price" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% price sale_price display_gross=site.settings.include_taxes_in_prices %}- </td>- </tr>- {% if discounted_price != sale_price %}- <tr>- <td>- {% if site.settings.include_taxes_in_prices %}- {% trans "Gross discounted price" context "Product field" %}- {% else %}- {% trans "Net discounted price" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% price discounted_price display_gross=site.settings.include_taxes_in_prices %}- </td>- </tr>- {% endif %}- <tr>- <td>- {% if site.settings.include_taxes_in_prices %}- {% trans "Gross purchase cost" context "Product field" %}- {% else %}- {% trans "Net purchase cost" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% price purchase_cost %}- </td>- </tr>- <tr>- <td>- {% trans "Margin" context "Product field" %}- </td>- <td class="right-align">- {% if margin %}- {% if margin.0 == margin.1 %}- {{ margin.0 }}%- {% else %}- {{ margin.0 }}% - {{ margin.1 }}%- {% endif %}- {% else %}- -- {% endif %}- </td>- </tr>- </tbody>- </table>- </div>- </div>- {% if no_variants %}- <div class="card">- <div class="data-table-header">- <div class="data-table-title">- <h5>- {% trans "Inventory" context "Product variant inventory card header" %}- </h5>- </div>- </div>- <div class="data-table-container">- <table class="data-table bordered highlight">- <tbody>- <tr>- <td>- {% trans "Number in stock" context "Dashboard variant details view" %}- </td>- <td class="right-align">- {{ only_variant.quantity }}- </td>- </tr>- <tr>- <td>- {% trans "Allocated" context "Dashboard variant details view" %}- </td>- <td class="right-align">- {{ only_variant.quantity_allocated }}- </td>- </tr>- </tbody>- </table>- </div>- </div>- {% endif %}- <div class="card">- <div class="card-content">- <span class="card-title">{% trans "Images" %}</span>- <div class="row">- {% for image in images %}- <div class="col s4">- <img class="responsive-img" src="{{ image.image.thumbnail.255x255 }}" srcset="{{ image.image.thumbnail.255x255 }} 1x, {{ image.image.thumbnail.510x510 }} 2x" alt="{{ image.alt }}">- </div>- {% endfor %}- </div>- </div>- <div class="card-action">- <a href="{% url 'dashboard:product-image-list' product.pk %}" class="btn-flat waves-effect">{% trans "Edit images" %}</a>- </div>- </div>- </div>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/form.html b/templates/dashboard/product/form.htmldeleted file mode 100644index e1c326dd3c..0000000000--- a/templates/dashboard/product/form.html+++ /dev/null@@ -1,153 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if product.pk %}- {% trans "Edit" context "Dashboard products list" %} - {{ product }}- {% else %}- {% trans "Add new product" context "Product form page title" %}- {% endif %}- - {{ block.super }}-{% endblock %}--{% block body_class %}body-products{% endblock %}--{% block menu_products_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:product-list" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:product-list" %}" class="breadcrumb">- {% trans "Products" context "Dashboard products list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:product-list" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- {% if product.pk %}- <a href="{% url "dashboard:product-details" pk=product.pk %}" class="breadcrumbs--ellipsed-item">- {{ product }}- </a>- {% else %}- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new product" context "Product form breadcrumbs" %}- </span>- {% endif %}- </li>- {% if product.pk %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Product form breadcrumbs" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="tab-content" id="details">- <div class="row">- <div class="col m12 l9">- <form method="post" class="card" id="form-product" novalidate>- {% csrf_token %}- <div class="card-content">- <div class="row">- <div class="col s12 l8" >- <div class="row">- {{ product_form.name|materializecss }}- </div>- <div class="row">- {{ product_form.description|materializecss }}- </div>- <span class="card-title">Availability</span>- <div class="row">- <div class="col s12 m3">- {{ product_form.is_published|materializecss }}- </div>- <div class="col s12 m9">- {{ product_form.publication_date|materializecss }}- </div>- </div>- {% include "dashboard/includes/_google_preview.html" with object=product form=product_form %}- </div>- <div class="col s12 l4">- <div class="row">- {{ product_form.price|materializecss }}- </div>- <div class="row">- {{ product_form.tax_rate|materializecss }}- {{ product_form.charge_taxes|materializecss }}- </div>- {% if not product.product_type.has_variants %}- <div class="row">- {{ variant_form.sku|materializecss }}- </div>- <div class="row">- {{ variant_form.quantity|materializecss }}- </div>- <div class="row">- {{ variant_form.track_inventory|materializecss }}- </div>- {% endif %}- <div class="row">- {{ product_form.category|materializecss }}- </div>- <div class="row">- {{ product_form.collections|materializecss }}- </div>- {% if product.product_type.is_shipping_required %}- <span class="card-title">{% trans "Shipping" %}</span>- <br>- {{ product_form.weight|materializecss }}- {% endif %}- <span class="card-title">{% trans "Attributes" %}</span>- <br>- <h6>- {% blocktrans with product_type_name=product.product_type %}- Product Type: {{ product_type_name }}- {% endblocktrans %}- </h6>- <br>- {% for attribute_field in product_form.iter_attribute_fields %}- <div class="row attribute-select-or-create">- {{ attribute_field|materializecss:"input-field s12" }}- </div>- {% endfor %}- </div>- </div>- </div>- <div class="card-action right-align">- {% if product.pk %}- <a href="{% url 'dashboard:product-details' product.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- {% else %}- <a href="{% url 'dashboard:product-list' %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- <div class="col m12 l3 help-box"></div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/list.html b/templates/dashboard/product/list.htmldeleted file mode 100644index 2f553ea0d2..0000000000--- a/templates/dashboard/product/list.html+++ /dev/null@@ -1,112 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load price from taxed_prices %}-{% load get_product_image_thumbnail from product_images %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Products" context "Dashboard products list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-products-list{% endblock %}--{% block menu_products_class %}active{% endblock %}--{% block header_extra %}- {% if product_types %}- <div class="btn-fab-fixed">- {% if product_types|length > 1 %}- <a data-href="{% url "dashboard:product-add-select-type" %}" class="btn-fab-default waves-effect waves-light modal-trigger-custom" href="#base-modal" title="{% trans "Add product" context "Product list add button text" %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- {% else %}- <a class="btn-fab-default waves-effect waves-light modal-trigger" href="{% url 'dashboard:product-add' product_types.0.pk %}" title="{% trans "Add product" context "Product list add button text" %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- {% endif %}- </div>- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- {% trans "Products" context "Dashboard products list" %}- </li>- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9" id="product-list">- {% if products %}- <div class="card">- <form method="POST" action="{% url 'dashboard:product-bulk-update' %}" novalidate id="bulk-actions-form">- {% csrf_token %}- <input name="action" type="hidden" id="bulk-action" />- {% include 'dashboard/product/../includes/_bulk_actions_bar.html' %}- <div class="data-table-container">- <table class="bordered highlight responsive data-table last-right-align">- <thead>- <tr>- <th class="bulk-checkbox">- <input id="select-all-items" type="checkbox" class="filled-in select-all select-item">- <label for="select-all-items"></label>- </th>- <th></th>- {% trans "Name" context "Products list table header" as label %}- {% sorting_header 'name' label is_wide=True %}-- {% trans "Price" context "Products list table header" as label %}- {% sorting_header 'price_amount' label is_wide=True %}- </tr>- </thead>- <tbody>- {% for product in products %}- <tr class="avatar" data-action-go="{% url 'dashboard:product-details' pk=product.pk %}">- <td class="bulk-checkbox ignore-link">- <input id="id_products_{{ product.pk }}" type="checkbox" name="products" value="{{ product.pk }}" class="filled-in select-item">- <label for="id_products_{{ product.pk }}"></label>- </td>- <td class="avatar">- <img src="{% get_product_image_thumbnail product.get_first_image size=60 method="thumbnail" %}"- srcset="{% get_product_image_thumbnail product.get_first_image size=60 method="thumbnail" %} 1x, {% get_product_image_thumbnail product.get_first_image size=120 method="thumbnail" %} 2x"- alt="">- </td>- <td>- {{ product.name }}- </td>- <td>- {% price product.price %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </form>- </div>- {% paginate products %}- {% else %}- {% if is_empty %}- {% include 'dashboard/product/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No products found." context "Empty product list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/modal/confirm_delete.html b/templates/dashboard/product/modal/confirm_delete.htmldeleted file mode 100644index 05a7f66d2d..0000000000--- a/templates/dashboard/product/modal/confirm_delete.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url 'dashboard:product-delete' pk=product.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Modal remove product text" %}- Remove product {{ product }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Modal remove product text" %}- Are you sure you want to remove product <strong>{{ product }}</strong>?- {% endblocktrans %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/product/modal/select_type.html b/templates/dashboard/product/modal/select_type.htmldeleted file mode 100644index 29938e27bb..0000000000--- a/templates/dashboard/product/modal/select_type.html+++ /dev/null@@ -1,20 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}--{% block action_url %}- {% url "dashboard:product-add-select-type" %}-{% endblock %}--{% block title %}- {% trans "Product type" context "Modal select product types title" %}-{% endblock %}--{% block content %}- {{ form|materializecss }}-{% endblock %}--{% block primary_action %}- {% trans "Create" context "Dashboard add action" %}-{% endblock %}diff --git a/templates/dashboard/product/product_image/form.html b/templates/dashboard/product/product_image/form.htmldeleted file mode 100644index eae8c1ccf6..0000000000--- a/templates/dashboard/product/product_image/form.html+++ /dev/null@@ -1,96 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if product_image.pk %}- {% trans "Edit - Image" context "Image form text" %}- {% else %}- {% trans "Add image" context "Image form text" %}- {% endif %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-store body-products{% endblock %}--{% block menu_products_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:product-details" pk=product.pk as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:product-details" pk=product.pk %}" class="breadcrumbs--ellipsed-item">- {{ product }}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:product-details" pk=product.pk %}" class="breadcrumb">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- {% if product_image.pk %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Image" context "Image form text" %}- </span>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Image form text" %}- </span>- </li>- {% else %}- <li>- <span class="hide-on-med-and-down">- {% trans "Add image" context "Image form breadcrumbs" %}- </span>- <span class="hide-on-large-only breadcrumbs--ellipsed-item">- {% blocktrans trimmed context "Image form breadcrumbs" %}- Add image for {{ product }}- {% endblocktrans %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data">- <div class="card-content">- {% csrf_token %}- <div class="row">- {{ form.image|materializecss }}- </div>- <div class="row">- {{ form.alt|materializecss }}- </div>- </div>- <div class="card-action right-align">- <a href="{% url "dashboard:product-image-list" product.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if product_image.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col s12 m3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/product_image/list.html b/templates/dashboard/product/product_image/list.htmldeleted file mode 100644index 59057282ee..0000000000--- a/templates/dashboard/product/product_image/list.html+++ /dev/null@@ -1,139 +0,0 @@-{% extends "dashboard/base.html" %}--{% load i18n %}-{% load static %}--{% block title %}- {% trans "Images" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-products{% endblock %}--{% block menu_products_class %}active{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a class="btn-fab-default waves-effect waves-light"- id="images-btn"- href="{% url 'dashboard:product-image-add' product_pk=product.pk %}"- title="{% trans "Add image" context "Add image button text" %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:product-list" %}" class="breadcrumb">- {% trans "Products" context "Dashboard products list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:product-list" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <a href="{% url "dashboard:product-details" product.pk %}">{{ product }}</a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">{% trans "Images" %}</span>- </li>- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div id="images" class="tab-content col s12 m9">- <form action="{% url 'dashboard:product-images-upload' product_pk=product.pk %}" id="product-image-form" novalidate>- <div class="dz-message"></div>- {% csrf_token %}- <div class="row">- <ul class="product-gallery sortable-items" data-post-url="{% url 'dashboard:product-images-reorder' product_pk=product.pk %}" data-post-name="ordered_images">- {% if images %}- {% for image in images %}- <li class="col s12 m6 l4 sortable-item"- data-id="{{ image.pk }}">- <div class="card">- <div class="card-image product-gallery-item-image">- <img class="responsive-img"- src="{{ image.image.thumbnail.255x255 }}"- srcset="{{ image.image.thumbnail.255x255 }} 1x, {{ image.image.thumbnail.510x510 }} 2x"- alt="">- </div>- <div class="card-content">- <span class="product-gallery-item-title card-title black-text" title="{{ image.alt }}">- {% if image.alt %}- {{ image.alt }}- {% else %}- <span class="grey-text">- {% trans "No description" context "Image card text" %}- </span>- {% endif %}- </span>- </div>- <div class="sortable__drag-area"></div>- <div class="card-action">- <a class="btn-flat waves-effect"- href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=image.pk %}">- {% trans "Edit" context "Dashboard edit action" %}- </a>- <a href="#base-modal"- class="btn-flat waves-effect modal-trigger-custom"- data-href="{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}">- {% trans "Remove" context "Dashboard remove action" %}- </a>- </div>- </div>- </li>- {% endfor %}- {% else %}- <div class="sortable__drag-area"></div>- {% endif %}- </ul>- <div class="col s12 m6 l4 product-gallery-item dropzone-message">- <div class="row">- <span class="product-gallery-item-title product-gallery-item-title--noclip card-title black-text">- <span class="grey-text hide-on-med-and-down">- {% trans "Drop images here to upload" context "Image gallery upload box text" %}- </span>- </span>- </div>- </div>- </div>- </form>- <script type="application/template" id="template">- <li class="col s12 m6 l4 product-gallery-item dz-preview dz-file-preview" data-id="{{ image.pk }}">- <div class="card">- <div class="card-image product-gallery-item-image">- <img data-dz-thumbnail />- </div>- <div class="dz-progress">- <span class="dz-upload" data-dz-uploadprogress></span>- </div>- <div class="card-content">- <span class="product-gallery-item-title card-title black-text">- <span class="grey-text">- {% trans "No description" context "Empty image gallery message" %}- </span>- </span>- </div>- <div class="sortable__drag-area"></div>- <div class="card-action">- <a class="btn-flat waves-effect card-action-edit" data-href-template="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=0 %}">- {% trans "Edit" context "Dashboard edit action" %}- </a>- <a href="#base-modal" class="btn-flat waves-effect card-action-delete modal-trigger-custom"- data-href-template="{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=0 %}">- {% trans "Remove" context "Dashboard remove action" %}- </a>- </div>- </div>- </li>- </script>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/product_image/modal/confirm_delete.html b/templates/dashboard/product/product_image/modal/confirm_delete.htmldeleted file mode 100644index 1f19fe2abd..0000000000--- a/templates/dashboard/product/product_image/modal/confirm_delete.html+++ /dev/null@@ -1,26 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}-{% endblock %}--{% block title %}-{% trans "Remove product image" context "Modal remove image text" %}-{% endblock %}--{% block content %}- <div class="col s12">- <div class="center-align">- <img class="responsive-img" src="{{ image.image.thumbnail.255x255 }}" srcset="{{ image.image.thumbnail.255x255 }} 1x, {{ image.image.thumbnail.510x510 }} 2x" alt="">- </div>- <p>{% trans "Are you sure you want to remove product image?" context "Modal remove image text" %}</p>- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/product/product_image/versatile_image.html b/templates/dashboard/product/product_image/versatile_image.htmldeleted file mode 100644index c47355a5d2..0000000000--- a/templates/dashboard/product/product_image/versatile_image.html+++ /dev/null@@ -1,25 +0,0 @@-{% load i18n %}--{% if widget.is_initial %}-{% endif %}-<div class="sizedimage-mod preview">- <label class="versatileimagefield-label">- {% trans "Primary Point of Interest" %}- </label>- <p class="margin">- {% trans "Pick the most relevant part of the image using the red circle." context "Image form text" %}- </p>- <div class="image-wrap outer">- <div class="point-stage" id="{{ widget.point_stage_id }}" data-image_preview_id="{{ widget.image_preview_id }}">- <div class="ppoi-point" id="{{ widget.ppoi_id }}"></div>- </div>- {% if widget.value %}- <div class="image-wrap inner">- <img src="{{ widget.sized_url }}" id="{{ widget.image_preview_id }}"- data-hidden_field_id="{{ widget.hidden_field_id }}"- data-point_stage_id="{{ widget.point_stage_id }}"- data-ppoi_id="{{ widget.ppoi_id }}" class="sizedimage-preview"/>- </div>- {% endif %}- </div>-</div>diff --git a/templates/dashboard/product/product_type/form.html b/templates/dashboard/product/product_type/form.htmldeleted file mode 100644index 7a978db10d..0000000000--- a/templates/dashboard/product/product_type/form.html+++ /dev/null@@ -1,143 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if product_type.pk %}- {{ product_type }}- {% else %}- {% trans "Add new product type" context "Product type page title" %}- {% endif %}- - {% trans "Products" context "Dashboard products list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-products{% endblock %}--{% block menu_product_types_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:product-type-list" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:product-type-list" %}" class="breadcrumb">- {% trans "Product types" context "Dashboard product types list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:product-type-list" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% if product_type.pk %}- {{ product_type }}- {% else %}- {% trans 'Add new product type' context "Product type breadcrumbs" %}- {% endif %}- </span>- </li>- </ul>-{% endblock %}--{% block header_extra %}- {% if product_type.pk %}- <a class="dropdown-button right" href="#" data-activates="context-menu" data-constrainwidth="false">- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- <ul id="context-menu" class="dropdown-content">- {% if perms.product.manage_products %}- <li>- <a href="#base-modal" data-href="{% url 'dashboard:product-type-delete' pk=product_type.pk %}" class="modal-trigger-custom">- {% trans "Remove product type" context "Product type action" %}- </a>- </li>- {% endif %}- </ul>- {% endif %}-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <form method="post" id="form-product" enctype="multipart/form-data" novalidate>- <div class="card-content card-content-form">- {% csrf_token %}- <div class="row">- {{ form.name|materializecss }}- </div>- <div class="row">- <div class="col s12 m8">- <div class="row">- {{ form.product_attributes|materializecss:"input-field s12" }}- </div>- <div class="row">- {{ form.variant_attributes|materializecss:"input-field s12" }}- </div>- </div>- <div class="col s12 m4">- <div class="row">- {{ form.is_shipping_required|materializecss }}- </div>- <div class="row">- {{ form.has_variants|materializecss }}- </div>- </div>- </div>- <div class="row">- <div class="col s12">- <span class="card-title">{% trans "Taxes" %}</span>- </div>- <div class="col s12 m8">- {% if form.tax_rate.field.choices %}- {{ form.tax_rate|materializecss }}- {% else %}- {% trans "Tax settings are disabled. Make sure you have enabled a VAT provider and fetched the rates if required by the plugin." context "Note message in product type form when no rates were found" %}- {% endif %}- </div>- </div>- <div class="row">- <div class="col s12">- <span class="card-title">{% trans "Shipping" %}</span>- </div>- <div class="col s12 m8">- {{ form.weight|materializecss }}- </div>- </div>- </div>- {% if perms.product.manage_products %}- <div class="card-action right-align">- <a href="{% url 'dashboard:product-type-list' %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if product_type.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- {% endif %}- </form>- </div>- </div>- <div class="col m12 l3 help-box">- <p class="grey-text">- <svg data-src="{% static "dashboard/images/help.svg" %}" width="18" height="18" />- {% blocktrans trimmed context "Product type help text" %}- Product Type is a template used for creating new products.- It also controls which attributes can be used during product creation process.- {% endblocktrans %}- </p>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/product_type/list.html b/templates/dashboard/product/product_type/list.htmldeleted file mode 100644index 1001fe2726..0000000000--- a/templates/dashboard/product/product_type/list.html+++ /dev/null@@ -1,100 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Product types" context "Dashboard product types list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-products{% endblock %}--{% block menu_product_types_class %}active{% endblock %}--{% block header_extra %}- {% if perms.product.manage_products %}- <div class="btn-fab-fixed">- <a class="btn-fab-default waves-effect waves-light" title="{% trans "Add product type" context "Product type list add button text" %}" href="{% url 'dashboard:product-type-add' %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- {% trans "Product types" context "Dashboard product types list" %}- </li>- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if product_types %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight data-table data-table-description">- <thead>- <tr>- {% trans "Name" context "Dashboard product types list table header name" as label %}- {% sorting_header 'name' label %}-- <th>- {% trans "Product attributes" context "Product type item list text" %}- </th>- <th>- {% trans "Variant attributes" context "Product type item list text" %}- </th>- </tr>- </thead>- <tbody>- {% for pk, name, product_attributes, variant_attributes in product_types %}- <tr data-action-go="{% if perms.product.manage_products %}{% url 'dashboard:product-type-update' pk=pk %}{% endif %}">- <td>- {{ name }}- </td>- <td>- {% if product_attributes %}- {{ product_attributes.product_attributes_sorted|join:", " }}- {% else %}- -- {% endif %}- </td>- <td>- {% if variant_attributes %}- {{ variant_attributes.variant_attributes_sorted|join:", " }}- {% else %}- -- {% endif %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate product_types %}- {% else %}- {% if is_empty %}- {% include 'dashboard/product/product_type/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No product types found." context "Empty product type list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/product_type/modal/confirm_delete.html b/templates/dashboard/product/product_type/modal/confirm_delete.htmldeleted file mode 100644index c15f399096..0000000000--- a/templates/dashboard/product/product_type/modal/confirm_delete.html+++ /dev/null@@ -1,41 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load static %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:product-type-delete" pk=product_type.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Modal remove product type text" %}- Remove product type {{ product_type }}-{% endblocktrans %}-{% endblock title %}--{% block content %}- <div class="col s12">- <p>- {% blocktrans trimmed context "Modal remove product type text" %}- Are you sure you want to remove product type <strong>{{ product_type }}</strong>?- {% endblocktrans %}- </p>- <p>- {% if products %}- {% blocktrans trimmed context "Modal remove product type text" with product_count=products.count %}- There are {{ product_count }} products in product type.- {% endblocktrans %}- {% else %}- {% blocktrans trimmed context "Modal remove product type text" %}- There are no products in this product type.- {% endblocktrans %}- {% endif %}- </p>- </div>-{% endblock %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/product/product_type/zero_page.html b/templates/dashboard/product/product_type/zero_page.htmldeleted file mode 100644index c62248862d..0000000000--- a/templates/dashboard/product/product_type/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No product types found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Product types are templates used to create new products. They allow assigning custom attributes to the products of the same type.<br>- You can add product types by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/product/product_variant/_image_select.html b/templates/dashboard/product/product_variant/_image_select.htmldeleted file mode 100644index 376e90f155..0000000000--- a/templates/dashboard/product/product_variant/_image_select.html+++ /dev/null@@ -1,22 +0,0 @@-{% load i18n %}--<div class="image_select">- <div class="row">- {% for choice_with_image in choices_with_images %}- {% with choice=choice_with_image.0 image=choice_with_image.1 %}- <div class="image_select-item">- <input id="{{ choice.id_for_label }}" name="{{ choice.data.name }}" class="filled-in" type="checkbox" value="{{ choice.data.value }}" {% if choice.data.selected %}checked{% endif %}>- <label for="{{ choice.id_for_label }}"></label>- <img id="{{ choice.id_for_label }}" class="responsive-img" src="{{ image.image.thumbnail.255x255 }}" srcset="{{ image.image.thumbnail.255x255 }} 1x" alt="">- <div id="{{ choice.id_for_label }}" class="image_select-item-overlay{% if choice.data.selected %} checked{% endif %}"></div>- </div>- {% endwith %}- {% endfor %}- </div>- {% for error in field.errors %}- <p class="help-block materialize-red-text">{{ error }}</p>- {% endfor %}- {% if field.help_text %}- <p class="help-block">{{ field.help_text|safe }}</p>- {% endif %}-</div>diff --git a/templates/dashboard/product/product_variant/detail.html b/templates/dashboard/product/product_variant/detail.htmldeleted file mode 100644index 7efc9767d0..0000000000--- a/templates/dashboard/product/product_variant/detail.html+++ /dev/null@@ -1,198 +0,0 @@-{% extends "dashboard/base.html" %}--{% load i18n %}-{% load price from taxed_prices %}-{% load static %}-{% load status %}--{% block title %}- {{ variant }} - {{ block.super }}-{% endblock %}--{% block body_class %}body-products{% endblock %}--{% block menu_products_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:product-list" %}" class="breadcrumb">- {% trans "Products" context "Product form breadcrumbs" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:product-list" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li class="hide-on-med-and-down">- <a href="{% url "dashboard:product-details" pk=product.pk %}" class="breadcrumbs--ellipsed-item">- {{ product }}- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {{ variant }}- </span>- </li>- </ul>-{% endblock %}--{% block header_extra %}-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l8">- <div class="card">- <div class="card-content">- <div class="card-title">- {{ product }}- <br>- {% trans "SKU" context "Dashboard variant details view" %} {{ variant.sku }}- </div>- <div class="row">- <div class="col s12">- <h5>{% render_variant_availability_status variant %}</h5>- </div>- </div>- </div>- <div class="card-action">- <a class="btn-flat waves-effect" href="{% url 'dashboard:variant-update' product_pk=product.pk variant_pk=variant.pk %}">- {% trans "Edit variant" context "Dashboard action" %}- </a>- <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url 'dashboard:variant-delete' product_pk=product.pk variant_pk=variant.pk %}">- {% trans "Remove variant" context "Dashboard action" %}- </a>- </div>- </div>- </div>- <div class="col m12 l4">- <div class="row no-margin">- <div class="col s12">- <div class="card">- <div class="data-table-header">- <div class="data-table-title">- <h5>- {% trans "Pricing" context "Product pricing card header" %}- </h5>- </div>- </div>- <div class="data-table-container">- <table class="data-table bordered highlight">- <tbody>- <tr>- <td>- {% if site.settings.include_taxes_in_prices %}- {% trans "Gross sale price" context "Product field" %}- {% else %}- {% trans "Net sale price" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% price variant.base_price %}- </td>- </tr>- {% if discounted_price != variant.base_price %}- <tr>- <td>- {% if site.settings.include_taxes_in_prices %}- {% trans "Gross discounted price" context "Product field" %}- {% else %}- {% trans "Net discounted price" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% price discounted_price %}- </td>- </tr>- {% endif %}- <tr>- <td>- {% if site.settings.include_taxes_in_prices %}- {% trans "Gross purchase cost" context "Product field" %}- {% else %}- {% trans "Net purchase cost" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% if variant.cost_price %}- {% price variant.cost_price %}- {% else %}- -- {% endif %}- </td>- </tr>- <tr>- <td>- {% trans "Margin" context "Product field" %}- </td>- <td class="right-align">- {% if margin %}- {{ margin }}%- {% else %}- -- {% endif %}- </td>- </tr>- </tbody>- </table>- </div>- </div>- <div class="card">- <div class="data-table-header">- <div class="data-table-title">- <h5>- {% trans "Inventory" context "Product variant inventory card header" %}- </h5>- </div>- </div>- <div class="data-table-container">- <table class="data-table bordered highlight">- <tbody>- <tr>- <td>- {% trans "Number in stock" context "Dashboard variant details view" %}- </td>- <td class="right-align">- {{ variant.quantity }}- </td>- </tr>- <tr>- <td>- {% trans "Allocated" context "Dashboard variant details view" %}- </td>- <td class="right-align">- {{ variant.quantity_allocated }}- </td>- </tr>- </tbody>- </table>- </div>- </div>- <div class="card">- <div class="card-content">- <span class="card-title">{% trans "Variant Images" context "Dashboard variant details view" %}</span>- <div class="row">- {% for image in images %}- <div class="col s4">- <img class="responsive-img" src="{{ image.image.thumbnail.255x255 }}" srcset="{{ image.image.thumbnail.255x255 }} 1x, {{ image.image.thumbnail.510x510 }} 2x" alt="{{ image.alt }}">- </div>- {% empty %}- <div class="col s4">- {% trans "No images" %}- </div>- {% endfor %}- </div>- </div>- <div class="card-action">- <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:variant-images' product_pk=product.pk variant_pk=variant.pk %}">- {% trans "Select images" context "Dashboard action" %}- </a>- </div>- </div>- </div>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/product_variant/form.html b/templates/dashboard/product/product_variant/form.htmldeleted file mode 100644index 5161a5b50c..0000000000--- a/templates/dashboard/product/product_variant/form.html+++ /dev/null@@ -1,130 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if variant.pk %}- {% trans "Edit" context "Variant form page title" %} - {{ variant }}- {% else %}- {% trans "Add variant" context "Variant form page title" %}- {% endif %}- - {{ block.super }}-{% endblock %}--{% block body_class %}body-store body-products{% endblock %}--{% block header_menu %}- {% url "dashboard:variant-details" product_pk=product.pk variant_pk=variant.pk as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:product-list" %}" class="breadcrumb">- {% trans "Products" context "Dashboard products list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:product-details" pk=product.pk %}">- <svg data-src="{% static "dashboard/images/chevron-left.svg" %}" />- </a>- </li>- <li>- <a href="{% url "dashboard:product-details" pk=product.pk %}" class="breadcrumbs--ellipsed-item">- {{ product }}- </a>- </li>- {% if variant.pk %}- <li>- <a href="{% url "dashboard:variant-details" product_pk=product.pk variant_pk=variant.pk %}" class="breadcrumbs--ellipsed-item">- {{ variant }}- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Variant form breadcrumbs" %}- </span>- </li>- {% else %}- <li>- <span class="hide-on-med-and-down">- {% trans "Add variant" context "Variant form breadcrumbs" %}- </span>- <span class="hide-on-large-only breadcrumbs--ellipsed-item">- {% blocktrans trimmed context "Variant form breadcrumbs" %}- Add variant for {{ product }}- {% endblocktrans %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <form method="post" id="form-variant" enctype="multipart/form-data">- <div class="card-content">- {% csrf_token %}- <div class="row">- <div class="col s12 m8">- <p class="card-title">{% trans "Attributes" %}</p>- {% for attribute_field in form.iter_attribute_fields %}- <div class="row attribute-select-or-create">- {{ attribute_field|materializecss:"input-field s12" }}- </div>- {% empty %}- {% trans "No attributes found." %}- {% endfor %}- {% if variant.product.product_type.is_shipping_required %}- <p class="card-title">{% trans "Shipping" %}</p>- {{ form.weight|materializecss }}- {% endif %}- </div>- <div class="col s12 m4">- <div class="row">- {{ form.sku|materializecss }}- </div>- <div class="row">- {{ form.quantity|materializecss }}- </div>- <div class="row">- {{ form.price_override|materializecss }}- </div>- <div class="row">- {{ form.cost_price|materializecss }}- </div>- <div class="row">- {{ form.track_inventory|materializecss }}- </div>- </div>- </div>- </div>- <div class="card-action right-align">- {% if variant.pk %}- <a href="{% url "dashboard:variant-details" product_pk=product.pk variant_pk=variant.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- {% else %}- <a href="{% url "dashboard:product-details" pk=product.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col s12 m3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/product/product_variant/modal/confirm_delete.html b/templates/dashboard/product/product_variant/modal/confirm_delete.htmldeleted file mode 100644index 1dd599d56c..0000000000--- a/templates/dashboard/product/product_variant/modal/confirm_delete.html+++ /dev/null@@ -1,35 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load static %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:variant-delete" product_pk=product.pk variant_pk=variant.pk %}-{% endblock %}--{% block title %}-{% blocktrans context "Dashboard confirmation modal" %}- Remove variant {{ variant }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- <p>- {% blocktrans context "Dashboard confirmation modal" %}- Are you sure you want to remove variant <strong>{{ variant }}</strong> of product {{ product }}?- {% endblocktrans %}- </p>- {% if is_only_variant %}- <p>- {% trans "This is the only variant of this product. If you remove it, the product will become unavailable." context "Dashboard confirmation modal" %}- </p>- {% endif %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/product/product_variant/modal/select_images.html b/templates/dashboard/product/product_variant/modal/select_images.htmldeleted file mode 100644index 7a635c78ab..0000000000--- a/templates/dashboard/product/product_variant/modal/select_images.html+++ /dev/null@@ -1,25 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load materializecss %}-{% load utils %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:variant-images" product_pk=product.pk variant_pk=variant.pk %}-{% endblock %}--{% block title %}-{% trans "Select variant images" context "Dashboard variant images modal" %}-{% endblock %}--{% block content %}- <div class="col s12">- <p>{% render_image_choice form.images %}</p>- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Save" context "Dashboard modal action" %}-{% endblock %}diff --git a/templates/dashboard/product/zero_page.html b/templates/dashboard/product/zero_page.htmldeleted file mode 100644index 2847cbc34a..0000000000--- a/templates/dashboard/product/zero_page.html+++ /dev/null@@ -1,18 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No products found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% url "dashboard:product-type-add" as product_type_url %}- {% if product_types %}- {% blocktrans %}- You can create products by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}- {% else %}- {% blocktrans %}- In order to create products, you have to first <a href="{{ product_type_url }}">add a product type </a>.- {% endblocktrans %}- {% endif %}-{% endblock %}diff --git a/templates/dashboard/search/results.html b/templates/dashboard/search/results.htmldeleted file mode 100644index ffe27e78d4..0000000000--- a/templates/dashboard/search/results.html+++ /dev/null@@ -1,108 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load price from taxed_prices %}-{% load get_product_image_thumbnail from product_images %}-{% load static %}--{% block title %}- {% trans "Search results" context "Search page title" %} - {{ block.super }}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">{% trans "Search results" context "Dashboard search" %}</li>- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}-{% block body_class %}body-search-results{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9 search-results">- {% if products %}- <h6>{% trans 'Products' context 'Search results list products' %}</h6>- <ul class="collection list card">- {% for product in products %}- <li class="collection-item avatar list-item">- <a href="{% url 'dashboard:product-details' pk=product.pk %}">- <img src="{% get_product_image_thumbnail product.get_first_image size=60 method="thumbnail" %}"- srcset="{% get_product_image_thumbnail product.get_first_image size=60 method="thumbnail" %} 1x, {% get_product_image_thumbnail product.get_first_image size=120 method="thumbnail" %} 2x"- class="circle" alt="{{ product.name }}">- <span class="list-item-name">- {{ product.name }}- </span>- <p class="list-item-price">- <small>- {% price product.price %}- </small>- </p>- </a>- </li>- {% endfor %}- </ul>- {% endif %}- {% if orders %}- <h6>{% trans 'Orders' context 'Search results list orders' %}</h6>- <ul class="collection list card">- {% for order in orders %}- <li class="collection-item avatar list-item">- <a href="{% url 'dashboard:order-details' order_pk=order.pk %}">- <i class="small material-icons circle">payment</i>- <span class="list-item-name">- {% blocktrans trimmed with order_number=order.pk context "Dashboard order" %}- Order #{{ order_number }}- {% endblocktrans %}- </span>- <p class="list-item-price">- <small>- {% blocktrans trimmed context "Dashboard customer" with email=order.user_email %}- Customer: {{ email }}- {% endblocktrans %}- </small>- <small>- {% blocktrans trimmed with placed=order.created context "Dashboard order info" %}- Placed on: {{ placed }}- {% endblocktrans %}- </small>- </p>- </a>- </li>- {% endfor %}- </ul>- {% endif %}- {% if users %}- <h6>{% trans 'Users' context 'Search results list users' %}</h6>- <ul class="collection list card">- {% for user in users %}- <li class="collection-item avatar list-item">- <a href="{% url 'dashboard:customer-details' pk=user.pk %}">- <i class="small material-icons circle">perm_identity</i>- <span class="list-item-name">- {% blocktrans trimmed with full_name=user.get_full_name context "Dashboard user" %}- User {{ full_name }}- {% endblocktrans %}- </span>- <p class="list-item-price">- <small>- {% trans "Customer" context "Dashboard customer" %}- </small>- </p>- </a>- </li>- {% endfor %}- </ul>- {% endif %}- {% if not users and not orders and not products and query %}- <div class="not-found">- <p class="grey-text">- {% blocktrans trimmed with full_name=result.get_full_name context "No Search result message" %}- No results for query "{{ query }}".- {% endblocktrans %}- </p>- </div>- {% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/shipping/detail.html b/templates/dashboard/shipping/detail.htmldeleted file mode 100644index f22c75c26a..0000000000--- a/templates/dashboard/shipping/detail.html+++ /dev/null@@ -1,59 +0,0 @@-{% extends 'dashboard/base.html' %}--{% load i18n %}--{% block title %}- {{ shipping_zone }} - {{ block.super }}-{% endblock %}--{% block body_class %}body-shipping-zones{% endblock %}--{% block menu_delivery_class %}active{% endblock %}--{% block menu_shipping_class %} active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:shipping-zone-list' %}">- {% trans "Shipping zones" context "Shipping zone form breadcrumbs" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:shipping-zone-list' %}"><i class="material-icons">arrow_back</i></a>- </li>- <li>- <span class="breadcrumbs--elipsed-item">- {{ shipping_zone }}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {% blocktrans with shipping_name=shipping_zone.name list_of_countries=shipping_zone.countries_display %}- {{ shipping_name }} <small>(ships to {{ list_of_countries }})</small>- {% endblocktrans %}- </span>- </div>- <div class="card-action">- <a class="btn-flat waves-effect" href="{% url 'dashboard:shipping-zone-update' shipping_zone.pk %}">- {% trans "Edit shipping zone" context "Shipping zone action" %}- </a>- <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:shipping-zone-delete' shipping_zone.pk %}">- {% trans "Remove shipping zone" context "Shipping zone action" %}- </a>- </div>- </div>- </div>- {% trans "Price based shipping" context "Title of the shipping methods list" as price_based_header %}- {% trans "Weight based shipping" context "Title of the shipping methods list" as weight_based_header %}- {% include "dashboard/shipping/methods/_shipping_methods_table.html" with type='price' header=price_based_header shipping_methods=price_based %}- {% include "dashboard/shipping/methods/_shipping_methods_table.html" with type='weight' header=weight_based_header shipping_methods=weight_based %}- </div>-{% endblock %}diff --git a/templates/dashboard/shipping/form.html b/templates/dashboard/shipping/form.htmldeleted file mode 100644index 5eb694ba5e..0000000000--- a/templates/dashboard/shipping/form.html+++ /dev/null@@ -1,96 +0,0 @@-{% extends "dashboard/base.html" %}-{% load materializecss %}-{% load i18n %}-{% load mptt_tags %}-{% load static %}--{% block title %}- {% if shipping_zone.pk %}- {% trans "Edit" context "Dashboard shipping zones" %} - {{ shipping_zone }}- {% else %}- {% trans "Add new shipping zone" context "Shipping zone form page title" %}- {% endif %}- - {{ block.super }}-{% endblock %}--{% block body_class %}body-shipping-zones{% endblock %}--{% block menu_delivery_class %}active{% endblock %}--{% block page_title %}- {% if shipping_zone.pk %}- {{ shipping_zone }}- {% else %}- {% trans "Add new shipping zone" context "Shipping zone form page title" %}- {% endif %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:shipping-zone-list' %}">- {% trans "Shipping zones" context "Dashboard shipping zone" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:shipping-zone-list' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- {% if shipping_zone.pk %}- <li>- <a href="{% url 'dashboard:shipping-zone-details' shipping_zone.pk %}" class="breadcrumbs--ellipsed-item">- {{ shipping_zone }}- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Shipping zone form page title" %}- </span>- </li>- {% else %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new shipping zone" context "Shipping zone form breadcrumbs" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_shipping_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <form method="post" id="form-method">- <div class="card-content">- {% csrf_token %}- <div class="row">- {{ form|materializecss }}- </div>- </div>- <div class="card-action right-align">- {% if shipping_zone.pk %}- <a href="{% url 'dashboard:shipping-zone-details' shipping_zone.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- {% else %}- <a href="{% url 'dashboard:shipping-zone-list' %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col s12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/shipping/list.html b/templates/dashboard/shipping/list.htmldeleted file mode 100644index ba9a754de6..0000000000--- a/templates/dashboard/shipping/list.html+++ /dev/null@@ -1,113 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load static %}-{% load status %}-{% load taxed_prices %}-{% load utils %}-{% load materializecss %}--{% block title %}- {% trans "Shipping zones" context "Dashboard shipping zones list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-shipping-zones{% endblock %}--{% block menu_delivery_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- {% trans "Shipping zones" context "Dashboard shipping zones list" %}- </li>- </ul>-{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a href="{% url 'dashboard:shipping-zone-add' %}" class="btn-fab-default waves-effect waves-light" title="{% trans "Add shipping zone" context "Shipping zone list add button text" %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if shipping_zones %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- {% trans "Shipping zone" context "Shipping zones table header, name of the shipping zone" as label %}- {% sorting_header 'name' label is_wide=True %}-- <th>- {% trans "Price range" context "Shipping zones table header, price range of shipping methods within shipping zone" %}- </th>- <th class="wide">- {% trans "Countries" context "Shipping zones table header, list of countries within of shipping zone" %}- </th>- </tr>- </thead>- <tbody>- {% for shipping_zone in shipping_zones %}- <tr data-action-go="{% url 'dashboard:shipping-zone-details' pk=shipping_zone.pk %}">- <td>- {{ shipping_zone }}- </td>- <td>- {% if not shipping_zone.price_range %}- -- {% else %}- {% price shipping_zone.price_range %}- {% endif %}- </td>- <td>- {{ shipping_zone.countries_display }}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate shipping_zones %}- {% else %}- {% if is_empty %}- {% include 'dashboard/shipping/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No shipping zones found." context "Empty shipping list message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- <div class="card">- <form action="" method="post">- <div class="card-content">- <span class="card-title">{% trans "Default Weight Unit" %}</span>- {% csrf_token %}- <div class="row">- {{ form|materializecss }}- </div>- </div>- <div class="card-action right-align">- <div class="col s12">- <button type="submit" class="btn waves-effect right">- {% trans "Save" context "Dashboard update action" %}- </button>- </div>- <div class="clearfix"></div>- </div>- </form>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/shipping/methods/_shipping_methods_table.html b/templates/dashboard/shipping/methods/_shipping_methods_table.htmldeleted file mode 100644index daab08401b..0000000000--- a/templates/dashboard/shipping/methods/_shipping_methods_table.html+++ /dev/null@@ -1,55 +0,0 @@-{% load i18n %}-{% load price from taxed_prices %}--<div class="col m12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {{ header }}- </span>- </div>- <div class="data-table-header-action">- <a href="{% url 'dashboard:shipping-method-add' type=type shipping_zone_pk=shipping_zone.pk %}" class="btn-data-table btn-flat waves-effect">- {% trans "Add" %}- </a>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>- {% trans "Name" context "Header of the shipping methods list" %}- </th>- <th>- {% trans "Range" context "Header of the shipping methods list" %}- </th>- <th>- {% trans "Price" context "Header of the shipping methods list" %}- </th>- </tr>- </thead>- <tbody>- {% for shipping in shipping_methods %}- <tr>- <td>{{ shipping.name }}</td>- <td>{{ shipping.get_type_display }}</td>- <td>{% price shipping.price %}</td>- <td class="right-align">- <a href="{% url 'dashboard:shipping-method-edit' shipping_zone_pk=shipping_zone.pk shipping_method_pk=shipping.pk %}" class="btn-flat waves-effect">- {% trans 'Edit' context 'Attribute value edit action' %}- </a>- <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:shipping-method-delete' shipping_zone_pk=shipping_zone.pk shipping_method_pk=shipping.pk %}">- {% trans 'Remove' context 'Attribute value remove action' %}- </a>- </td>- </tr>- {% empty %}- <tr>- <td colspan="2">{% trans "No shipping methods" context "Empty list of shipping methods prices" %}</td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>-</div>diff --git a/templates/dashboard/shipping/methods/form.html b/templates/dashboard/shipping/methods/form.htmldeleted file mode 100644index cda00d829f..0000000000--- a/templates/dashboard/shipping/methods/form.html+++ /dev/null@@ -1,97 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if method.pk %}- {% trans "Edit" context "Dashboard shipping method edit page" %} - {{ method }}- {% else %}- {% trans "Add new shipping method" context "Shipping method edit page title" %}- {% endif %}- - {{ block.super }}-{% endblock %}--{% block body_class %}body-shipping-zones{% endblock %}--{% block menu_delivery_class %}active{% endblock %}--{% block menu_shipping_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:shipping-zone-list" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}---{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:shipping-zone-list' %}" class="breadcrumbs--ellipsed-item">- {% trans "Shipping zones" context "Dashboard attributes list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:shipping-zone-list' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- {% if shipping_zone.pk %}- <li>- <a href="{% url 'dashboard:shipping-zone-details' shipping_zone.pk %}" class="breadcrumbs--ellipsed-item">- {{ shipping_zone }}- </a>- </li>- {% endif %}- {% if shipping_method.pk %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit shipping method" context "Shipping method breadcrumbs" %}- </span>- </li>- {% else %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add shipping method" context "Shipping method breadcrumbs" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data" id="form-attributes" novalidate>- {% csrf_token %}- <div class="card-content">- <span class="card-title">- {% trans "Shipping method" context "Shipping method form title" %}- </span>- <div class="row">- {{ form|materializecss }}- </div>- </div>- <div class="card-action right-align">- <a href="{% url 'dashboard:shipping-zone-details' pk=shipping_zone.pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if shipping_method.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- <div class="col s12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/shipping/modal/confirm_delete.html b/templates/dashboard/shipping/modal/confirm_delete.htmldeleted file mode 100644index 11c46c4673..0000000000--- a/templates/dashboard/shipping/modal/confirm_delete.html+++ /dev/null@@ -1,28 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}-{% load static %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:shipping-zone-delete" shipping_zone.pk %}-{% endblock %}--{% block title %}-{% blocktrans context "Dashboard confirmation modal" %}-Remove shipping zone {{ shipping_zone }}-{% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% blocktrans context "Dashboard confirmation modal" %}- Are you sure you want to remove shipping zone <strong>{{ shipping_zone}}</strong>?- {% endblocktrans %}- </div>-{% endblock %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/shipping/modal/method_confirm_delete.html b/templates/dashboard/shipping/modal/method_confirm_delete.htmldeleted file mode 100644index 5dfe2cc0e9..0000000000--- a/templates/dashboard/shipping/modal/method_confirm_delete.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:shipping-method-delete" shipping_zone_pk=shipping_zone_pk shipping_method_pk=shipping_method.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Modal remove shipping method title" %}- Remove shipping method {{ shipping_method }}-{% endblocktrans %}-{% endblock title %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Modal remove shipping method shipping method text" %}- Are you sure you want to remove shipping method <strong>{{ shipping_method }}</strong>?- {% endblocktrans %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/shipping/weight_widget.html b/templates/dashboard/shipping/weight_widget.htmldeleted file mode 100644index 82cb044c67..0000000000--- a/templates/dashboard/shipping/weight_widget.html+++ /dev/null@@ -1,4 +0,0 @@-<div class="input-with-suffix">- {{ widget }}- <div class="input-text-suffix">{{ unit }}</div>-</div>diff --git a/templates/dashboard/shipping/zero_page.html b/templates/dashboard/shipping/zero_page.htmldeleted file mode 100644index eeace2d728..0000000000--- a/templates/dashboard/shipping/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No shipping zones found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Shipping zones allows defining shipping zones that are available in the shop.<br>- You can add shipping zones by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/sites/authorization_keys/form.html b/templates/dashboard/sites/authorization_keys/form.htmldeleted file mode 100644index cad3ea4fbf..0000000000--- a/templates/dashboard/sites/authorization_keys/form.html+++ /dev/null@@ -1,87 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}--{% block title %}- {% if site.pk %}- {% trans "Edit" context "Dashboard authorization key list" %} - {{ site }}- {% else %}- {% trans "Add new authorization key" context "Add new authorization key page title" %}- {% endif %}- - {{ block.super }}-{% endblock %}--{% block body_class %}body-authorization-key{% endblock %}--{% block menu_attributes_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:site-index" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}---{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:site-index' %}" class="breadcrumbs--ellipsed-item">- {% trans "Site settings" context "Dashboard site setting detail" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:attributes' %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- {% if key.pk %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Edit" context "Authorization key breadcrumbs" %}- </span>- </li>- {% else %}- <li>- <span class="breadcrumbs--ellipsed-item">- {% trans "Add new authorization key" context "Authorization key breadcrumbs" %}- </span>- </li>- {% endif %}- </ul>-{% endblock %}--{% block menu_catalogue_class %} active{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <form method="post" enctype="multipart/form-data" id="form-attributes" novalidate>- {% csrf_token %}- <div class="card-content">- <span class="card-title">- {% trans "Authorization key" context "Authorization key form title" %}- </span>- <div class="row">- {{ form|materializecss }}- </div>- </div>- <div class="card-action right-align">- <a href="{% url 'dashboard:site-details' pk=site_settings_pk %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- {% if value.pk %}- <button type="submit" class="btn waves-effect">- {% trans "Save" context "Dashboard update action" %}- </button>- {% else %}- <button type="submit" class="btn waves-effect">- {% trans "Create" context "Dashboard create action" %}- </button>- {% endif %}- </div>- </form>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/sites/detail.html b/templates/dashboard/sites/detail.htmldeleted file mode 100644index 1f5dafee2b..0000000000--- a/templates/dashboard/sites/detail.html+++ /dev/null@@ -1,129 +0,0 @@-{% extends 'dashboard/base.html' %}--{% load i18n %}-{% load static %}--{% block title %}- {{ site_settings }} - {{ block.super }}-{% endblock %}--{% block body_class %}body-settings{% endblock %}--{% block menu_settings_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <span class="breadcrumbs--elipsed-item">- Site settings- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {{ site.name }}- </span>- <div class="row">- <div class="col s12 m4 l12">- <h4>- {% trans "Domain" context "Site settings field" %}- </h4>- <p>- {{ site.domain }}- </p>- </div>- </div>- <div class="row">- <div class="col s12 m4 l12">- <h4>- {% trans "Header text" context "Site settings field" %}- </h4>- <p>- {{ site_settings.header_text }}- </p>- </div>- </div>- <div class="row">- <div class="col s12 m4 l12">- <h4>- {% trans "Description" context "Site settings field" %}- </h4>- <p>- {{ site_settings.description|default:"-" }}- </p>- </div>- </div>- <div class="row">- <div class="col s12 m4 l12">- <h4>- {% trans "Default Sender" context "Site settings field" %}- </h4>- <p>- {{ site_settings.default_from_email|default:"-" }}- </p>- </div>- </div>- </div>- <div class="card-action">- <a class="btn-flat waves-effect" href="{% url 'dashboard:site-update' pk=site_settings.pk %}">- {% trans "Edit site settings" context "Site settings action" %}- </a>- </div>- </div>- </div>- <div class="col s12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {% trans "Authorization keys" context "Title of the authorization keys list" %}- </span>- </div>- <div class="data-table-header-action">- <a href="{% url 'dashboard:authorization-key-add' site_settings_pk=site_settings.pk %}" class="btn-flat waves-effect">- {% trans "Add" %}- </a>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>- {% trans "Name" context "Header of authorization keys list" %}- </th>- <th>- {% trans "Key" context "Header of authorization keys list" %}- </th>- </tr>- </thead>- <tbody>- {% for key in authorization_keys %}- <tr>- <td>{{ key.name }}</td>- <td>{{ key.key }}</td>- <td class="right-align">- <a href="{% url 'dashboard:authorization-key-edit' site_settings_pk=site_settings.pk key_pk=key.pk %}" class="btn-flat waves-effect">- {% trans 'Edit' context 'Authorization key edit action' %}- </a>- <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:authorization-key-delete' site_settings_pk=site_settings.pk key_pk=key.pk %}">- {% trans 'Remove' context 'Authorization key remove action' %}- </a>- </td>- </tr>- {% empty %}- <tr>- <td colspan="2">{% trans "No authorization keys" context "Empty list of authorization keys" %}</td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/sites/form.html b/templates/dashboard/sites/form.htmldeleted file mode 100644index 6e6a00a6d5..0000000000--- a/templates/dashboard/sites/form.html+++ /dev/null@@ -1,85 +0,0 @@-{% extends 'dashboard/base.html' %}-{% load i18n %}-{% load materializecss %}--{% block title %}- {% if site.pk %}- {{ site_settings }}- {% else %}- {% trans "Add new site settings" context "Site settings page title" %}- {% endif %}- - {% trans "Site settings" context "Dashboard site settings" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-settings{% endblock %}--{% block menu_settings_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:site-index' %}" class="breadcrumbs--ellipsed-item">- {% trans "Site settings" context "Dashboard attributes list" %}- </a>- </li>- <li>- <span>- {% trans "Edit" context "Dashboard site settings" %}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <form method="post" id="form-category" enctype="multipart/form-data" novalidate>- <div class="card-content card-content-form">- {% csrf_token %}- <div class="row">- {{ site_form.name|materializecss }}- </div>- <div class="row">- {{ site_form.domain|materializecss }}- </div>- <div class="row">- {{ site_settings_form.header_text|materializecss }}- </div>- <div class="row">- {{ site_settings_form.description|materializecss }}- </div>- <div class="row">- {{ site_settings_form.default_weight_unit|materializecss }}- </div>- <div class="row">- {{ site_settings_form.track_inventory_by_default|materializecss }}- </div>- <div class="row">- <div class="col s12">- <span class="card-title">- {% trans "Default Sender" context "Site settings field" %}- </span>- </div>- <div class="col s6">- {{ site_settings_form.default_mail_sender_name|materializecss }}- </div>- <div class="col s6">- {{ site_settings_form.default_mail_sender_address|materializecss }}- </div>- </div>- </div>- <div class="card-action right-align">- <a class="btn-flat waves-effect" href="{% url 'dashboard:site-details' pk=site.pk %}" target="_blank">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box"></div>- </div>-{% endblock %}diff --git a/templates/dashboard/sites/modal/confirm_delete.html b/templates/dashboard/sites/modal/confirm_delete.htmldeleted file mode 100644index 1220c281e4..0000000000--- a/templates/dashboard/sites/modal/confirm_delete.html+++ /dev/null@@ -1,27 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}-{% url "dashboard:authorization-key-delete" site_settings_pk=site_settings_pk key_pk=key.pk %}-{% endblock %}--{% block title %}-{% blocktrans trimmed context "Modal delete authorization key text" %}- Delete authorization key {{ key }}-{% endblocktrans %}-{% endblock title %}--{% block content %}- <div class="col s12">- {% blocktrans trimmed context "Modal delete authorization key text" %}- Are you sure you want to remove authorization key <strong>{{ key }}</strong>?- {% endblocktrans %}- </div>-{% endblock content %}--{% block primary_action %}-{% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/staff/form.html b/templates/dashboard/staff/form.htmldeleted file mode 100644index 49ca9d204b..0000000000--- a/templates/dashboard/staff/form.html+++ /dev/null@@ -1,87 +0,0 @@-{% extends "dashboard/base.html" %}-{% load materializecss %}-{% load i18n %}-{% load static %}--{% block title %}- {% if staff_member %}- {{ staff_member }}- {% else %}- {% trans "Add new staff member" context "Dashboard add staff member" %}- {% endif %}- - {% trans "Staff" context "Dashboard staff" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-customers{% endblock %}--{% block menu_staff_class %}active{% endblock %}--{% block header_menu %}- {% url "dashboard:staff" as url %}- {% include "dashboard/includes/_back_link.html" with url=url %}-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url "dashboard:staff-list" %}">- {% trans "Staff" context "Dashboard staff list" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url "dashboard:staff-list" %}">- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li><span class="breadcrumbs--elipsed-item">{% if staff_member %}{{ staff_member }}{% else %}{% trans 'Add staff member' context 'Dashboard add staff member action' %}{% endif %}</span></li>- </ul>-{% endblock %}--{% block header_extra %}- {% if user != staff_member and staff_member.pk %}- <a class="dropdown-button right" href="#" data-activates="context-menu" data-constrainwidth="false">- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- <ul id="context-menu" class="dropdown-content">- <li>- <a href="#base-modal" data-href="{% url 'dashboard:staff-delete' pk=staff_member.pk %}" class="modal-trigger-custom">- {% trans 'Remove staff member' context 'Staff member form action' %}- </a>- </li>- </ul>- {% endif %}-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l8">- {% if form %}- <form class="card" method="post">- <div class="card-content">- <span class="card-title">- {% trans 'Staff member details' context 'Staff member details header' %}- </span>- <div class="data">- {% csrf_token %}- <div class="row">- {{ form|materializecss }}- </div>- </div>- </div>- <div class="card-action right-align">- <a href="{% url 'dashboard:staff-list' %}" class="btn-flat waves-effect">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% if staff_member %}- {% trans 'Update' context 'Dashboard update action' %}- {% else %}- {% trans 'Add' context 'Dashboard add action' %}- {% endif %}- </button>- </div>- </form>- {% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/staff/list.html b/templates/dashboard/staff/list.htmldeleted file mode 100644index f6e407df5f..0000000000--- a/templates/dashboard/staff/list.html+++ /dev/null@@ -1,99 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load materializecss %}-{% load static %}-{% load utils %}--{% block title %}- {% trans "Staff" context "Dashboard staff members list" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-customers{% endblock %}--{% block menu_staff_class %}active{% endblock %}--{% block header_extra %}- <div class="btn-fab-fixed">- <a class="btn-fab-default waves-effect waves-light"- title="{% trans "Add staff member" context "Staff members list add button text" %}"- href="{% url 'dashboard:staff-create' %}">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>-{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- {% trans "Staff" context "Dashboard staff members list" %}- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if staff %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- {% trans "Name" context "Staff members table header" as label %}- {% sorting_header 'name' label %}-- {% trans "Email" context "Staff members table header" as label %}- {% sorting_header 'email' label %}-- {% trans "Location" context "Staff members table header" as label %}- {% sorting_header 'location' label %}- </tr>- </thead>- <tbody>- {% for user in staff %}- <tr data-action-go="{% url "dashboard:staff-details" pk=user.pk %}">- {% with user.default_billing_address as default_address %}- <td>- {% if user.get_full_name != user.email %}- {{ user.get_full_name }}- {% else %}- -- {% endif %}- </td>- <td>- {{ user.email }}- </td>- <td>- {% if default_address %}- {{ default_address.city }}, {{ default_address.get_country_display }}- {% else %}- -- {% endif %}- </td>- {% endwith %}- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate staff %}- {% else %}- {% if is_empty %}- {% include 'dashboard/staff/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No staff members found." context "Empty staff table message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/staff/modal/confirm_delete.html b/templates/dashboard/staff/modal/confirm_delete.htmldeleted file mode 100644index e5edc3ebc7..0000000000--- a/templates/dashboard/staff/modal/confirm_delete.html+++ /dev/null@@ -1,25 +0,0 @@-{% extends "dashboard/base_modal.html" %}--{% load i18n %}--{% block form_class %}{% endblock %}--{% block action_url %}- {% url 'dashboard:staff-delete' pk=staff.pk %}-{% endblock %}--{% block title %}- {% blocktrans trimmed context "Modal remove group text" %}- Remove staff member <strong>{{ staff }}</strong>- {% endblocktrans %}-{% endblock %}--{% block content %}- <div class="col s12">- {% trans "Are you sure you want to remove staff member?" context "Modal remove group text" %}- </div>-{% endblock content %}--{% block primary_action %}- {% trans "Remove" context "Dashboard delete action" %}-{% endblock %}diff --git a/templates/dashboard/staff/zero_page.html b/templates/dashboard/staff/zero_page.htmldeleted file mode 100644index 4b23913f5e..0000000000--- a/templates/dashboard/staff/zero_page.html+++ /dev/null@@ -1,12 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}-{% load static %}--{% block title %}{% trans "No staff members found." %}{% endblock %}-{% block content %}- {% static "dashboard/images/add.svg" as img_path %}- {% blocktrans %}- Staff members are users who have access to the dashboard.<br>- You can create staff members by using the <span class="btn-fab-presentation"><svg data-src="{{ img_path }}" /></span> button or by using option "Promote to staff" in the customer details view.- {% endblocktrans %}-{% endblock %}diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.htmldeleted file mode 100644index 2ab645dc76..0000000000--- a/templates/dashboard/styleguide/index.html+++ /dev/null@@ -1,1628 +0,0 @@-<!DOCTYPE html>-{% load static i18n %}-{% load render_bundle from webpack_loader %}--<html lang="{{ LANGUAGE_CODE }}" class="no-js">- <head>- <title>- {% block title %}- Dashboard Style Guide - Saleor- {% endblock %}- </title>- {% block meta %}- <meta charset="utf-8">- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">- {% endblock meta %}-- {% include 'favicon.html' %}- {% render_bundle 'dashboard' 'css' %}- <link rel="stylesheet" type="text/css" href="{% static "versatileimagefield/css/versatileimagefield.css" %}">-- {% block custom_css %}{% endblock %}- </head>-- <body class="{% block body_class %}body-home{% endblock %}">- <header class="styleguide">- <nav class="top-nav" id="top-nav">- <div class="nav-wrapper">- <ul class="left">- <li class="logo">- <a href="{% url 'dashboard:index' %}">- <svg data-src="{% static "dashboard/images/logo-light.svg" %}" height="38px" width="176px" />- </a>- </li>- <li>- <span>Style Guide</span>- </li>- </ul>- </div>- </nav>- </header>- <main class="main styleguide">- <div class="container">- <div class="row">- <div class="col m3 push-m9 s12">- <ul class="styleguide__menu">- <li>- <a href="#typography">- Typography- </a>- </li>- <li>- <a href="#colors">- Colors- </a>- </li>- <li>- <a href="#helpers">- Helpers- </a>- </li>- <li>- <a href="#buttons">- Buttons- </a>- </li>- <li>- <a href="#icons">- Icons- </a>- </li>- <li>- <a href="#grid">- Grid- </a>- </li>- <li>- <a href="#forms">- Forms- </a>- </li>- <li>- <a href="#breadcrumbs">- Breadcrumbs- </a>- </li>- <li>- <a href="#tabs">- Tabs- </a>- </li>- <li>- <a href="#tables">- Tables- </a>- </li>- <li>- <a href="#lists">- Lists- </a>- </li>- <li>- <a href="#cards">- Cards- </a>- </li>- <li>- <a href="#dropdowns">- Dropdowns- </a>- </li>- <li>- <a href="#modals">- Modals- </a>- </li>- <li>- <a href="#toasts">- Toasts- </a>- </li>- <li>- <a href="#pagination">- Pagination- </a>- </li>- </ul>- </div>- <div class="col m9 pull-m3 s12 styleguide__content">- <div id="info" class="styleguide__content__block">- <div class="card">- <div class="card-content">- <p class="text-lg">We use <strong>Materialize CSS</strong> framework to build dashboard templates. You can <a href="http://materializecss.com/" target="_blank">visit official site</a> for more components and utilities.</p>- </div>- </div>- <div class="card">- <div class="card-content">- <p class="text-lg"> if you’re using a recent version of IE, Firefox, Safari or Chrome (though not Opera), you can edit the text in sections marked with edit icon <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />. Check how our componentst will look like in your language and with your content.</p>- </div>- </div>- </div>- <div id="typography" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Typography <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <div class="card">- <div class="card-content">- <div class="section">- <p class="text-lg">- We use Roboto in Regular(400) and <strong>Bold(700)</strong> weights.- </p>- <h1 contenteditable="true">- H1 example text- </h1>- <h2 contenteditable="true">- H2 example text- </h2>- <h3 contenteditable="true">- H3 example text- </h3>- <h4 contenteditable="true">- H4 example text- </h4>- <h5 contenteditable="true">- H5 example text- </h5>- </div>- <div class="section">- <p contenteditable="true">- Lorem ipsum dolor sit amet mauris. Etiam sapien quis justo. Maecenas consequat, orci quis blandit ultrices posuere vitae, mollis nunc tempus euismod. Vestibulum ante eget odio. Nam pellentesque ut, turpis. Nam sed est id aliquet elit metus, quis nibh. Morbi augue imperdiet wisi.- </p>- </div>- <div class="section">- <a href="#" contenteditable="true">- Link example text- </a>- </div>- </div>- </div>- </div>- <div id="colors" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Colors- </h3>- <div class="row">- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color off-black"></div>- <div class="card-content">- <p class="center-align">rgba(0, 0, 0, 0.87)</p>- <p class="center-align">$off-black</p>- </div>- </div>- </div>- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color primary-color"></div>- <div class="card-content">- <p class="center-align">#E57373</p>- <p class="center-align">$primary-color</p>- </div>- </div>- </div>- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color primary-color-light"></div>- <div class="card-content">- <p class="center-align">#EF9A9A</p>- <p class="center-align">$primary-color-light</p>- </div>- </div>- </div>- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color secondary-color"></div>- <div class="card-content">- <p class="center-align">#26A69A</p>- <p class="center-align">$secondary-color</p>- </div>- </div>- </div>- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color success-color"></div>- <div class="card-content">- <p class="center-align">#4CAF50</p>- <p class="center-align">$success-color</p>- </div>- </div>- </div>- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color error-color"></div>- <div class="card-content">- <p class="center-align">#F44336</p>- <p class="center-align">$error-color</p>- </div>- </div>- </div>- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color link-color"></div>- <div class="card-content">- <p class="center-align">#039BE5</p>- <p class="center-align">$link-color</p>- </div>- </div>- </div>- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color grey-color"></div>- <div class="card-content">- <p class="center-align">#9E9E9E</p>- <p class="center-align">$grey-color</p>- </div>- </div>- </div>- <div class="col l3 m6 s12">- <div class="card">- <div class="card-color sidenav-font-color"></div>- <div class="card-content">- <p class="center-align">#616161</p>- <p class="center-align">$sidenav-font-color</p>- </div>- </div>- </div>- </div>- </div>- <div id="helpers" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Helpers- </h3>- <div class="card">- <div class="card-content">- <div class="section">- <h4>- Text align- </h4>- <code><p class="left-align">Text left aligned</p></code>- <code><p class="right-align">Text right aligned</p></code>- <code><p class="center-align">Text center aligned</p></code>- </div>- <div class="section">- <h4>- Floats- </h4>- <code><div class="left">Add float:left</div></code>- <code><div class="right">Add float:right</div></code>- </div>- <div class="section">- <h4>- Hide content- </h4>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>- Class name- </th>- <th>- Screen Range- </th>- </tr>- </thead>- <tbody>- <tr data-action-go="">- <td>- .hide- </td>- <td>- Hidden for all Devices- </td>- </tr>- <tr data-action-go="">- <td>- .hide-on-small-only- </td>- <td>- Hidden for Mobile Only- </td>- </tr>- <tr data-action-go="">- <td>- .hide-on-med-only- </td>- <td>- Hidden for Tablet Only- </td>- </tr>- <tr data-action-go="">- <td>- .hide-on-med-and-down- </td>- <td>- Hidden for Tablet and Below- </td>- </tr>- <tr data-action-go="">- <td>- .hide-on-med-and-up- </td>- <td>- Hidden for Tablet and Above- </td>- </tr>- <tr data-action-go="">- <td>- .hide-on-large-only- </td>- <td>- Hidden for Desktop Only- </td>- </tr>- </tbody>- </table>- </div>- <code><div class="hide"></div></code>- </div>- <div class="section">- <h4>- No margin- </h4>- <code><div class="no-margin">Remove all margins</div></code>- </div>- <div class="section">- <h4>- Labels <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h4>- <code><span class="label"></span></code>- <span class="label" contenteditable="true">Example label class</span>- <code><span class="label label-danger"></span></code>- <span class="label label-danger" contenteditable="true">Example label class</span>- <code><span class="label label-success"></span></code>- <span class="label label-success" contenteditable="true">Example label class</span>- </div>- <div class="section">- <h4>- Currency <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h4>- <code><span class="currency"></span></code>- <span class="currency" contenteditable="true">USD</span>- </div>- <div class="section">- <h4>- Text large <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h4>- <code><p class="text-lg"></p></code>- <p contenteditable="true">- Regular example text- </p>- <p class="text-lg" contenteditable="true">- Large example text- </p>- </div>- </div>- </div>- </div>- <div id="buttons" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Buttons <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <div class="card">- <div class="card-content">- <div class="row section">- <div class="col m4 s12">- <a class="btn waves-effect" contenteditable="true">- Primary- </a>- </div>- <div class="col m4 s12">- <a class="btn-flat waves-effect" contenteditable="true">- Secondary- </a>- </div>- <div class="col m4 s12">- <a class="btn btn-floating btn-large waves-effect waves-light">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>- </div>- <div class="row section">- <div class="col m4 s12">- <a class="btn disabled" contenteditable="true">- Primary disabled- </a>- </div>- <div class="col m4 s12">- <a class="btn-flat waves-effect disabled" contenteditable="true">- Secondary disabled- </a>- </div>- <div class="col m4 s12">- <a class="btn btn-floating btn-large waves-effect waves-light disabled">- <svg data-src="{% static "dashboard/images/add.svg" %}" />- </a>- </div>- </div>- </div>- </div>- </div>- <div id="icons" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Icons- </h3>- <div class="card">- <div class="card-content">- <div class="section">- <h4>- Used icons- </h4>- <svg data-src="{% static "dashboard/images/add.svg" %}" />- <svg data-src="{% static "dashboard/images/account-circle.svg" %}" />- <svg data-src="{% static "dashboard/images/search.svg" %}" />- <svg data-src="{% static "dashboard/images/mobile-menu.svg" %}" />- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" />- <svg data-src="{% static "dashboard/images/chevron-right.svg" %}" fill="#000" />- <svg data-src="{% static "dashboard/images/edit.svg" %}" fill="#000" width="24px" height="24px" />- <svg data-src="{% static "dashboard/images/style.svg" %}" fill="#000" width="24px" height="24px" />- <svg data-src="{% static "dashboard/images/store.svg" %}" fill="#000" width="24px" height="24px" />- <svg data-src="{% static "dashboard/images/collections.svg" %}" fill="#000" width="24px" height="24px" />- <svg data-src="{% static "dashboard/images/description.svg" %}" fill="#000" width="24px" height="24px" />- <svg data-src="{% static "dashboard/images/description.svg" %}" fill="#000" width="24px" height="24px" />- <svg data-src="{% static "dashboard/images/history.svg" %}" fill="#000" width="24px" height="24px" />- <svg data-src="{% static "dashboard/images/arrow-drop-down.svg" %}" fill="#000" width="24px" height="24px" />- </div>- <div class="section">- <h4>- All icons- </h4>- <a href="https://material.io/icons/" target="_blank">https://material.io/icons/</a>- </div>- </div>- </div>- </div>- <div id="grid" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Grid- </h3>- <div class="row">- <div class="col m12 s12">- <div class="card">- <div class="card-content">- <p>col m12 s12</p>- </div>- </div>- </div>- </div>- <div class="row">- <div class="col m6 s6">- <div class="card">- <div class="card-content">- <p>col m6 s6</p>- </div>- </div>- </div>- <div class="col m6 s6">- <div class="card">- <div class="card-content">- <p>col m6 s6</p>- </div>- </div>- </div>- </div>- <div class="row">- <div class="col m3 s3">- <div class="card">- <div class="card-content">- <p>col m3 s6</p>- </div>- </div>- </div>- <div class="col m9 s9">- <div class="card">- <div class="card-content">- <p>col m9</p>- </div>- </div>- </div>- </div>- <div class="row">- <div class="col m3 s6">- <div class="card">- <div class="card-content">- <p>col m3 s6</p>- </div>- </div>- </div>- <div class="col m3 s6">- <div class="card">- <div class="card-content">- <p>col m3 s6</p>- </div>- </div>- </div>- <div class="col m3 s6">- <div class="card">- <div class="card-content">- <p>col m3 s6</p>- </div>- </div>- </div>- <div class="col m3 s6">- <div class="card">- <div class="card-content">- <p>col m3 s6</p>- </div>- </div>- </div>- </div>- <div class="row">- <div class="col m10 offset-m1 s10 offset-s1">- <div class="card">- <div class="card-content">- <p>col m10 offset-m1 s10 offset-s1</p>- </div>- </div>- </div>- </div>- <div class="card">- <div class="data-table-header">- <span class="data-table-title">- Screen Sizes- </span>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th></th>- <th>- Mobile Devices <= 600px- </th>- <th>- Tablet Devices <= 992px- </th>- <th>- Desktop Devices > 992px- </th>- </tr>- </thead>- <tbody>- <tr data-action-go="">- <td>- Class Prefix- </td>- <td>- .s- </td>- <td>- .m- </td>- <td>- .l- </td>- </tr>- <tr data-action-go="">- <td>- Container Width- </td>- <td>- 85%- </td>- <td>- 85%- </td>- <td>- 70%- </td>- </tr>- <tr data-action-go="">- <td>- Number of Columns- </td>- <td>- 12- </td>- <td>- 12- </td>- <td>- 12- </td>- </tr>- </tbody>- </table>- </div>- </div>- </div>- <div id="forms" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Forms- <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <div class="card">- <div class="card-content">- <div class="section">- <h4>- Input- </h4>- <form>- <div class="input input-field">- <label class="active" for="id_name" contenteditable="true">- Name- </label>- <input id="id_name" maxlength="128" name="name" placeholder="Give your awesome product a name" type="text" value="Lucas, Martinez and Chaney" required="">- </div>- </form>- </div>- <div class="section">- <h4>- Input with sufix- </h4>- <form>- <div class="input input-field">- <label class="active" for="id_price" contenteditable="true">- Price- </label>- <div class="input-with-suffix">- <input class=" validate" id="id_price" name="price" step="any" type="number" required="">- <div class="input-text-suffix" contenteditable="true">USD</div>- </div>- </div>- </form>- </div>- <div class="section">- <h4>- Datepicker- </h4>- <form>- <div class="input input-field">- <label class="active" for="id_name" contenteditable="true">- Name- </label>- <input id="id_name" class="datepicker" maxlength="128" name="name" type="text" value="7 March 2017" required="">- </div>- </form>- </div>- <div class="section">- <h4>- Select- </h4>- <form>- <div class="input input-field">- <label class="active" for="id_attribute-coffee-genre" contenteditable="true">- Coffee Genre (optional)- </label>- <select class=" initialized" id="id_attribute-coffee-genre" name="attribute-coffee-genre">- <option value="" contenteditable="true">---------</option>- <option value="2" contenteditable="true">Arabica</option>- <option value="3 contenteditable="true"" selected="selected">Robusta</option>- </select>- </div>- </form>- </div>- <div class="section">- <h4>- Multiple Select- </h4>- <form>- <div class="input input-field">- <label class="active" for="id_attribute-coffee-genre" contenteditable="true">- Coffee Genre (optional)- </label>- <select multiple class=" initialized" id="id_attribute-coffee-genre" name="attribute-coffee-genre">- <option value="" contenteditable="true">---------</option>- <option value="2" contenteditable="true">Arabica</option>- <option value="3" contenteditable="true" selected="selected">Robusta</option>- </select>- </div>- </form>- </div>- <div class="section">- <h4>- Textarea- </h4>- <form>- <div class="input input-field">- <textarea id="id_description" class="materialize-textarea" name="description">Lorem ipsum dolor sit amet mauris. Etiam sapien quis justo. Maecenas consequat, orci quis blandit ultrices posuere vitae, mollis nunc tempus euismod. Vestibulum ante eget odio. Nam pellentesque ut, turpis. Nam sed est id aliquet elit metus, quis nibh. Morbi augue imperdiet wisi.</textarea>- <label class="active" for="id_description" contenteditable="true">- Description- </label>- </div>- </form>- </div>- <div class="section">- <h4>- Radio Buttons- </h4>- <form>- <div class="input input-field">- <p>- <input name="group1" type="radio" id="test1" />- <label for="test1" contenteditable="true">- Radio 1- </label>- </p>- <p>- <input name="group1" type="radio" id="test2" />- <label for="test2" contenteditable="true">- Radio 2- </label>- </p>- <p>- <input name="group1" type="radio" id="test4" disabled="disabled" />- <label for="test4" contenteditable="true">- Disabled Radio- </label>- </p>- </div>- </form>- </div>- <div class="section">- <h4>- Checkboxes- </h4>- <form>- <div class="input input-field">- <p>- <input type="checkbox" class="filled-in" id="filled-in-box" />- <label for="filled-in-box" contenteditable="true">- Check- </label>- </p>- <p>- <input type="checkbox" class="filled-in" id="test7" checked="checked" disabled="disabled" />- <label for="test7" contenteditable="true">- Disabled Checked- </label>- </p>- <p>- <input type="checkbox" id="test8" disabled="disabled" />- <label for="test8" contenteditable="true">- Disabled- </label>- </p>- </div>- </form>- </div>- <div class="section">- <h4>- File input- </h4>- <form>- <div class="file-field input-field">- <div class="btn waves-effect">- <span contenteditable="true">File</span>- <input type="file">- </div>- <div class="file-path-wrapper">- <input class="file-path validate" type="text">- </div>- </div>- </form>- </div>- <div class="section">- <h4>- Errors- </h4>- <form>- <div class="input input-field">- <label class="active" for="id_name" contenteditable="true">- Name- </label>- <input id="id_name" class="invalid" maxlength="128" name="name" placeholder="Give your awesome product a name" type="text" value="" required="">- <p class="help-block materialize-red-text" contenteditable="true">- This field is required- </p>- </div>- </form>- </div>- </div>- </div>- </div>- <div id="breadcrumbs" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Breadcrumbs- <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <div class="subheader top-nav">- <div class="container">- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a class="breadcrumb" contenteditable="true">- Products- </a>- </li>- <li class="back-mobile">- <a>- <svg data-src="{% static "dashboard/images/arrow-left.svg" %}" fill="#fff" width="20px" height="20px" />- </a>- </li>- <li>- <span class="breadcrumbs--ellipsed-item" contenteditable="true">- Lucas, Martinez and Chaney- </span>- </li>- </ul>- </div>- </div>- </div>- <div id="tabs" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Tabs- <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <ul class="tabs">- <li class="tab col s3" role="presentation">- <a href="#details" class="active" role="tab">- <span contenteditable="true">- Details- </span>- <svg data-src="{% static "dashboard/images/edit.svg" %}" />- </a>- </li>- <li class="tab col s3" role="presentation">- <a href="#variants" role="tab">- <span contenteditable="true">- Variants- </span>- <svg data-src="{% static "dashboard/images/style.svg" %}" />- </a>- </li>- <li class="tab col s3" role="presentation">- <a href="#stock" role="tab">- <span contenteditable="true">- Stock- </span>- <svg data-src="{% static "dashboard/images/store.svg" %}" />- </a>- </li>- <li class="tab col s3" role="presentation">- <a href="#images" role="tab">- <span contenteditable="true">- Images- </span>- <svg data-src="{% static "dashboard/images/collections.svg" %}" />- </a>- </li>- </ul>- <div class="tab-content" id="details">- <div class="card">- <div class="card-content">- <span class="card-title" contenteditable="true">- Details- </span>- <p contenteditable="true">- Lorem ipsum dolor sit amet mauris. Etiam sapien quis justo. Maecenas consequat, orci quis blandit ultrices posuere vitae, mollis nunc tempus euismod. Vestibulum ante eget odio. Nam pellentesque ut, turpis. Nam sed est id aliquet elit metus, quis nibh. Morbi augue imperdiet wisi.- </p>- </div>- </div>- </div>- <div class="tab-content" id="variants">- <div class="card">- <div class="card-content">- <span class="card-title" contenteditable="true">- Variants- </span>- <p contenteditable="true">- Lorem ipsum dolor sit amet mauris. Etiam sapien quis justo. Maecenas consequat, orci quis blandit ultrices posuere vitae, mollis nunc tempus euismod. Vestibulum ante eget odio. Nam pellentesque ut, turpis. Nam sed est id aliquet elit metus, quis nibh. Morbi augue imperdiet wisi.- </p>- </div>- </div>- </div>- <div class="tab-content" id="stock">- <div class="card">- <div class="card-content">- <span class="card-title" contenteditable="true">- Stock- </span>- <p contenteditable="true">- Lorem ipsum dolor sit amet mauris. Etiam sapien quis justo. Maecenas consequat, orci quis blandit ultrices posuere vitae, mollis nunc tempus euismod. Vestibulum ante eget odio. Nam pellentesque ut, turpis. Nam sed est id aliquet elit metus, quis nibh. Morbi augue imperdiet wisi.- </p>- </div>- </div>- </div>- <div class="tab-content" id="images">- <div class="card">- <div class="card-content">- <span class="card-title" contenteditable="true">- Images- </span>- <p contenteditable="true">- Lorem ipsum dolor sit amet mauris. Etiam sapien quis justo. Maecenas consequat, orci quis blandit ultrices posuere vitae, mollis nunc tempus euismod. Vestibulum ante eget odio. Nam pellentesque ut, turpis. Nam sed est id aliquet elit metus, quis nibh. Morbi augue imperdiet wisi.- </p>- </div>- </div>- </div>- </div>- <div id="tables" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Tables- <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <div class="section">- <h4>- Regular Table- </h4>- <div class="card">- <div class="data-table-header">- <span class="data-table-title" contenteditable="true">- Orders- </span>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th contenteditable="true">- #- </th>- <th contenteditable="true">- Order status- </th>- <th contenteditable="true">- Payment status- </th>- <th contenteditable="true">- Customer- </th>- <th contenteditable="true">- Placed on- </th>- <th class="right-align" contenteditable="true">- Total- </th>- </tr>- </thead>- <tbody>- <tr>- <td contenteditable="true">- #11- </td>- <td>- <span class="label label-success" contenteditable="true">- Shipped- </span>- </td>- <td>- <span class="label label-success" contenteditable="true">- Confirmed- </span>- </td>- <td contenteditable="true">- </td>- <td contenteditable="true">- {% now "F j, Y, H:i" %}- </td>- <td class="right-align" contenteditable="true">- 299,06 - <span class="currency">USD</span>- </td>- </tr>- <tr>- <td contenteditable="true">- #11- </td>- <td>- <span class="label label-default" contenteditable="true">- PAYMENT PENDING- </span>- </td>- <td>- <span class="label label-default" contenteditable="true">- Pre-authorized- </span>- </td>- <td contenteditable="true">- </td>- <td contenteditable="true">- {% now "F j, Y, H:i" %}- </td>- <td class="right-align" contenteditable="true">- 299,06 - <span class="currency">USD</span>- </td>- </tr>- </tbody>- </table>- </div>- </div>- <div class="section">- <h4>- Table with button- </h4>- <div class="card">- <div class="data-table-header-action">- <a href="" class="btn btn-data-table btn-flat waves-effect" contenteditable="true">- Add- </a>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th contenteditable="true">- #- </th>- <th contenteditable="true">- Order status- </th>- <th contenteditable="true">- Payment status- </th>- <th contenteditable="true">- Customer- </th>- <th contenteditable="true">- Placed on- </th>- <th class="right-align" contenteditable="true">- Total- </th>- </tr>- </thead>- <tbody>- <tr>- <td contenteditable="true">- #11- </td>- <td>- <span class="label label-success" contenteditable="true">- Shipped- </span>- </td>- <td>- <span class="label label-success" contenteditable="true">- Confirmed- </span>- </td>- <td contenteditable="true">- </td>- <td contenteditable="true">- {% now "F j, Y, H:i" %}- </td>- <td class="right-align" contenteditable="true">- 299,06 - <span class="currency">USD</span>- </td>- </tr>- <tr>- <td contenteditable="true">- #11- </td>- <td>- <span class="label label-default" contenteditable="true">- PAYMENT PENDING- </span>- </td>- <td>- <span class="label label-default" contenteditable="true">- Pre-authorized- </span>- </td>- <td contenteditable="true">- </td>- <td contenteditable="true">- {% now "F j, Y, H:i" %}- </td>- <td class="right-align" contenteditable="true">- 299,06 - <span class="currency">USD</span>- </td>- </tr>- </tbody>- </table>- </div>- </div>- </div>- <div class="section">- <h4>- Table with checkbox- </h4>- <div class="card">- <form>- <div class="data-table-header-action">- <a href="" class="btn btn-data-table btn-show-when-unchecked btn-flat waves-effect" contenteditable="true">- Add- </a>- <a href="" class="btn btn-data-table btn-show-when-checked btn-flat waves-effect" style="display:none" hidden contenteditable="true">- Remove- </a>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th class="bulk-checkbox">- <input type="checkbox" id="one" class="filled-in select-all switch-actions">- <label for="one"></label>- </th>- <th contenteditable="true">- SKU- </th>- <th contenteditable="true">- Box Size- </th>- <th class="wide" contenteditable="true">- Variant- </th>- <th class="right-align" contenteditable="true">- Price- </th>- </tr>- </thead>- <tbody>- <tr>- <td class="bulk-checkbox ignore-link">- <input id="two" name="items" type="checkbox" value="{{ variant.id }}" class="filled-in switch-actions">- <label for="two"></label>- </td>- <td contenteditable="true">- 2-1337- </td>- <td contenteditable="true">- 1kg- </td>- <td>- </td>- <td class="right-align" contenteditable="true">- 124,91 <span class="currency">USD</span>- </td>- </tr>- <tr>- <td class="bulk-checkbox ignore-link">- <input id="three" name="items" type="checkbox" value="{{ variant.id }}" class="filled-in switch-actions">- <label for="three"></label>- </td>- <td contenteditable="true">- 2-1338- </td>- <td contenteditable="true">- 500g- </td>- <td>- </td>- <td class="right-align" contenteditable="true">- 54,91 <span class="currency">USD</span>- </td>- </tr>- <tr>- <td class="bulk-checkbox ignore-link">- <input id="four" name="items" type="checkbox" value="{{ variant.id }}" class="filled-in switch-actions">- <label for="four"></label>- </td>- <td contenteditable="true">- 2-1339- </td>- <td contenteditable="true">- 200g- </td>- <td>- </td>- <td class="right-align" contenteditable="true">- 34,91 <span class="currency">USD</span>- </td>- </tr>- <tr>- <td class="bulk-checkbox ignore-link">- <input id="id_variants_{{ variant.id }}" name="items" type="checkbox" value="{{ variant.id }}" class="filled-in switch-actions">- <label for="id_variants_{{ variant.id }}"></label>- </td>- <td contenteditable="true">- 2-1340- </td>- <td contenteditable="true">- 100g- </td>- <td>- </td>- <td class="right-align" contenteditable="true">- 24,91 <span class="currency">USD</span>- </td>- </tr>- </tbody>- </table>- </div>- </form>- </div>- </div>- <div class="section">- <h4>- Empty Table- </h4>- <div class="card">- <div class="data-table-header">- <span class="data-table-title" contenteditable="true">- Orders- </span>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th contenteditable="true">- #- </th>- <th contenteditable="true">- Order status- </th>- <th contenteditable="true">- Payment status- </th>- <th contenteditable="true">- Customer- </th>- <th contenteditable="true">- Placed on- </th>- <th class="right-align" contenteditable="true">- Total- </th>- </tr>- </thead>- <tbody>- <tr>- <td>- <span contenteditable="true">- No orders found- </span>- </td>- </tr>- </tbody>- </table>- </div>- </div>- </div>- <div id="lists" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Lists- <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <div class="section">- <h4>- 1 line list- </h4>- <ul class="collection list">- <li class="collection-item list-item">- <a class="list-item-name" href="#" contenteditable="true">- <p class="list-item-name--single">- Groceries- </p>- </a>- </li>- <li class="collection-item list-item">- <a class="list-item-name" href="#" contenteditable="true">- <p class="list-item-name--single">- Accessories- </p>- </a>- </li>- <li class="collection-item list-item">- <a class="list-item-name" href="#" contenteditable="true">- <p class="list-item-name--single">- Apparel- </p>- </a>- </li>- <li class="collection-item list-item">- <a class="list-item-name" href="#" contenteditable="true">- <p class="list-item-name--single">- Books- </p>- </a>- </li>- </ul>- </div>- <div class="section">- <h4>- 2 line list- </h4>- <ul class="collection list">- <li class="collection-item list-item">- <a class="list-item-name" href="#" contenteditable="true">- Groceries- <p class="list-item-desc">- <span>- Autem porro rem rem. Laudantium iure ipsam voluptates repellendus nulla esse blanditiis. Facere rerum occaecati adipisci porro quasi quibusdam. asdas as das das das das das- </span>- </p>- </a>- </li>- <li class="collection-item list-item">- <a class="list-item-name" href="#" contenteditable="true">- Accessories- <p class="list-item-desc">- <span>- Consequuntur ducimus laborum qui ea mollitia. Illum cum itaque consequuntur temporibus officia dolore. Atque sed aspernatur eligendi.- </span>- </p>- </a>- </li>- <li class="collection-item list-item">- <a class="list-item-name" href="#" contenteditable="true">- Apparel- <p class="list-item-desc">- <span>- Consequuntur officia enim est. Cum esse accusantium blanditiis quae modi inventore. Quia iusto veniam sed perferendis.- </span>- </p>- </a>- </li>- <li class="collection-item list-item">- <a class="list-item-name" href="#" contenteditable="true">- Books- <p class="list-item-desc">- <span>- Nemo at repellat praesentium consequuntur at. Velit repellat accusamus corporis consequatur. Possimus error optio a nam officia laudantium. Nulla est iusto laboriosam laboriosam laborum.- </span>- </p>- </a>- </li>- </ul>- </div>- <div class="section">- <h4>- List with avatar- </h4>- <ul class="collection list">- <li class="collection-item avatar list-item">- <a href="#" contenteditable="true">- <img src="{% static 'images/placeholder60x60.png' %}"- srcset="{% static 'images/placeholder60x60.png' %} 1x, {% static 'images/placeholder120x120.png' %} 2x"- alt="" class="circle">- <span class="title list-item-name">- Miller-Hill- </span>- <p class="list-item-price">- 31,40 <span class="currency">USD</span>- </p>- </a>- </li>- <li class="collection-item avatar list-item">- <a href="#" contenteditable="true">- <img src="{% static 'images/placeholder60x60.png' %}"- srcset="{% static 'images/placeholder60x60.png' %} 1x, {% static 'images/placeholder120x120.png' %} 2x"- alt="" class="circle">- <span class="title list-item-name">- Schmidt and Sons- </span>- <p class="list-item-price">- 11,40 <span class="currency">USD</span>- </p>- </a>- </li>- <li class="collection-item avatar list-item">- <a href="#" contenteditable="true">- <img src="{% static 'images/placeholder60x60.png' %}"- srcset="{% static 'images/placeholder60x60.png' %} 1x, {% static 'images/placeholder120x120.png' %} 2x"- alt="" class="circle">- <span class="title list-item-name">- Ramirez PLC- </span>- <p class="list-item-price">- 25,40 <span class="currency">USD</span>- </p>- </a>- </li>- <li class="collection-item avatar list-item">- <a href="#" contenteditable="true">- <img src="{% static 'images/placeholder60x60.png' %}"- srcset="{% static 'images/placeholder60x60.png' %} 1x, {% static 'images/placeholder120x120.png' %} 2x"- alt="" class="circle">- <span class="title list-item-name">- Foster-Brown- </span>- <p class="list-item-price">- 66,40 <span class="currency">USD</span>- </p>- </a>- </li>- </ul>- </div>- <div class="section">- <h4>- Empty List- </h4>- <div class="not-found">- <p class="grey-text" contenteditable="true">- No categories.- </p>- </div>- </div>- </div>- <div id="cards" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Cards- <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <div class="row">- <div class="col m6">- <div class="card">- <div class="card-content">- <span class="card-title" contenteditable="true">- Card Title- </span>- <p contenteditable="true">- Nemo at repellat praesentium consequuntur at. Velit repellat accusamus corporis consequatur. Possimus error optio a nam officia laudantium. Nulla est iusto laboriosam laboriosam laborum.- </p>- </div>- </div>- </div>- <div class="col m6">- <div class="card">- <div class="card-image">- <img src="{% static "images/block1.jpg" %}">- <span class="card-title" contenteditable="true">- Card Title- </span>- </div>- <div class="card-content">- <p contenteditable="true">- I am a very simple card. I am good at containing small bits of information.- I am convenient because I require little markup to use effectively.- </p>- </div>- <div class="card-action">- <a href="#" class="btn-flat waves-effect" contenteditable="true">- This is a link- </a>- </div>- </div>- </div>- </div>- </div>- <div id="dropdowns" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Dropdowns- </h3>- <div class="card">- <div class="card-content">- <div class="section">- <h4>Button</h4>- <a class="dropdown-button btn" href="#" data-activates="dropdown1">- Drop Me!- </a>- </div>- <div class="section">- <h4>Link</h4>- <a class="dropdown-button" href="#" data-activates="dropdown1">- Drop Me!- </a>- </div>- <div class="section">- <h4>Icon</h4>- <a class="dropdown-button" href="#" data-activates="dropdown1">- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- </div>- <ul id="dropdown1" class="dropdown-content">- <li>- <a href="#!">one</a>- </li>- <li>- <a href="#!">two</a>- </li>- <li class="divider"></li>- <li>- <a href="#!">three</a>- </li>- </ul>- </div>- </div>- </div>- <div id="modals" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Modals- <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <div class="card">- <div class="card-content">- <div class="section">- <h4>Button</h4>- <a class="waves-effect waves-light btn" href="#modal1">- Modal- </a>- </div>- <div class="section">- <h4>Link</h4>- <a href="#modal1">- Modal- </a>- </div>- <div class="section">- <h4>Dropdown</h4>- <a class='dropdown-button' href='#' data-activates='dropdown2'>- <svg data-src="{% static "dashboard/images/more-vert.svg" %}" height="24" width="24" />- </a>- <ul id='dropdown2' class='dropdown-content'>- <li>- <a href="#modal1">Modal</a>- </li>- </ul>- </div>- <div id="modal1" class="modal">- <div class="modal-content">- <h4 contenteditable="true">- Modal Header- </h4>- <p contenteditable="true">- I am a very simple card. I am good at containing small bits of information.- I am convenient because I require little markup to use effectively.- </p>- </div>- <div class="modal-footer">- <a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat waves-effect" contenteditable="true">- Agree- </a>- <a href="#!" class=" modal-action modal-close btn-flat waves-effect" contenteditable="true">- Cancel- </a>- </div>- </div>- </div>- </div>- </div>- <div id="toasts" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Toasts- </h3>- <div class="card">- <div class="card-content">- <a class="btn waves-effect" onclick="Materialize.toast('Example toast text', 4000)"> Toast</a>- </div>- </div>- </div>- <div id="pagination" class="styleguide__content__block">- <h3 class="styleguide__content__block--title">- Pagination- <svg data-src="{% static "dashboard/images/edit.svg" %}" width="24px" height="24px" />- </h3>- <ul class="pagination">- <li class="disabled">- <a href="#!">- <svg data-src="{% static "dashboard/images/chevron-left.svg" %}" />- </a>- </li>- <li class="active">- <a href="" contenteditable="true">- 1- </a>- </li>- <li class="waves-effect">- <a href="" contenteditable="true">- 2- </a>- </li>- <li class="waves-effect">- <a href="" contenteditable="true">- 3- </a>- </li>- <li class="waves-effect">- <a href="" contenteditable="true">- 4- </a>- </li>- <li class="waves-effect">- <a href="" contenteditable="true">- 5- </a>- </li>- <li>- <a href="">- <svg data-src="{% static "dashboard/images/chevron-right.svg" %}" fill="#000" />- </a>- </li>- </ul>- </div>- </div>- </div>- </div>- </main>- <div id="base-modal" class="modal"></div>- <div id="base-modal-fixed" class="modal modal-fixed-footer"></div>-- <!-- Core Scripts - Include with every page -->- <script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>- {% render_bundle 'dashboard' 'js' %}- <script src="{% static "versatileimagefield/js/versatileimagefield.js" %}"></script>-- {% block custom_js %}{% endblock %}- </body>-</html>diff --git a/templates/dashboard/taxes/details.html b/templates/dashboard/taxes/details.htmldeleted file mode 100644index a9c0758205..0000000000--- a/templates/dashboard/taxes/details.html+++ /dev/null@@ -1,78 +0,0 @@-{% extends 'dashboard/base.html' %}--{% load get_country_by_code from dashboard %}-{% load i18n %}-{% load static %}--{% block title %}- {% get_country_by_code tax.country_code as country_name %}- {{ country_name }} tax rates - {{ block.super }}-{% endblock %}--{% block menu_taxes_class %} active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:taxes' %}">- {% trans "Taxes" context "Tax details breadcrumbs" %}- </a>- </li>- <li class="back-mobile">- <a href="{% url 'dashboard:taxes' %}"><i class="material-icons">arrow_back</i></a>- </li>- <li>- <span class="breadcrumbs--elipsed-item">- {% get_country_by_code tax.country_code as country_name %}- {{ country_name }}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col m12 l9">- <div class="card">- <div class="card-content">- <span class="card-title">- {% get_country_by_code tax.country_code as country_name %}- {% blocktrans trimmed with country_name=country_name context "Country tax rates list title" %}- Tax rates in {{ country_name }}- {% endblocktrans %}- </span>- </div>- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- <th>- {% trans "Name" context "Country tax rates list header" %}- </th>- <th class="right-align">- {% trans "Value" context "Country tax rates list header" %}- </th>- </tr>- </thead>- <tbody>- {% for name, tax_rate in tax_rates %}- <tr>- <td>{{ name }}</td>- <td class="right-align">- {% blocktrans with tax_rate=tax_rate context "Order line tax rate value" %}- {{ tax_rate }} %- {% endblocktrans %}- </td>- </tr>- {% empty %}- <tr>- <td colspan="2">{% trans "No tax rates" context "Empty country tax rates list" %}</td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/taxes/form.html b/templates/dashboard/taxes/form.htmldeleted file mode 100644index a103400ad7..0000000000--- a/templates/dashboard/taxes/form.html+++ /dev/null@@ -1,118 +0,0 @@-{% extends 'dashboard/base.html' %}-{% load static %}-{% load i18n %}-{% load materializecss %}--{% block title %}- {% if site.pk %}- {{ site }}- {% else %}- {% trans "Add new site settings" context "Site settings page title" %}- {% endif %}- - {% trans "Site settings" context "Dashboard site settings" %} - {{ block.super }}-{% endblock %}--{% block body_class %}body-settings{% endblock %}--{% block menu_taxes_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs breadcrumbs--history">- <li>- <a href="{% url 'dashboard:taxes' %}" class="breadcrumbs--ellipsed-item">- {% trans "Taxes" context "Dashboard taxes list" %}- </a>- </li>- <li>- <span>- {% trans "Configure taxes" context "Dashboard configure taxes settings" %}- </span>- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- <div class="card">- <form method="post" id="form-category" enctype="multipart/form-data" novalidate>- {% csrf_token %}- <div class="card-content card-content-form">- <div class="card-title">- {% trans "Taxes" context "Dashboard site taxes settings form title" %}- </div>- <br>- <div class="col s12">- <h4>{% trans "Dashboard" %}</h4>- </div>- <div class="row">- <div class="col s12">- {{ taxes_form.include_taxes_in_prices|materializecss }}- </div>- <div class="col s12 checkbox-helptext">- <h6>- {% blocktrans context "Dashboard site taxes settings form help text" %}- If selected, taxes will be calculated using below formula:- {% endblocktrans %}- </h6>- <h6>- {% blocktrans context "Dashboard site taxes settings form help text" %}- tax_amount = (tax_rate * price) / (1 + tax_rate)- {% endblocktrans %}- </h6>- <h6>- {% blocktrans context "Dashboard site taxes settings form help text" %}- For example: product with price 4.00 € and 19% VAT will have net price calculated to 3.36 € and tax to 0.64 € (rounded)- {% endblocktrans %}- </h6>- </div>- </div>- <div class="col s12">- <h4>{% trans "Storefront" %}</h4>- </div>- <div class="row">- <div class="col s12">- {{ taxes_form.display_gross_prices|materializecss }}- </div>- <div class="col s12 checkbox-helptext">- <h6>- {% blocktrans context "Dashboard site taxes settings form help text" %}- If selected, prices displayed for customers in the storefront will be gross and taxes will be calculated at checkout.- {% endblocktrans %}- </h6>- </div>- </div>- <div class="row">- <div class="col s12">- {{ taxes_form.charge_taxes_on_shipping|materializecss }}- </div>- <div class="col s12 checkbox-helptext">- <h6>- {% blocktrans context "Dashboard site taxes settings form help text" %}- If selected, standard tax rate will be charged on a shipping price.- {% endblocktrans %}- </h6>- </div>- </div>- </div>- <div class="card-action right-align">- <a class="btn-flat waves-effect" href="{% url 'dashboard:taxes' %}">- {% trans "Cancel" context "Dashboard cancel action" %}- </a>- <button type="submit" class="btn waves-effect">- {% trans "Update" context "Dashboard update action" %}- </button>- </div>- </form>- </div>- </div>- <div class="col m12 l3 help-box">- <p class="grey-text">- <svg data-src="{% static "dashboard/images/help.svg" %}" width="18" height="18" />- {% blocktrans trimmed context "Taxes help text" %}- Taxes are charged according to the rates applicable in the country to which the order is delivered. For now, only rates in European Union are handled.- {% endblocktrans %}- </p>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/taxes/list.html b/templates/dashboard/taxes/list.htmldeleted file mode 100644index 70e7bda19e..0000000000--- a/templates/dashboard/taxes/list.html+++ /dev/null@@ -1,134 +0,0 @@-{% extends "dashboard/base.html" %}-{% load i18n %}-{% load get_country_by_code from dashboard %}-{% load utils %}--{% block title %}- {% trans "Taxes" context "Dashboard taxes list" %} - {{ block.super }}-{% endblock %}--{% block menu_taxes_class %}active{% endblock %}--{% block breadcrumbs %}- <ul class="breadcrumbs">- <li class="visible-s">- {% trans "Taxes" context "Dashboard taxes list" %}- </li>- </ul>-{% endblock %}--{% block content %}- <div class="row">- <div class="col s12 l9">- {% if taxes %}- <div class="card">- <div class="data-table-container">- <table class="bordered highlight responsive data-table">- <thead>- <tr>- {% trans "Country code" context "Taxes table header" as label %}- {% sorting_header 'country_code' label %}-- <th class="wide">- {% trans "Country name" context "Taxes table header" %}- </th>- </tr>- </thead>- <tbody>- {% for tax in taxes %}- <tr data-action-go="{% url 'dashboard:tax-details' country_code=tax.country_code %}">- <td>- {{ tax.country_code }}- </td>- <td>- {% get_country_by_code tax.country_code as country_name %}- {{ country_name }}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- {% paginate taxes %}- {% else %}- {% if is_empty %}- {% include 'dashboard/taxes/zero_page.html' %}- {% else %}- <div class="col s12">- <div class="not-found">- <p class="grey-text">- {% trans "No taxes found." context "Empty taxes message" %}- </p>- </div>- </div>- {% endif %}- {% endif %}- </div>- <div class="col s12 l3" id="filters">- {% if not is_empty %}{% filters filter_set %}{% endif %}- </div>- <div class="col s12 l3">- <div class="card">- <div class="card-content">- <span class="card-title">- {% trans "Configuration" context "Taxes site settings title" %}- </span>- <div class="row">- <div class="col s12">- <h4>- {% trans "All products prices are entered with tax included" context "Site settings field" %}- </h4>- <p>- {% if site.settings.include_taxes_in_prices %}- {% trans "Yes" context "Include taxes in prices setting description" %}- {% else %}- {% trans "No" context "Include taxes in prices setting description" %}- {% endif %}- </p>- </div>- </div>- <div class="row">- <div class="col s12">- <h4>- {% trans "Show gross prices to customers in the storefront" context "Site settings field" %}- </h4>- <p>- {% if site.settings.display_gross_prices %}- {% trans "Yes" context "Show customers gross prices setting description" %}- {% else %}- {% trans "No" context "Show customers gross prices setting description" %}- {% endif %}- </p>- </div>- </div>- <div class="row">- <div class="col s12">- <h4>- {% trans "Charge taxes on shipping rates" context "Site settings field" %}- </h4>- <p>- {% if site.settings.charge_taxes_on_shipping %}- {% trans "Yes" context "Charge taxes on shipping rates setting description" %}- {% else %}- {% trans "No" context "Charge taxes on shipping rates setting description" %}- {% endif %}- </p>- </div>- </div>- </div>- <div class="card-action">- <a class="btn-flat waves-effect" href="{% url 'dashboard:configure-taxes' %}">- {% trans "Configure taxes" context "Site settings configure taxes action" %}- </a>- <form method="POST" action="{% url 'dashboard:fetch-tax-rates' %}" style="display: inline">- <button type="submit" class="btn-flat waves-effect">- {% csrf_token %}- {% trans "Fetch tax rates" context "Site settings fetch tax rates action" %}- </button>- </form>- </div>- </div>- </div>- </div>-{% endblock %}diff --git a/templates/dashboard/taxes/zero_page.html b/templates/dashboard/taxes/zero_page.htmldeleted file mode 100644index 68e25536fc..0000000000--- a/templates/dashboard/taxes/zero_page.html+++ /dev/null@@ -1,10 +0,0 @@-{% extends 'dashboard/base_zero_page.html' %}-{% load i18n %}--{% block title %}{% trans "No taxes found." %}{% endblock %}-{% block content %}- {% blocktrans %}- Taxes define tax rates used in European Union countries and needs to be fetched manually.<br>- To enable fetching taxes, please provide your access key to <a href="https://vatlayer.com/">vatlayer</a> API in settings file.- {% endblocktrans %}-{% endblock %}diff --git a/templates/product/details.html b/templates/product/details.htmlindex f4ee46138c..3eeb4b742c 100644--- a/templates/product/details.html+++ b/templates/product/details.html@@ -119,13 +119,6 @@<h1 class="product__info__name">{{ product.translated }}</h1>- {% if user.is_staff %}- <p>- <a href="{% url "dashboard:product-details" pk=product.pk %}">- {% trans "Edit in dashboard" context "Product details link text" %}- </a>- </p>- {% endif %}{% if availability.available %}{% if show_variant_picker %}<div id="variant-price-component"></div>