Skip to content

Commit

Permalink
Merge pull request #880 from gokaygurcan/1.x
Browse files Browse the repository at this point in the history
Fix reload and restart icons
  • Loading branch information
Eugeny committed Feb 24, 2016
2 parents 9457351 + 61ad199 commit e256601
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ajenti/plugins/apache/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Apache(WebserverPlugin):
{
'command': 'force-reload',
'text': _('Reload'),
'icon': 'step-forward',
'icon': 'reload',
}
]
hosts_available_dir = platform_select(
Expand Down
2 changes: 1 addition & 1 deletion ajenti/plugins/bind9/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[{
'command': 'force-reload',
'text': _('Reload'),
'icon': 'step-forward',
'icon': 'reload',
}]
" />
<body>
Expand Down
4 changes: 4 additions & 0 deletions ajenti/plugins/main/content/css/icons.i.less
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ ul.icons {
.icon-eject:before {
content: "\f052";
}
.icon-reload:before,
.icon-restart:before {
content: "\f021";
}
.icon-chevron-left:before {
content: "\f053";
}
Expand Down
2 changes: 1 addition & 1 deletion ajenti/plugins/mysql/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class MySQLPlugin (DBPlugin):
{
'command': 'reload',
'text': _('Reload'),
'icon': 'step-forward',
'icon': 'reload',
}
]

Expand Down
2 changes: 1 addition & 1 deletion ajenti/plugins/nginx/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Nginx(WebserverPlugin):
{
'command': 'force-reload',
'text': _('Reload'),
'icon': 'step-forward',
'icon': 'reload',
}
]
hosts_available_dir = platform_select(
Expand Down
2 changes: 1 addition & 1 deletion ajenti/plugins/psql/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PSQLPlugin (DBPlugin):
{
'command': 'reload',
'text': _('Reload'),
'icon': 'step-forward',
'icon': 'reload',
}
]

Expand Down
2 changes: 1 addition & 1 deletion ajenti/plugins/services/layout/bar.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<hc id="buttons">
<button id="start" icon="play" text="{Start}" />
<button id="stop" icon="stop" text="{Stop}" />
<button id="restart" icon="step-forward" text="{Restart}" />
<button id="restart" icon="restart" text="{Restart}" />
</hc>
2 changes: 1 addition & 1 deletion ajenti/plugins/services/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<button id="stop" icon="stop" style="mini" />
</tooltip>
<tooltip text="{Restart}">
<button id="restart" icon="step-forward" style="mini" />
<button id="restart" icon="restart" style="mini" />
</tooltip>
</hc>
</dtd>
Expand Down
2 changes: 1 addition & 1 deletion ajenti/plugins/services/layout/widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<button id="stop" icon="stop" style="mini" visible="False" />
</tooltip>
<tooltip text="{Restart}">
<button id="restart" icon="step-forward" style="mini" visible="False" />
<button id="restart" icon="restart" style="mini" visible="False" />
</tooltip>

<dialog id="config-dialog" visible="False">
Expand Down
2 changes: 1 addition & 1 deletion ajenti/plugins/supervisor/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[{
'command': 'force-reload',
'text': _('Reload'),
'icon': 'step-forward',
'icon': 'reload',
}]
" />

Expand Down

0 comments on commit e256601

Please sign in to comment.