Skip to content

Commit

Permalink
Update ACP icons
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Friedman <maf675@gmail.com>
  • Loading branch information
iMattPro committed Mar 4, 2024
1 parent 631e53a commit 009456e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adm/style/manage_pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h3>{{ lang('WARNING') }}</h3>
</dl>
<dl>
<dt><label for="page_icon_font">{{ lang('ACP_PAGES_FORM_ICON_FONT') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_PAGES_FORM_ICON_FONT_EXPLAIN', 'https://fontawesome.com/v6/search?o=r&m=free') }}</span></dt>
<dd><input name="page_icon_font" id="page_icon_font" type="text" size="15" maxlength="255" value="{{ PAGES_ICON_FONT }}" placeholder="file-lines" /> <i style="font-size:14px" class="icon acp-icon fas fa-{{ PAGES_ICON_FONT }}"></i></dd>
<dd><input name="page_icon_font" id="page_icon_font" type="text" size="15" maxlength="255" value="{{ PAGES_ICON_FONT }}" placeholder="file-lines" /> {{ Icon('font', PAGES_ICON_FONT, '', true, 'acp-icon') }}</dd>
</dl>
<dl>
<dt><label for="page_display">{{ lang('ACP_PAGES_FORM_DISPLAY') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_PAGES_FORM_DISPLAY_EXPLAIN') }}</span></dt>
Expand Down
2 changes: 1 addition & 1 deletion adm/style/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $(function() {
$('#page_icon_font').on('keyup blur', function() {
var input = $(this).val();
var $icon = $(this).next('i');
$icon.attr('class', 'icon acp-icon fas fa-' + input);
$icon.attr('class', 'o-icon o-icon-font acp-icon fa-' + input);
});

});
Expand Down

0 comments on commit 009456e

Please sign in to comment.