New folder icons

This commit is contained in:
yflory
2017-06-23 17:58:41 +02:00
parent cc341ca6d4
commit 06a0590f73
8 changed files with 42 additions and 7 deletions

View File

@@ -149,9 +149,11 @@ define([
};
// Icons
var $folderIcon = $('<span>', {"class": "fa fa-folder folder icon"});
//var $folderIcon = $('<span>', {"class": "fa fa-folder folder icon"});
var $folderIcon = $('<img>', {src: "/customize/images/icons/folder.svg", "class": "folder icon"});
var $folderEmptyIcon = $folderIcon.clone();
var $folderOpenedIcon = $('<span>', {"class": "fa fa-folder-open folder"});
//var $folderOpenedIcon = $('<span>', {"class": "fa fa-folder-open folder"});
var $folderOpenedIcon = $('<img>', {src: "/customize/images/icons/folderOpen.svg", "class": "folder icon"});
var $folderOpenedEmptyIcon = $folderOpenedIcon.clone();
var $fileIcon = $('<span>', {"class": "fa fa-file-text-o file icon"});
var $fileAppIcon = $('<span>', {"class": "fa fa-file-text-o file icon fileColor"});
@@ -1368,6 +1370,7 @@ define([
var createNewButton = function (isInRoot) {
if (!APP.editable) { return; }
if (!APP.loggedIn) { return; } // Anonymous users can use the + menu in the toolbar
// Create dropdown
var options = [];