From bccd62f679009aa64321879a9ac018542eca0294 Mon Sep 17 00:00:00 2001 From: Jon Lambson Date: Thu, 28 Sep 2017 09:58:02 -0600 Subject: [PATCH] cool --- css/styles.css | 3 +++ js/controllers/website-controller.js | 12 ------------ templates/website.html | 15 ++++++++++----- templates/widgets/filetree.html | 6 ++++-- 4 files changed, 17 insertions(+), 19 deletions(-) diff --git a/css/styles.css b/css/styles.css index 0d6103b..e006371 100644 --- a/css/styles.css +++ b/css/styles.css @@ -423,6 +423,9 @@ label.tree_label:active:before, label.tree_label:hover:before { .breadcrumbs-list:last-child { color: #777; } +li.move-back { + margin-left: -20px; +} label.tree_label:after { border-bottom: 0; } ul.tree.files-only.ls-none { diff --git a/js/controllers/website-controller.js b/js/controllers/website-controller.js index 4969c50..2c52b3c 100644 --- a/js/controllers/website-controller.js +++ b/js/controllers/website-controller.js @@ -345,18 +345,6 @@ app.controller('websiteCtrl', [ }); }; - - - Array.prototype.remByVal = function(val) { - for (var i = 0; i < this.length; i++) { - if (this[i] === val) { - this.splice(i, 1); - i--; - } - } - return this; - }; - vm.breadcrumbs = ['Root']; vm.breadcrumbsPath = ['/']; vm.breadcrumbPathClicked = false; diff --git a/templates/website.html b/templates/website.html index 00d57be..654971e 100644 --- a/templates/website.html +++ b/templates/website.html @@ -119,8 +119,12 @@ - example.com - + example.com + + + + + @@ -149,7 +153,7 @@

Shares:

- +
Currently not shared with anyone...
    @@ -160,8 +164,9 @@

friend@email.com

-

Share Path: /

-

Actions Allowed: rwx

+

Share Path: /

+

Actions Allowed: rwx

+

Invite: pending

diff --git a/templates/widgets/filetree.html b/templates/widgets/filetree.html index 23c5616..775276c 100644 --- a/templates/widgets/filetree.html +++ b/templates/widgets/filetree.html @@ -18,6 +18,9 @@
  • {{ file }}
  • +
  • + Add Files +

  • @@ -28,8 +31,7 @@
    -

    TODO:// Add functionality

    - +