Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unused statics

Anna Siwik7ce7b8422ff6
diff --git a/saleor/static/emails/js/emails.js b/saleor/static/emails/js/emails.js
deleted file mode 100644
index 9bf9e44c7f..0000000000
--- a/saleor/static/emails/js/emails.js
+++ /dev/null
@@ -1 +0,0 @@
-import '../scss/emails.scss';
diff --git a/saleor/static/emails/scss/components/_tables.scss b/saleor/static/emails/scss/components/_tables.scss
deleted file mode 100644
index d0376f75d7..0000000000
--- a/saleor/static/emails/scss/components/_tables.scss
+++ /dev/null
@@ -1,24 +0,0 @@
-body {
- background: #FFFFFF;
- font-family: $font-family-sans-serif;
- font-size: 13px;
-
- .main-table {
- margin: auto;
- }
-
- header {
- padding: 0.75em;
- background-color: $light-gray;
- }
-
- .right-align {
- text-align: right;
- }
-
- footer {
- text-align: center;
- padding: 0.75em;
- background-color: $gray;
- }
-}
diff --git a/saleor/static/emails/scss/components/_typography.scss b/saleor/static/emails/scss/components/_typography.scss
deleted file mode 100644
index 053da55f6e..0000000000
--- a/saleor/static/emails/scss/components/_typography.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-@font-face {
- font-family: 'Lato';
- src: url('../../fonts/Lato-Regular.woff2') format('woff2'),
- url('../../fonts/Lato-Regular.woff') format('woff'),
- url('../../fonts/Lato-Regular.ttf') format('truetype');
- font-weight: 400;
-}
diff --git a/saleor/static/emails/scss/emails.scss b/saleor/static/emails/scss/emails.scss
deleted file mode 100644
index 5de275b481..0000000000
--- a/saleor/static/emails/scss/emails.scss
+++ /dev/null
@@ -1,5 +0,0 @@
-@import "variables";
-
-@import "components/typography";
-
-@import "components/tables";
diff --git a/saleor/static/emails/scss/variables.scss b/saleor/static/emails/scss/variables.scss
deleted file mode 100644
index 84691da2f4..0000000000
--- a/saleor/static/emails/scss/variables.scss
+++ /dev/null
@@ -1,5 +0,0 @@
-$font-family-sans-serif: 'Lato', sans-serif;
-
-// COLORS
-$light-gray: #f2f2f2;
-$gray: #D3D1D0;
diff --git a/templates/templated_email/html/base.html b/templates/templated_email/html/base.html
deleted file mode 100644
index 39c0c623bc..0000000000
--- a/templates/templated_email/html/base.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-{% load staticfiles %}
-{% load i18n %}
-
-<html class="no-js">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width" />
- <link rel="stylesheet" href="{% static 'assets/emails.css' %}">
- </head>
- <body>
- <table class="main-table" align="center">
- <tfoot>
- <tr>
- <td>
- <footer>
- {% block footer %}
- {% blocktrans trimmed context "Base e-mail footer" %}
- Sincerely, {{ site_name }}
- {% endblocktrans %}
- {% endblock footer %}
- </footer>
- </td>
- </tr>
- </tfoot>
- <thead>
- <tr>
- <td>
- <header>
- {% block header %}
- <svg data-src="{% static "images/logo.svg" %}" height="38px" width="176px"/>
- {% endblock header %}
- </header>
- </td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <main>
- {% block content %}
- {% endblock content %}
- </main>
- </td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
diff --git a/webpack.config.js b/webpack.config.js
index 8341c645f7..396ef69bb0 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -64,7 +64,6 @@ var config = {
dashboard: './saleor/static/dashboard/js/dashboard.js',
document: './saleor/static/dashboard/js/document.js',
storefront: './saleor/static/js/storefront.js',
- emails: './saleor/static/emails/js/emails.js',
vendor: [
'babel-es6-polyfill',
'bootstrap',