diff --git a/apps/icons/icons.py b/apps/icons/icons.py new file mode 100644 index 0000000000..96c782c3a3 --- /dev/null +++ b/apps/icons/icons.py @@ -0,0 +1,7 @@ +from __future__ import absolute_import + +from .literals import DRAW_AIRBRUSH +from . import Icon + +icon_icons_app = Icon(DRAW_AIRBRUSH) + diff --git a/apps/icons/literals.py b/apps/icons/literals.py index 2ebb89913f..029e23e6d9 100644 --- a/apps/icons/literals.py +++ b/apps/icons/literals.py @@ -3,28 +3,31 @@ #DEFAULT_ICON_SET = fat_cow.ID DEFAULT_ICON_SET = 'fat_cow' -#APP = 'app' -#BACKUPS = 'backups' -#ERROR = 'error' -#ICONS = 'icons' -#SETTINGS = 'settings' APPLICATION_VIEW_ICONS = 'application_view_icons' CD_BURN = 'cd_burn' COG = 'cog' +CROSS = 'cross' +DRAW_AIRBRUSH = 'draw_airbrush' ERROR = 'error' GROUP = 'user', -GROUP_ADD = 'user_add' -GROUP_EDIT = 'user_edit' -GROUP_DELETE = 'user_delete' +GROUP_ADD = 'group_add' +GROUP_EDIT = 'group_edit' +GROUP_DELETE = 'group_delete' +GROUP_KEY = 'group_key' +KEY = 'key' +KEY_GO = 'key_go' +KEY_ADD = 'key_add' +KEY_DELETE = 'key_delete' LOCK = 'lock' MEDAL_GOLD = 'medal_gold' MEDAL_GOLD_ADD = 'medal_gold_add' MEDAL_GOLD_DELETE = 'medal_gold_delete' PICTURES = 'pictures' PLUGIN = 'plugin' +TICK = 'tick' USER = 'user' USER_ADD = 'user_add' USER_EDIT = 'user_edit' USER_DELETE = 'user_delete' - +WRENCH = 'wrench' diff --git a/apps/icons/registry.py b/apps/icons/registry.py index 301abce1ae..8f15ef4435 100644 --- a/apps/icons/registry.py +++ b/apps/icons/registry.py @@ -1,5 +1,11 @@ +from __future__ import absolute_import + from django.utils.translation import ugettext_lazy as _ +from .icons import icon_icons_app + name = 'icons' label = _(u'Icons') -#app.set_dependencies(['app_registry']) +description = _(u'Handles the registration and rendering of icons and sprites.') +dependencies = ['app_registry'] +icon = icon_icons_app diff --git a/apps/icons/sets/fat_cow.py b/apps/icons/sets/fat_cow.py index 68b430ea0c..7941d012e2 100644 --- a/apps/icons/sets/fat_cow.py +++ b/apps/icons/sets/fat_cow.py @@ -10,14 +10,23 @@ DICTIONARY = { APPLICATION_VIEW_ICONS: 'application_view_icons.png', CD_BURN: 'cd_burn.png', COG: 'cog.png', + CROSS: 'cross.png', + DRAW_AIRBRUSH: 'draw_airbrush.png', ERROR: 'error.png', GROUP: 'group.png', GROUP_ADD: 'group_add.png', GROUP_EDIT: 'group_edit.png', GROUP_DELETE: 'group_delete.png', + GROUP_KEY: 'group_key.png', + KEY: 'key.png', + KEY_GO: 'key_go.png', + KEY_ADD: 'key_add.png', + KEY_DELETE: 'key_delete.png', MEDAL_GOLD: 'medal_gold_1.png', MEDAL_GOLD_ADD: 'medal_gold_add.png', MEDAL_GOLD_DELETE: 'medal_gold_delete.png', PICTURES: 'pictures.png', PLUGIN: 'plugin.png', + TICK: 'tick.png', + WRENCH: 'wrench.png', }