From 1c90c0b214f2a053cf793b5820fe3579eaeec465 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 25 Apr 2018 10:37:37 -0400 Subject: [PATCH] Use slightly more logical organization for dashboard images --- app/User.php | 2 +- .../img/dashboard/{ => icons}/arrows-alt.svg | 0 public/img/dashboard/{ => icons}/bold.svg | 0 .../img/dashboard/{ => icons}/checkmark.svg | 0 public/img/dashboard/{ => icons}/code.svg | 0 public/img/dashboard/{ => icons}/columns.svg | 0 public/img/dashboard/{ => icons}/eraser.svg | 0 public/img/dashboard/{ => icons}/eye.svg | 0 public/img/dashboard/{ => icons}/header.svg | 0 public/img/dashboard/{ => icons}/italic.svg | 0 public/img/dashboard/{ => icons}/link.svg | 0 public/img/dashboard/{ => icons}/list-ol.svg | 0 public/img/dashboard/{ => icons}/list-ul.svg | 0 public/img/dashboard/{ => icons}/minus.svg | 0 .../img/dashboard/{ => icons}/picture-o.svg | 0 .../dashboard/{ => icons}/question-circle.svg | 0 .../img/dashboard/{ => icons}/quote-left.svg | 0 public/img/dashboard/{ => icons}/repeat.svg | 0 public/img/dashboard/{ => icons}/star.svg | 0 .../dashboard/{ => icons}/strikethrough.svg | 0 public/img/dashboard/{ => icons}/table.svg | 0 .../img/dashboard/{ => icons}/trash-alt.svg | 0 public/img/dashboard/{ => icons}/undo.svg | 0 public/img/dashboard/{ => icons}/upload.svg | 0 .../missing-profile.png} | Bin resources/assets/sass/dashboard.scss | 46 +++++++++--------- 26 files changed, 24 insertions(+), 24 deletions(-) rename public/img/dashboard/{ => icons}/arrows-alt.svg (100%) rename public/img/dashboard/{ => icons}/bold.svg (100%) rename public/img/dashboard/{ => icons}/checkmark.svg (100%) rename public/img/dashboard/{ => icons}/code.svg (100%) rename public/img/dashboard/{ => icons}/columns.svg (100%) rename public/img/dashboard/{ => icons}/eraser.svg (100%) rename public/img/dashboard/{ => icons}/eye.svg (100%) rename public/img/dashboard/{ => icons}/header.svg (100%) rename public/img/dashboard/{ => icons}/italic.svg (100%) rename public/img/dashboard/{ => icons}/link.svg (100%) rename public/img/dashboard/{ => icons}/list-ol.svg (100%) rename public/img/dashboard/{ => icons}/list-ul.svg (100%) rename public/img/dashboard/{ => icons}/minus.svg (100%) rename public/img/dashboard/{ => icons}/picture-o.svg (100%) rename public/img/dashboard/{ => icons}/question-circle.svg (100%) rename public/img/dashboard/{ => icons}/quote-left.svg (100%) rename public/img/dashboard/{ => icons}/repeat.svg (100%) rename public/img/dashboard/{ => icons}/star.svg (100%) rename public/img/dashboard/{ => icons}/strikethrough.svg (100%) rename public/img/dashboard/{ => icons}/table.svg (100%) rename public/img/dashboard/{ => icons}/trash-alt.svg (100%) rename public/img/dashboard/{ => icons}/undo.svg (100%) rename public/img/dashboard/{ => icons}/upload.svg (100%) rename public/img/{profile.png => dashboard/missing-profile.png} (100%) diff --git a/app/User.php b/app/User.php index c3b71ca..08995e5 100644 --- a/app/User.php +++ b/app/User.php @@ -35,7 +35,7 @@ class User extends Authenticatable * * @var string */ - public static $default_profile_image = '/img/profile.png'; + public static $default_profile_image = '/img/dashboard/missing-profile.png'; /** * The directory user profile uploads are stored in diff --git a/public/img/dashboard/arrows-alt.svg b/public/img/dashboard/icons/arrows-alt.svg similarity index 100% rename from public/img/dashboard/arrows-alt.svg rename to public/img/dashboard/icons/arrows-alt.svg diff --git a/public/img/dashboard/bold.svg b/public/img/dashboard/icons/bold.svg similarity index 100% rename from public/img/dashboard/bold.svg rename to public/img/dashboard/icons/bold.svg diff --git a/public/img/dashboard/checkmark.svg b/public/img/dashboard/icons/checkmark.svg similarity index 100% rename from public/img/dashboard/checkmark.svg rename to public/img/dashboard/icons/checkmark.svg diff --git a/public/img/dashboard/code.svg b/public/img/dashboard/icons/code.svg similarity index 100% rename from public/img/dashboard/code.svg rename to public/img/dashboard/icons/code.svg diff --git a/public/img/dashboard/columns.svg b/public/img/dashboard/icons/columns.svg similarity index 100% rename from public/img/dashboard/columns.svg rename to public/img/dashboard/icons/columns.svg diff --git a/public/img/dashboard/eraser.svg b/public/img/dashboard/icons/eraser.svg similarity index 100% rename from public/img/dashboard/eraser.svg rename to public/img/dashboard/icons/eraser.svg diff --git a/public/img/dashboard/eye.svg b/public/img/dashboard/icons/eye.svg similarity index 100% rename from public/img/dashboard/eye.svg rename to public/img/dashboard/icons/eye.svg diff --git a/public/img/dashboard/header.svg b/public/img/dashboard/icons/header.svg similarity index 100% rename from public/img/dashboard/header.svg rename to public/img/dashboard/icons/header.svg diff --git a/public/img/dashboard/italic.svg b/public/img/dashboard/icons/italic.svg similarity index 100% rename from public/img/dashboard/italic.svg rename to public/img/dashboard/icons/italic.svg diff --git a/public/img/dashboard/link.svg b/public/img/dashboard/icons/link.svg similarity index 100% rename from public/img/dashboard/link.svg rename to public/img/dashboard/icons/link.svg diff --git a/public/img/dashboard/list-ol.svg b/public/img/dashboard/icons/list-ol.svg similarity index 100% rename from public/img/dashboard/list-ol.svg rename to public/img/dashboard/icons/list-ol.svg diff --git a/public/img/dashboard/list-ul.svg b/public/img/dashboard/icons/list-ul.svg similarity index 100% rename from public/img/dashboard/list-ul.svg rename to public/img/dashboard/icons/list-ul.svg diff --git a/public/img/dashboard/minus.svg b/public/img/dashboard/icons/minus.svg similarity index 100% rename from public/img/dashboard/minus.svg rename to public/img/dashboard/icons/minus.svg diff --git a/public/img/dashboard/picture-o.svg b/public/img/dashboard/icons/picture-o.svg similarity index 100% rename from public/img/dashboard/picture-o.svg rename to public/img/dashboard/icons/picture-o.svg diff --git a/public/img/dashboard/question-circle.svg b/public/img/dashboard/icons/question-circle.svg similarity index 100% rename from public/img/dashboard/question-circle.svg rename to public/img/dashboard/icons/question-circle.svg diff --git a/public/img/dashboard/quote-left.svg b/public/img/dashboard/icons/quote-left.svg similarity index 100% rename from public/img/dashboard/quote-left.svg rename to public/img/dashboard/icons/quote-left.svg diff --git a/public/img/dashboard/repeat.svg b/public/img/dashboard/icons/repeat.svg similarity index 100% rename from public/img/dashboard/repeat.svg rename to public/img/dashboard/icons/repeat.svg diff --git a/public/img/dashboard/star.svg b/public/img/dashboard/icons/star.svg similarity index 100% rename from public/img/dashboard/star.svg rename to public/img/dashboard/icons/star.svg diff --git a/public/img/dashboard/strikethrough.svg b/public/img/dashboard/icons/strikethrough.svg similarity index 100% rename from public/img/dashboard/strikethrough.svg rename to public/img/dashboard/icons/strikethrough.svg diff --git a/public/img/dashboard/table.svg b/public/img/dashboard/icons/table.svg similarity index 100% rename from public/img/dashboard/table.svg rename to public/img/dashboard/icons/table.svg diff --git a/public/img/dashboard/trash-alt.svg b/public/img/dashboard/icons/trash-alt.svg similarity index 100% rename from public/img/dashboard/trash-alt.svg rename to public/img/dashboard/icons/trash-alt.svg diff --git a/public/img/dashboard/undo.svg b/public/img/dashboard/icons/undo.svg similarity index 100% rename from public/img/dashboard/undo.svg rename to public/img/dashboard/icons/undo.svg diff --git a/public/img/dashboard/upload.svg b/public/img/dashboard/icons/upload.svg similarity index 100% rename from public/img/dashboard/upload.svg rename to public/img/dashboard/icons/upload.svg diff --git a/public/img/profile.png b/public/img/dashboard/missing-profile.png similarity index 100% rename from public/img/profile.png rename to public/img/dashboard/missing-profile.png diff --git a/resources/assets/sass/dashboard.scss b/resources/assets/sass/dashboard.scss index dd276c4..acc0a82 100644 --- a/resources/assets/sass/dashboard.scss +++ b/resources/assets/sass/dashboard.scss @@ -313,7 +313,7 @@ body { display: block; width: 100%; height: 100%; - background-image: url("/img/dashboard/checkmark.svg"); + background-image: url("/img/dashboard/icons/checkmark.svg"); background-position: center center; background-size: 65% auto; background-repeat: no-repeat; @@ -856,12 +856,12 @@ body { } .image-upload-button { - background-image: url("/img/dashboard/upload.svg"); + background-image: url("/img/dashboard/icons/upload.svg"); transition: background-color 150ms; } .image-delete-button { - background-image: url("/img/dashboard/trash-alt.svg"); + background-image: url("/img/dashboard/icons/trash-alt.svg"); opacity: 1; transition: background-color 150ms, opacity 150ms; @@ -966,82 +966,82 @@ body { } &.fa-arrows-alt:after { - background-image: url("/img/dashboard/arrows-alt.svg"); + background-image: url("/img/dashboard/icons/arrows-alt.svg"); } &.fa-bold:after { - background-image: url("/img/dashboard/bold.svg"); + background-image: url("/img/dashboard/icons/bold.svg"); } &.fa-code:after { - background-image: url("/img/dashboard/code.svg"); + background-image: url("/img/dashboard/icons/code.svg"); } &.fa-columns:after { - background-image: url("/img/dashboard/columns.svg"); + background-image: url("/img/dashboard/icons/columns.svg"); } &.fa-eraser:after { - background-image: url("/img/dashboard/eraser.svg"); + background-image: url("/img/dashboard/icons/eraser.svg"); } &.fa-eye:after { - background-image: url("/img/dashboard/eye.svg"); + background-image: url("/img/dashboard/icons/eye.svg"); } &.fa-header:after { - background-image: url("/img/dashboard/header.svg"); + background-image: url("/img/dashboard/icons/header.svg"); } &.fa-italic:after { - background-image: url("/img/dashboard/italic.svg"); + background-image: url("/img/dashboard/icons/italic.svg"); } &.fa-link:after { - background-image: url("/img/dashboard/link.svg"); + background-image: url("/img/dashboard/icons/link.svg"); } &.fa-list-ol:after { - background-image: url("/img/dashboard/list-ol.svg"); + background-image: url("/img/dashboard/icons/list-ol.svg"); } &.fa-list-ul:after { - background-image: url("/img/dashboard/list-ul.svg"); + background-image: url("/img/dashboard/icons/list-ul.svg"); } &.fa-minus:after { - background-image: url("/img/dashboard/minus.svg"); + background-image: url("/img/dashboard/icons/minus.svg"); } &.fa-picture-o:after { - background-image: url("/img/dashboard/picture-o.svg"); + background-image: url("/img/dashboard/icons/picture-o.svg"); } &.fa-question-circle:after { - background-image: url("/img/dashboard/question-circle.svg"); + background-image: url("/img/dashboard/icons/question-circle.svg"); } &.fa-quote-left:after { - background-image: url("/img/dashboard/quote-left.svg"); + background-image: url("/img/dashboard/icons/quote-left.svg"); } &.fa-repeat:after { - background-image: url("/img/dashboard/repeat.svg"); + background-image: url("/img/dashboard/icons/repeat.svg"); } &.fa-star:after { - background-image: url("/img/dashboard/star.svg"); + background-image: url("/img/dashboard/icons/star.svg"); } &.fa-strikethrough:after { - background-image: url("/img/dashboard/strikethrough.svg"); + background-image: url("/img/dashboard/icons/strikethrough.svg"); } &.fa-table:after { - background-image: url("/img/dashboard/table.svg"); + background-image: url("/img/dashboard/icons/table.svg"); } &.fa-undo:after { - background-image: url("/img/dashboard/undo.svg"); + background-image: url("/img/dashboard/icons/undo.svg"); } }