mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
update icon name
This commit is contained in:
parent
3fe4d4e133
commit
cdb5e93a6c
@ -194,24 +194,24 @@ const factory = () => {
|
||||
// Customize the icon used for each application.
|
||||
// You can update the colors by making a copy of /customize.dist/src/less2/include/colortheme.less
|
||||
AppConfig.applicationsIcon = {
|
||||
file: 'drive-file',
|
||||
file: 'file',
|
||||
fileupload: 'drive-upload-file',
|
||||
folderupload: 'drive-upload-folder',
|
||||
link: 'link',
|
||||
pad: 'pad',
|
||||
code: 'drive-file',
|
||||
code: 'file',
|
||||
slide: 'slide',
|
||||
poll: 'poll',
|
||||
form: 'form',
|
||||
whiteboard: 'whiteboard',
|
||||
diagram: 'diagram',
|
||||
todo: 'drive-file',
|
||||
todo: 'file',
|
||||
contacts: 'contacts',
|
||||
calendar: 'calendar',
|
||||
kanban: 'kanban',
|
||||
doc: 'doc',
|
||||
presentation: 'presentation',
|
||||
sheet: 'drive-file',
|
||||
sheet: 'file',
|
||||
drive: 'drive',
|
||||
teams: 'teams',
|
||||
admin: 'administration',
|
||||
|
||||
@ -11,7 +11,7 @@ define([
|
||||
"drive-shared-folder": "folder-git-2", // XXX change icon
|
||||
"drive-upload-file": "file-up",
|
||||
"drive-upload-folder": "folder-up",
|
||||
"drive-file": "file", // change name
|
||||
"file": "file", // change name
|
||||
"drive-recent": "clock",
|
||||
"drive-owned-document": "id-card",
|
||||
"drive-password-document": "file-lock",
|
||||
|
||||
@ -1206,7 +1206,7 @@ define([
|
||||
};
|
||||
|
||||
UI.getNewIcon = function (type) {
|
||||
var icon = Icons.get('drive-file');
|
||||
var icon = Icons.get('file');
|
||||
|
||||
if (AppConfig.applicationsIcon && AppConfig.applicationsIcon[type]) {
|
||||
icon = AppConfig.applicationsIcon[type];
|
||||
@ -1219,7 +1219,7 @@ define([
|
||||
|
||||
return icon;
|
||||
};
|
||||
var $defaultIcon = $(Icons.get('drive-file'));
|
||||
var $defaultIcon = $(Icons.get('file'));
|
||||
UI.getIcon = function (type) {
|
||||
var $icon = $defaultIcon.clone();
|
||||
|
||||
|
||||
@ -3019,7 +3019,7 @@ define([
|
||||
name: fromFileData.title,
|
||||
id: 0,
|
||||
thumbnail: thumbnail,
|
||||
icon: Icons.get('drive-file'),// XXX
|
||||
icon: Icons.get('file'),// XXX
|
||||
}];
|
||||
redraw(0);
|
||||
};
|
||||
|
||||
@ -3298,7 +3298,7 @@ define([
|
||||
'data-type': 'file',
|
||||
},
|
||||
content: [
|
||||
Icons.get('drive-file', {'class': 'cp-icon-color-file'}),
|
||||
Icons.get('file', {'class': 'cp-icon-color-file'}),
|
||||
Messages.type['file']
|
||||
],
|
||||
});
|
||||
|
||||
@ -109,7 +109,7 @@ MessengerUI, Messages, Pages, PadTypes, Lucide, Icons) {
|
||||
text: Messages.toolbar_file,
|
||||
options: [],
|
||||
common: Common,
|
||||
iconCls: 'drive-file'
|
||||
iconCls: 'file'
|
||||
}).hide();
|
||||
$drawer.addClass(FILE_CLS).appendTo($file);
|
||||
$drawer.find('.cp-dropdown-content').addClass(DRAWER_CLS);
|
||||
|
||||
@ -2123,9 +2123,9 @@ define([
|
||||
drive: 'drive',
|
||||
cursor: 'cursor',
|
||||
code: 'code-file',
|
||||
pad: 'drive-file',
|
||||
pad: 'file',
|
||||
security: 'lock',
|
||||
kanban: 'drive-file', // XXX
|
||||
kanban: 'file', // XXX
|
||||
style: 'color-palette',
|
||||
notifications: 'notification'
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user