UI: Admin: add classes for icons

pull/4773/head
Angel Fernando Quiroz Campos 1 year ago
parent 091aec40c8
commit 5dd9fe856c
  1. 8
      assets/vue/components/basecomponents/ChamiloIcons.js
  2. 16
      assets/vue/views/admin/AdminIndex.vue

@ -84,6 +84,14 @@ export const chamiloIconToClass = {
"unselect-all": "mdi mdi-select-remove", "unselect-all": "mdi mdi-select-remove",
"usage": "mdi mdi-chart-donut", "usage": "mdi mdi-chart-donut",
"view-gallery": "mdi mdi-view-gallery", "view-gallery": "mdi mdi-view-gallery",
"gradebook": "mdi mdi-certificate",
"sessions": "mdi mdi-google-classroom",
"search": "mdi mdi-magnify",
"account": "mdi mdi-account",
"admin-settings": "mdi mdi-cogs",
"courses": "mdi mdi-book-open-page-variant",
"anonymous": "mdi mdi-incognito",
"settings": "mdi mdi-tools",
}; };
export const validator = (value) => { export const validator = (value) => {

@ -21,7 +21,7 @@
:search-url="blockCourses.searchUrl" :search-url="blockCourses.searchUrl"
:title="t('Course management')" :title="t('Course management')"
class="block-admin-courses" class="block-admin-courses"
icon="book-open-page-variant" icon="courses"
/> />
<AdminBlock <AdminBlock
@ -31,7 +31,7 @@
:search-url="blockSessions.searchUrl" :search-url="blockSessions.searchUrl"
:title="t('Sessions management')" :title="t('Sessions management')"
class="block-admin-sessions" class="block-admin-sessions"
icon="google-classroom" icon="sessions"
/> />
<AdminBlock <AdminBlock
@ -39,7 +39,7 @@
:items="blockGradebook.items" :items="blockGradebook.items"
:title="t('Assessments')" :title="t('Assessments')"
class="block-admin-gradebook" class="block-admin-gradebook"
icon="certificate" icon="gradebook"
/> />
<AdminBlock <AdminBlock
@ -48,7 +48,7 @@
:items="blockSkills.items" :items="blockSkills.items"
:title="t('Skills')" :title="t('Skills')"
class="block-admin-skills" class="block-admin-skills"
icon="certificate" icon="gradebook"
/> />
<AdminBlock <AdminBlock
@ -56,7 +56,7 @@
:items="blockPrivacy.items" :items="blockPrivacy.items"
:title="t('Personal data protection')" :title="t('Personal data protection')"
class="block-admin-privacy" class="block-admin-privacy"
icon="incognito" icon="anonymous"
/> />
<AdminBlock <AdminBlock
@ -65,7 +65,7 @@
:items="blockSettings.items" :items="blockSettings.items"
:title="t('System')" :title="t('System')"
class="block-admin-settings" class="block-admin-settings"
icon="tools" icon="settings"
/> />
<AdminBlock <AdminBlock
@ -75,7 +75,7 @@
:search-url="blockPlatform.searchUrl" :search-url="blockPlatform.searchUrl"
:title="t('Platform management')" :title="t('Platform management')"
class="block-admin-platform" class="block-admin-platform"
icon="cogs" icon="admin-settings"
/> />
<AdminBlock <AdminBlock
@ -83,7 +83,7 @@
:description="t('Learn more about Chamilo and its use, official references links')" :description="t('Learn more about Chamilo and its use, official references links')"
:items="blockChamilo.items" :items="blockChamilo.items"
class="block-admin-chamilo" class="block-admin-chamilo"
icon="cogs" icon="admin-settings"
title="Chamilo.org" title="Chamilo.org"
/> />

Loading…
Cancel
Save