Missing icon in administration

This commit is contained in:
Karel Pičman 2019-08-21 13:08:08 +02:00
parent 5590a27c49
commit d35102b88c
3 changed files with 2 additions and 59 deletions

View File

@ -27,7 +27,7 @@ def custom_workflows_init
# Administration menu extension # Administration menu extension
Redmine::MenuManager.map :admin_menu do |menu| Redmine::MenuManager.map :admin_menu do |menu|
menu.push :custom_workflows, { controller: 'custom_workflows', action: 'index'}, menu.push :custom_workflows, { controller: 'custom_workflows', action: 'index'},
caption: :label_custom_workflow_plural, html: { class: 'icon icon-custom-workflows'} caption: :label_custom_workflow_plural, html: { class: 'icon icon-workflow workflows'}
end end
end end

View File

@ -61,4 +61,3 @@ table.list.custom-workflows tr.disabled {
.icon-import { background-image: url(../images/import.png); } .icon-import { background-image: url(../images/import.png); }
.icon-active { background-image: url(../images/active.png); } .icon-active { background-image: url(../images/active.png); }
.icon-inactive { background-image: url(../images/inactive.png); } .icon-inactive { background-image: url(../images/inactive.png); }
.icon-custom-workflows { background-image: url(../../../images/ticket_go.png); }

View File

@ -1,56 +0,0 @@
#admin-menu a.custom-workflows {
background-image: url(../../../images/ticket_go.png);
}
#tab-content-custom_workflows .disabled {
color: silver;
}
table.list.custom-workflows td {
vertical-align: middle;
}
table.list.custom-workflows td.description {
text-align: left;
width: 40%;
}
table.list.custom-workflows td.buttons {
white-space: normal;
width: 10%;
text-align: left;
}
table.list.custom-workflows tr.disabled {
color: silver;
}
#custom_workflow_description, #custom_workflow_name {
width: 98%;
}
.custom_workflow_script {
width: 98%;
font-size: 11px;
}
#custom_workflow_enabled_projects ul {
max-height: 200px;
overflow-y: auto;
}
.icon-export {
background-image: url(../images/export.png);
}
.icon-import {
background-image: url(../images/import.png);
}
.icon-active {
background-image: url(../images/active.png);
}
.icon-inactive {
background-image: url(../images/inactive.png);
}