forked from rDrama/rDrama
120 lines
2.7 KiB
Python
120 lines
2.7 KiB
Python
SUBACTION_TYPES = {
|
|
'exile_user': {
|
|
"str": 'exiled user {self.target_link}',
|
|
"icon": 'fa-user-slash',
|
|
"color": 'bg-danger'
|
|
},
|
|
'unexile_user': {
|
|
"str": 'unexiled user {self.target_link}',
|
|
"icon": 'fa-user',
|
|
"color": 'bg-success'
|
|
},
|
|
'make_mod': {
|
|
"str": 'made {self.target_link} a mod',
|
|
"icon": 'fa-user-crown',
|
|
"color": 'bg-success'
|
|
},
|
|
'remove_mod': {
|
|
"str": 'removed {self.target_link} as mod',
|
|
"icon": 'fa-user-crown',
|
|
"color": 'bg-danger'
|
|
},
|
|
'kick_post': {
|
|
"str": 'kicked post {self.target_link}',
|
|
"icon": 'fa-feather-alt',
|
|
"color": 'bg-danger'
|
|
},
|
|
'move_chudrama': {
|
|
"str": 'moved post {self.target_link} to <a href="/h/chudrama">/h/chudrama</a>',
|
|
"icon": 'fa-feather-alt',
|
|
"color": 'bg-danger'
|
|
},
|
|
'flair_post': {
|
|
"str": 'set a flair on {self.target_link}',
|
|
"icon": 'fa-tag',
|
|
"color": 'bg-primary'
|
|
},
|
|
'edit_sidebar': {
|
|
"str": 'edited the sidebar',
|
|
"icon": 'fa-columns',
|
|
"color": 'bg-primary'
|
|
},
|
|
'edit_css': {
|
|
"str": 'edited the css',
|
|
"icon": 'fa-css3-alt',
|
|
"color": 'bg-primary'
|
|
},
|
|
'upload_banner': {
|
|
"str": 'uploaded a banner',
|
|
"icon": 'fa-landscape',
|
|
"color": 'bg-primary'
|
|
},
|
|
'delete_banner': {
|
|
"str": 'deleted banner',
|
|
"icon": 'fa-image-slash',
|
|
"color": 'bg-danger',
|
|
},
|
|
'change_sidebar_image': {
|
|
"str": 'changed the sidebar image',
|
|
"icon": 'fa-image',
|
|
"color": 'bg-primary'
|
|
},
|
|
'change_marsey': {
|
|
"str": 'changed the hole marsey',
|
|
"icon": 'fa-cat',
|
|
"color": 'bg-primary'
|
|
},
|
|
'pin_post': {
|
|
"str": 'pinned post {self.target_link}',
|
|
"icon": 'fa-thumbtack fa-rotate--45',
|
|
"color": 'bg-success'
|
|
},
|
|
'unpin_post': {
|
|
"str": 'unpinned post {self.target_link}',
|
|
"icon": 'fa-thumbtack fa-rotate--45',
|
|
"color": 'bg-muted'
|
|
},
|
|
'pin_comment': {
|
|
"str": 'pinned {self.target_link}',
|
|
"icon": 'fa-thumbtack fa-rotate--45',
|
|
"color": 'bg-success'
|
|
},
|
|
'unpin_comment': {
|
|
"str": 'unpinned {self.target_link}',
|
|
"icon": 'fa-thumbtack fa-rotate--45',
|
|
"color": 'bg-muted'
|
|
},
|
|
'enable_stealth': {
|
|
"str": 'enabled stealth mode',
|
|
"icon": 'fa-user-ninja',
|
|
"color": 'bg-primary'
|
|
},
|
|
'disable_stealth': {
|
|
"str": 'disabled stealth mode',
|
|
"icon": 'fa-user-ninja',
|
|
"color": 'bg-muted'
|
|
},
|
|
'set_nsfw': {
|
|
"str": 'set nsfw on post {self.target_link}',
|
|
"icon": 'fa-eye-evil',
|
|
"color": 'bg-danger'
|
|
},
|
|
'unset_nsfw': {
|
|
"str": 'un-set nsfw on post {self.target_link}',
|
|
"icon": 'fa-eye-evil',
|
|
"color": 'bg-success'
|
|
},
|
|
'set_nsfw_comment': {
|
|
"str": 'set nsfw on a {self.target_link}',
|
|
"icon": 'fa-eye-evil',
|
|
"color": 'bg-danger'
|
|
},
|
|
'unset_nsfw_comment': {
|
|
"str": 'un-set nsfw on a {self.target_link}',
|
|
"icon": 'fa-eye-evil',
|
|
"color": 'bg-success'
|
|
},
|
|
}
|
|
|
|
SUBACTION_TYPES = dict(sorted(SUBACTION_TYPES.items()))
|