summaryrefslogtreecommitdiffstats
path: root/module/web/static
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-22 11:52:43 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-22 11:52:43 +0100
commitd2b3915142e9f7b67a8110a016668a28bc574781 (patch)
tree809de396b6ef134f70b2a0168458fc95a616098e /module/web/static
parentdifferent server attributes in header (diff)
downloadpyload-d2b3915142e9f7b67a8110a016668a28bc574781.tar.xz
show button when files are selected
Diffstat (limited to 'module/web/static')
-rw-r--r--module/web/static/css/default/dashboard.less9
-rw-r--r--module/web/static/css/fontawesome.css67
-rw-r--r--module/web/static/fonts/fontawesome-webfont.eotbin30955 -> 33760 bytes
-rw-r--r--module/web/static/fonts/fontawesome-webfont.ttfbin15080 -> 15892 bytes
-rw-r--r--module/web/static/fonts/fontawesome-webfont.woffbin22368 -> 24500 bytes
-rw-r--r--module/web/static/fonts/fontawesome.txt5
-rw-r--r--module/web/static/js/views/selectionView.js8
7 files changed, 54 insertions, 35 deletions
diff --git a/module/web/static/css/default/dashboard.less b/module/web/static/css/default/dashboard.less
index 7f8627d98..cf6e0d410 100644
--- a/module/web/static/css/default/dashboard.less
+++ b/module/web/static/css/default/dashboard.less
@@ -123,6 +123,15 @@
width: 100%;
}
+ .btn-move {
+ color: @green;
+ display: none;
+ }
+
+}
+
+.ui-files-selected .btn-move {
+ display: inline;
}
// Tag area with different effect on hover
diff --git a/module/web/static/css/fontawesome.css b/module/web/static/css/fontawesome.css
index 76d44e089..0e6dbfa09 100644
--- a/module/web/static/css/fontawesome.css
+++ b/module/web/static/css/fontawesome.css
@@ -297,35 +297,38 @@ ul.icons li [class*=" iconf-"] {
.iconf-play:before { content: "\f03b"; }
.iconf-pause:before { content: "\f03c"; }
.iconf-stop:before { content: "\f03d"; }
-.iconf-eye-open:before { content: "\f03e"; }
-.iconf-eye-close:before { content: "\f03f"; }
-.iconf-bar-chart:before { content: "\f040"; }
-.iconf-check-empty:before { content: "\f041"; }
-.iconf-globe:before { content: "\f042"; }
-.iconf-tasks:before { content: "\f043"; }
-.iconf-filter:before { content: "\f044"; }
-.iconf-plus-sign:before { content: "\f045"; }
-.iconf-chevron-left:before { content: "\f046"; }
-.iconf-chevron-right:before { content: "\f047"; }
-.iconf-chevron-up:before { content: "\f048"; }
-.iconf-chevron-down:before { content: "\f049"; }
-.iconf-key:before { content: "\f04a"; }
-.iconf-cogs:before { content: "\f04b"; }
-.iconf-signout:before { content: "\f04c"; }
-.iconf-signin:before { content: "\f04d"; }
-.iconf-wrench:before { content: "\f04e"; }
-.iconf-inbox:before { content: "\f04f"; }
-.iconf-share:before { content: "\f050"; }
-.iconf-hdd:before { content: "\f051"; }
-.iconf-group:before { content: "\f052"; }
-.iconf-cloud:before { content: "\f053"; }
-.iconf-save:before { content: "\f054"; }
-.iconf-carret-left:before { content: "\f055"; }
-.iconf-sort-down:before { content: "\f056"; }
-.iconf-sort-up:before { content: "\f057"; }
-.iconf-sitemap:before { content: "\f058"; }
-.iconf-file-alt:before { content: "\f059"; }
-.iconf-folder-open:before { content: "\f05a"; }
-.iconf-folder-open-alt:before { content: "\f05b"; }
-.iconf-folder-close:before { content: "\f05c"; }
-.iconf-folder-close-alt:before { content: "\f05d"; }
+.iconf-share-alt:before { content: "\f03e"; }
+.iconf-eye-open:before { content: "\f03f"; }
+.iconf-eye-close:before { content: "\f040"; }
+.iconf-bar-chart:before { content: "\f041"; }
+.iconf-check-empty:before { content: "\f042"; }
+.iconf-globe:before { content: "\f043"; }
+.iconf-tasks:before { content: "\f044"; }
+.iconf-filter:before { content: "\f045"; }
+.iconf-plus-sign:before { content: "\f046"; }
+.iconf-chevron-left:before { content: "\f047"; }
+.iconf-chevron-right:before { content: "\f048"; }
+.iconf-chevron-up:before { content: "\f049"; }
+.iconf-chevron-down:before { content: "\f04a"; }
+.iconf-key:before { content: "\f04b"; }
+.iconf-cogs:before { content: "\f04c"; }
+.iconf-signout:before { content: "\f04d"; }
+.iconf-signin:before { content: "\f04e"; }
+.iconf-hdd:before { content: "\f04f"; }
+.iconf-hand-left:before { content: "\f050"; }
+.iconf-hand-down:before { content: "\f051"; }
+.iconf-wrench:before { content: "\f052"; }
+.iconf-inbox:before { content: "\f053"; }
+.iconf-share:before { content: "\f054"; }
+.iconf-group:before { content: "\f055"; }
+.iconf-cloud:before { content: "\f056"; }
+.iconf-save:before { content: "\f057"; }
+.iconf-carret-left:before { content: "\f058"; }
+.iconf-sort-down:before { content: "\f059"; }
+.iconf-sort-up:before { content: "\f05a"; }
+.iconf-sitemap:before { content: "\f05b"; }
+.iconf-file-alt:before { content: "\f05c"; }
+.iconf-folder-open:before { content: "\f05d"; }
+.iconf-folder-open-alt:before { content: "\f05e"; }
+.iconf-folder-close:before { content: "\f05f"; }
+.iconf-folder-close-alt:before { content: "\f060"; }
diff --git a/module/web/static/fonts/fontawesome-webfont.eot b/module/web/static/fonts/fontawesome-webfont.eot
index ada4b3415..8924bad77 100644
--- a/module/web/static/fonts/fontawesome-webfont.eot
+++ b/module/web/static/fonts/fontawesome-webfont.eot
Binary files differ
diff --git a/module/web/static/fonts/fontawesome-webfont.ttf b/module/web/static/fonts/fontawesome-webfont.ttf
index ac46f999d..0e8200b92 100644
--- a/module/web/static/fonts/fontawesome-webfont.ttf
+++ b/module/web/static/fonts/fontawesome-webfont.ttf
Binary files differ
diff --git a/module/web/static/fonts/fontawesome-webfont.woff b/module/web/static/fonts/fontawesome-webfont.woff
index 83239c5d6..1b4d7bef4 100644
--- a/module/web/static/fonts/fontawesome-webfont.woff
+++ b/module/web/static/fonts/fontawesome-webfont.woff
Binary files differ
diff --git a/module/web/static/fonts/fontawesome.txt b/module/web/static/fonts/fontawesome.txt
index 5889ebe1e..582283da0 100644
--- a/module/web/static/fonts/fontawesome.txt
+++ b/module/web/static/fonts/fontawesome.txt
@@ -29,6 +29,7 @@ check 046
play 04b
pause 04c
stop 04d
+share-alt 064
eye-open 06e
eye-close 070
bar-chart 080
@@ -45,10 +46,12 @@ key 084
cogs 085
signout 08b
signin 090
+hdd 0a0
+hand-left 0a5
+hand-down 0a7
wrench 0ad
inbox 01c
share 045
-hdd 0a0
group 0c0
cloud 0c2
save 0c7
diff --git a/module/web/static/js/views/selectionView.js b/module/web/static/js/views/selectionView.js
index 4f235b2f5..546cda847 100644
--- a/module/web/static/js/views/selectionView.js
+++ b/module/web/static/js/views/selectionView.js
@@ -65,10 +65,14 @@ define(['jquery', 'backbone', 'underscore', 'app'],
else if (files + packs === 0 && this.current > 0)
this.$el.slideIn();
- if (files > 0)
+ if (files > 0) {
this.actionBar.addClass('iconf-check').removeClass('iconf-check-empty');
- else
+ App.dashboard.packageUL.addClass('ui-files-selected');
+ }
+ else {
this.actionBar.addClass('iconf-check-empty').removeClass('iconf-check');
+ App.dashboard.packageUL.removeClass('ui-files-selected');
+ }
this.current = files + packs;
},