From 92efc7bf17cee05c4782d571ca0ff4e37758bfa7 Mon Sep 17 00:00:00 2001
From: Nadya <4567166+NadyaNayme@users.noreply.github.com>
Date: Sat, 12 May 2018 19:17:21 -0700
Subject: [PATCH 1/3] Add Delete to Album View
QOL change.
---
public/js/dashboard.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/js/dashboard.js b/public/js/dashboard.js
index a4de774..e6c3188 100644
--- a/public/js/dashboard.js
+++ b/public/js/dashboard.js
@@ -142,7 +142,7 @@ panel.getUploads = function(album = undefined, page = undefined){
var div = document.createElement('div');
div.className = "column is-2";
if(item.thumb !== undefined)
- div.innerHTML = ``;
+ div.innerHTML = ` `;
else
div.innerHTML = `.${item.file.split('.').pop()}
`;
table.appendChild(div);
From ef4e7755ae8f714596398d53afd9a7d4044cc075 Mon Sep 17 00:00:00 2001
From: Nadya <4567166+NadyaNayme@users.noreply.github.com>
Date: Sat, 12 May 2018 19:19:38 -0700
Subject: [PATCH 2/3] Styles for Album View Delete
---
public/css/style.css | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/public/css/style.css b/public/css/style.css
index ac3959d..695a1d9 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -102,8 +102,9 @@ section#auth input, section#auth a {
}
section#dashboard .table { font-size: 12px }
-section#dashboard div#table div.column { display:flex; width: 200px; height: 200px; margin: 9px; background: #f9f9f9; overflow: hidden; align-items: center; }
+section#dashboard div#table div.column { display:flex; width: 200px; height: 200px; margin: 9px; background: #f9f9f9; overflow: hidden; flex-wrap: wrap; align-items: center; }
section#dashboard div#table div.column a { width: 100%; }
+section#dashboard div#table div.column a:first-child { height: 180px; }
section#dashboard div#table div.column a img { width:200px; }
.select-wrapper {
From ba6b3764dcb8d81f66262283bd25327c73045612 Mon Sep 17 00:00:00 2001
From: Nadya <4567166+NadyaNayme@users.noreply.github.com>
Date: Sat, 12 May 2018 19:25:19 -0700
Subject: [PATCH 3/3] Fix typo
---
public/js/dashboard.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/js/dashboard.js b/public/js/dashboard.js
index e6c3188..8afc89d 100644
--- a/public/js/dashboard.js
+++ b/public/js/dashboard.js
@@ -142,7 +142,7 @@ panel.getUploads = function(album = undefined, page = undefined){
var div = document.createElement('div');
div.className = "column is-2";
if(item.thumb !== undefined)
- div.innerHTML = ` `;
+ div.innerHTML = ``;
else
div.innerHTML = `.${item.file.split('.').pop()}
`;
table.appendChild(div);