aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/img/download.svg1
-rw-r--r--static/img/layout.svg1
-rw-r--r--static/img/plus-circle.svg1
-rw-r--r--static/img/trash-2.svg1
-rw-r--r--static/img/trash.svg1
-rw-r--r--static/img/upload.svg1
-rw-r--r--static/img/x-circle.svg1
-rw-r--r--static/index.js6
-rw-r--r--static/styles.css1
9 files changed, 11 insertions, 3 deletions
diff --git a/static/img/download.svg b/static/img/download.svg
new file mode 100644
index 0000000..ffa0e9a
--- /dev/null
+++ b/static/img/download.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-download"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg> \ No newline at end of file
diff --git a/static/img/layout.svg b/static/img/layout.svg
new file mode 100644
index 0000000..1943229
--- /dev/null
+++ b/static/img/layout.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layout"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line></svg> \ No newline at end of file
diff --git a/static/img/plus-circle.svg b/static/img/plus-circle.svg
new file mode 100644
index 0000000..015bb62
--- /dev/null
+++ b/static/img/plus-circle.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus-circle"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line></svg> \ No newline at end of file
diff --git a/static/img/trash-2.svg b/static/img/trash-2.svg
new file mode 100644
index 0000000..ce3947d
--- /dev/null
+++ b/static/img/trash-2.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trash-2"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line></svg> \ No newline at end of file
diff --git a/static/img/trash.svg b/static/img/trash.svg
new file mode 100644
index 0000000..38e9c35
--- /dev/null
+++ b/static/img/trash.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trash"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path></svg> \ No newline at end of file
diff --git a/static/img/upload.svg b/static/img/upload.svg
new file mode 100644
index 0000000..e09b69f
--- /dev/null
+++ b/static/img/upload.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-upload"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg> \ No newline at end of file
diff --git a/static/img/x-circle.svg b/static/img/x-circle.svg
new file mode 100644
index 0000000..433837f
--- /dev/null
+++ b/static/img/x-circle.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-circle"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg> \ No newline at end of file
diff --git a/static/index.js b/static/index.js
index 2a1835c..ea68d2b 100644
--- a/static/index.js
+++ b/static/index.js
@@ -504,18 +504,18 @@ function bind_trash_events() {
trash.classList.add('droppable');
trash.addEventListener('dragenter', (evt) => {
evt.preventDefault();
- evt.target.src = 'trash_bin_open.png';
+ evt.target.src = '/static/img/trash-2.svg';
});
trash.addEventListener('dragexit', (evt) => {
evt.preventDefault();
- evt.target.src = 'trash_bin.png';
+ evt.target.src = '/static/img/trash.svg';
});
trash.addEventListener('dragover', (evt) => {
evt.preventDefault();
});
trash.addEventListener('drop', (evt) => {
evt.preventDefault();
- evt.target.src = 'trash_bin.png';
+ evt.target.src = '/static/img/trash.svg';
if (dragged_image) {
let dragged_image_parent = dragged_image.parentNode;
if (dragged_image_parent.tagName.toUpperCase() === 'SPAN' &&
diff --git a/static/styles.css b/static/styles.css
index 6f2d5f3..8166a32 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -143,6 +143,7 @@ img.draggable.dragged, .button:active {
.button img {
user-select: none;
+ width: 100px;
}
.bottom-container {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage