update home page icons, allow for customization
This commit is contained in:
@@ -585,13 +585,13 @@ define([
|
|||||||
var showingMore = false;
|
var showingMore = false;
|
||||||
|
|
||||||
var icons = [
|
var icons = [
|
||||||
[ 'pad', '/pad/', Msg.main_richTextPad, 'fa-file-word-o' ],
|
[ 'pad', '/pad/', Msg.main_richTextPad, 'pad' ],
|
||||||
[ 'code', '/code/', Msg.main_codePad, 'fa-file-code-o' ],
|
[ 'code', '/code/', Msg.main_codePad, 'code' ],
|
||||||
[ 'slide', '/slide/', Msg.main_slidePad, 'fa-file-powerpoint-o' ],
|
[ 'slide', '/slide/', Msg.main_slidePad, 'slide' ],
|
||||||
[ 'poll', '/poll/', Msg.main_pollPad, 'fa-calendar' ],
|
[ 'poll', '/poll/', Msg.main_pollPad, 'poll' ],
|
||||||
[ 'kanban', '/kanban/', Msg.main_kanbanPad, 'fa-calendar' ],
|
[ 'kanban', '/kanban/', Msg.main_kanbanPad, 'kanban' ],
|
||||||
[ 'whiteboard', '/whiteboard/', Msg.main_whiteboardPad, 'fa-paint-brush' ],
|
[ 'whiteboard', '/whiteboard/', Msg.main_whiteboardPad, 'whiteboard' ],
|
||||||
[ 'recent', '/drive/', Msg.main_localPads, 'fa-hdd-o' ]
|
[ 'recent', '/drive/', Msg.main_localPads, 'drive' ]
|
||||||
].filter(function (x) {
|
].filter(function (x) {
|
||||||
return isAvailableType(x[1]);
|
return isAvailableType(x[1]);
|
||||||
})
|
})
|
||||||
@@ -601,7 +601,7 @@ define([
|
|||||||
return h('a', [
|
return h('a', [
|
||||||
{ href: x[1] },
|
{ href: x[1] },
|
||||||
h(s, [
|
h(s, [
|
||||||
h('i.fa.' + x[3]),
|
h('i.fa.' + AppConfig.applicationsIcon[x[3]]),
|
||||||
h('div.pad-button-text', [ h('h4', x[2]) ])
|
h('div.pad-button-text', [ h('h4', x[2]) ])
|
||||||
])
|
])
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -81,7 +81,8 @@ define(function() {
|
|||||||
whiteboard: 'fa-paint-brush',
|
whiteboard: 'fa-paint-brush',
|
||||||
todo: 'fa-tasks',
|
todo: 'fa-tasks',
|
||||||
contacts: 'fa-users',
|
contacts: 'fa-users',
|
||||||
kanban: 'fa-list-alt',
|
kanban: 'fa-columns',
|
||||||
|
drive: 'fa-hdd-o',
|
||||||
};
|
};
|
||||||
|
|
||||||
// Ability to create owned pads and expiring pads through a new pad creation screen.
|
// Ability to create owned pads and expiring pads through a new pad creation screen.
|
||||||
|
|||||||
Reference in New Issue
Block a user