Permalink
Browse files

Switch to glyph icons

  • Loading branch information...
flack committed Jul 10, 2018
1 parent b8c83b6 commit 0bd4f1dd39f026d4083424163ffa40e398f4ff4c
Showing with 51 additions and 50 deletions.
  1. +1 −1 lib/fi/protie/navigation/config/manifest.inc
  2. +1 −1 lib/midcom/admin/folder/config/manifest.inc
  3. +1 −1 lib/midcom/admin/folder/style/midcom-admin-folder-order-type.php
  4. +1 −1 lib/midcom/admin/help/config/manifest.inc
  5. +1 −1 lib/midcom/admin/help/style/midcom_admin_help_list_item.php
  6. +1 −1 lib/midcom/admin/rcs/config/manifest.inc
  7. +1 −1 lib/midcom/config/manifest.inc
  8. +1 −1 lib/midcom/core/nullcomponent/config/manifest.inc
  9. +1 −1 lib/midcom/helper/_componentloader.php
  10. +1 −1 lib/midcom/helper/filesync/config/manifest.inc
  11. +1 −1 lib/midcom/helper/imagepopup/config/manifest.inc
  12. +1 −1 lib/midcom/helper/search/config/manifest.inc
  13. +1 −1 lib/midcom/services/at/config/manifest.inc
  14. +1 −1 lib/midgard/admin/asgard/config/manifest.inc
  15. +1 −1 lib/midgard/admin/asgard/style/midgard_admin_asgard_components_item.php
  16. +1 −1 lib/midgard/admin/user/config/manifest.inc
  17. +1 −1 lib/net/nehmer/blog/config/manifest.inc
  18. +1 −1 lib/net/nehmer/comments/config/manifest.inc
  19. +1 −1 lib/net/nehmer/static/config/manifest.inc
  20. +1 −1 lib/net/nemein/redirector/config/manifest.inc
  21. +1 −1 lib/net/nemein/rss/config/manifest.inc
  22. +1 −1 lib/net/nemein/tag/config/manifest.inc
  23. +1 −1 lib/net/nemein/wiki/config/manifest.inc
  24. +1 −1 lib/org/openpsa/calendar/config/manifest.inc
  25. +1 −1 lib/org/openpsa/core/config/manifest.inc
  26. +1 −1 lib/org/openpsa/directmarketing/config/manifest.inc
  27. +1 −1 lib/org/openpsa/documents/config/manifest.inc
  28. +1 −1 lib/org/openpsa/httplib/config/manifest.inc
  29. +1 −1 lib/org/openpsa/invoices/config/manifest.inc
  30. +1 −1 lib/org/openpsa/mail/config/manifest.inc
  31. +1 −1 lib/org/openpsa/notifications/config/manifest.inc
  32. +1 −1 lib/org/openpsa/products/config/manifest.inc
  33. +1 −0 lib/org/openpsa/projects/config/manifest.inc
  34. +1 −1 lib/org/openpsa/qbpager/config/manifest.inc
  35. +1 −1 lib/org/openpsa/relatedto/config/manifest.inc
  36. +1 −1 lib/org/openpsa/sales/config/manifest.inc
  37. +1 −1 lib/org/openpsa/user/config/manifest.inc
  38. BIN static/fi.protie.navigation/navigation.png
  39. +0 −5 static/midcom.admin.folder/midcom-admin-order.css
  40. +10 −6 static/midcom.admin.help/help.css
  41. BIN static/midgard.admin.asgard/asgard2-16.png
  42. +4 −3 static/midgard.admin.asgard/components.css
  43. BIN static/midgard.admin.user/user-manager.png
  44. BIN static/net.nehmer.blog/news-listing.png
  45. BIN static/net.nemein.rss/feed-icon-14x14.png
  46. BIN static/net.nemein.rss/rss-16.png
  47. BIN static/net.nemein.tag/tag-16.png
  48. BIN static/net.nemein.wiki/wiki.png
  49. BIN static/org.openpsa.httplib/httplib.png
  50. BIN static/org.openpsa.notifications/notification-system.png
  51. BIN static/org.openpsa.qbpager/pager.png
  52. BIN static/org.openpsa.user/user-management.png
@@ -1,4 +1,4 @@
'name' => 'fi.protie.navigation',
'icon' => 'fi.protie.navigation/navigation.png',
'icon' => 'compass',
'purecode' => true,
'description' => 'Versatile class for drawing dynamically navigation elements according to user preferences.',
@@ -1,5 +1,5 @@
'name' => 'midcom.admin.folder',
'icon' => 'stock-icons/16x16/folder.png',
'icon' => 'folder-o',
'purecode' => true,
'privileges' => array
(
@@ -23,7 +23,7 @@
&& $item[MIDCOM_NAV_COMPONENT] !== 'net.nehmer.static'
&& $item[MIDCOM_NAV_COMPONENT] !== 'net.nehmer.blog'
&& ($tmp = midcom::get()->componentloader->get_component_icon($item[MIDCOM_NAV_COMPONENT], false))) {
$icon = '<img src="' . MIDCOM_STATIC_URL . '/' . $tmp . '" align="absmiddle" border="0" alt="' . $item[MIDCOM_NAV_COMPONENT] . '" />';
$icon = '<i class="fa fa-' . $tmp . '"></i>';
} elseif (!$item[MIDCOM_NAV_GUID]) {
$icon = '<i class="fa fa-code"></i>';
} else {
@@ -1,5 +1,5 @@
'name' => 'midcom.admin.help',
'icon' => 'stock-icons/16x16/stock_help-agent.png',
'icon' => 'question-circle',
'description' => 'On-site help displayer',
'purecode' => true,
'privileges' => array(),
@@ -2,6 +2,6 @@
$component = $data['component_data'];
$prefix = midcom_core_context::get()->get_key(MIDCOM_CONTEXT_ANCHORPREFIX);
?>
<li><a href="&(prefix);__ais/help/&(component['name']);/"><img src="<?php echo MIDCOM_STATIC_URL; ?>/&(component['icon']);" alt="" /> &(component['name']);</a>
<li><a href="&(prefix);__ais/help/&(component['name']);/"><i class="fa fa-&(component['icon']);"></i> &(component['name']);</a>
<span class="description">&(component['title']);</span>
</li>
@@ -1,5 +1,5 @@
'name' => 'midcom.admin.rcs',
'icon' => 'stock-icons/16x16/history.png',
'icon' => 'history',
'description' => 'Front and backend for a versioning library',
'purecode' => true,
'privileges' => array(),
@@ -1,5 +1,5 @@
'name' => 'midcom',
'icon' => 'stock-icons/logos/midgard-16x16.png',
'icon' => 'cogs',
'purecode' => true,
'privileges' => [
// Midgard core level privileges
@@ -1,5 +1,5 @@
'name' => 'midcom.core.nullcomponent',
'icon' => 'stock-icons/16x16/script.png',
'icon' => 'square-o',
'purecode' => false,
'privileges' => array(),
'class_mapping' => array(),
@@ -408,6 +408,6 @@ public function get_component_icon($component, $provide_fallback = true)
return null;
}
return 'stock-icons/16x16/component.png';
return 'puzzle-piece';
}
}
@@ -1,5 +1,5 @@
'name' => 'midcom.helper.filesync',
'icon' => 'stock-icons/16x16/stock_refresh.png',
'icon' => 'refresh',
'purecode' => true,
'privileges' => array(),
'description' => 'Site template filesystem synchronization',
@@ -1,5 +1,5 @@
'name' => 'midcom.helper.imagepopup',
'icon' => 'stock-icons/16x16/attach.png',
'icon' => 'paperclip',
'description' => 'Image upload and insertion tool',
'purecode' => true,
'privileges' => array(),
@@ -1,5 +1,5 @@
'name' => 'midcom.helper.search',
'icon' => 'stock-icons/16x16/search.png',
'icon' => 'search',
'purecode' => false,
'privileges' => array(),
'class_mapping' => array(),
@@ -1,5 +1,5 @@
'name' => 'midcom.services.at',
'icon' => 'stock-icons/16x16/stock_new-event.png',
'icon' => 'clock-o',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array
@@ -1,5 +1,5 @@
'name' => 'midgard.admin.asgard',
'icon' => 'midgard.admin.asgard/asgard2-16.png',
'icon' => 'server',
'purecode' => true,
'privileges' => array
(
@@ -2,7 +2,7 @@
$component = $data['component_data'];
$prefix = midcom_core_context::get()->get_key(MIDCOM_CONTEXT_ANCHORPREFIX);
?>
<li><h3><a href="&(prefix);__mfa/asgard/components/&(component['name']);/"><img src="<?php echo MIDCOM_STATIC_URL; ?>/&(component['icon']);" alt="" /> &(component['name']);</a></h3>
<li><h3><a href="&(prefix);__mfa/asgard/components/&(component['name']);/"><i class="fa fa-&(component['icon']);"></i> &(component['name']);</a></h3>
<div class="details">
<span class="description">&(component['title']);</span>
<?php echo $component['toolbar']->render(); ?>
@@ -1,6 +1,6 @@
'name' => 'midgard.admin.user',
'description' => 'User management tool',
'icon' => 'midgard.admin.user/user-manager.png',
'icon' => 'users',
'purecode' => true,
'privileges' => array
(
@@ -1,5 +1,5 @@
'name' => 'net.nehmer.blog',
'icon' => 'net.nehmer.blog/news-listing.png',
'icon' => 'newspaper-o',
'class_mapping' => array(),
'description' => 'System for displaying and managing news posts',
'watches' => array(),
@@ -1,5 +1,5 @@
'name' => 'net.nehmer.comments',
'icon' => 'stock-icons/16x16/stock-discussion.png',
'icon' => 'comments-o',
'class_mapping' => array
(
'net_nehmer_comments_comment_db' => 'net_nehmer_comments_comment'
@@ -1,5 +1,5 @@
'name' => 'net.nehmer.static',
'icon' => 'stock-icons/16x16/document.png',
'icon' => 'file-text-o',
'class_mapping' => array(),
'description' => 'Static content display component emulating regular directory of HTML files',
'watches' => array(),
@@ -1,5 +1,5 @@
'name' => 'net.nemein.redirector',
'icon' => 'stock-icons/16x16/stock_jump-to.png',
'icon' => 'arrow-right',
'purecode' => false,
'privileges' => array
(
@@ -1,5 +1,5 @@
'name' => 'net.nemein.rss',
'icon' => 'net.nemein.rss/rss-16.png',
'icon' => 'rss',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array
@@ -1,5 +1,5 @@
'name' => 'net.nemein.tag',
'icon' => 'net.nemein.tag/tag-16.png',
'icon' => 'tags',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array
@@ -1,5 +1,5 @@
'name' => 'net.nemein.wiki',
'icon' => 'net.nemein.wiki/wiki.png',
'icon' => 'pencil',
'purecode' => false,
'privileges' => array(),
'class_mapping' => array
@@ -1,4 +1,5 @@
'name' => 'org.openpsa.calendar',
'icon' => 'calendar',
'purecode' => false,
'privileges' => array
(
@@ -43,4 +44,3 @@
),
),
),
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.core',
'icon' => 'org.openpsa.core/openpsa-16x16.png',
'icon' => 'cog',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array(),
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.directmarketing',
'icon' => 'stock-icons/16x16/stock_mail.png',
'icon' => 'bullhorn',
'purecode' => false,
'class_mapping' => array
(
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.documents',
'icon' => 'stock-icons/16x16/folder.png',
'icon' => 'folder',
'purecode' => false,
'privileges' => array(),
'class_mapping' => array
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.httplib',
'icon' => 'org.openpsa.httplib/httplib.png',
'icon' => 'cloud',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array(),
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.invoices',
'icon' => 'stock-icons/16x16/stock_mail-open.png',
'icon' => 'file-text-o',
'purecode' => false,
'privileges' => array(),
'class_mapping' => array
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.mail',
'icon' => 'stock-icons/16x16/stock_mail-open.png',
'icon' => 'envelope-o',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array(),
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.notifications',
'icon' => 'org.openpsa.notifications/notification-system.png',
'icon' => 'bell-o',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.products',
'icon' => 'stock-icons/16x16/package.png',
'icon' => 'cubes',
'purecode' => false,
'privileges' => array(),
'class_mapping' => array
@@ -1,4 +1,5 @@
'name' => 'org.openpsa.projects',
'icon' => 'tasks',
'purecode' => false,
'privileges' => array(),
'class_mapping' => array
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.qbpager',
'icon' => 'org.openpsa.qbpager/pager.png',
'icon' => 'list-ol',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array(),
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.relatedto',
'icon' => 'stock-icons/16x16/hidden.png',
'icon' => 'external-link',
'purecode' => true,
'privileges' => array(),
'class_mapping' => array
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.sales',
'icon' => 'stock-icons/16x16/currency.png',
'icon' => 'money',
'purecode' => false,
'class_mapping' => array
(
@@ -1,5 +1,5 @@
'name' => 'org.openpsa.user',
'icon' => 'org.openpsa.user/user-management.png',
'icon' => 'users',
'purecode' => false,
'privileges' => array
(
View
Binary file not shown.
@@ -15,11 +15,6 @@
display: block
}
#midcom_admin_folder_order_form img
{
display: inline;
}
#midcom_admin_folder_order_form li
{
display: block;
@@ -13,7 +13,8 @@ body
a
{
font-weight:bold;
color:brown;
color: brown;
text-decoration: none;
}
pre
@@ -135,15 +136,18 @@ div.components ul li
margin: 6px;
}
div.components ul li img
div.components ul li span
{
border: none;
vertical-align: middle;
padding-left: 6px;
}
div.components ul li span
div.components ul li i.fa
{
padding-left: 6px;
color: grey;
font-size: 16px;
vertical-align: baseline;
text-align: center;
width: 18px;
}
.method_name
View
Binary file not shown.
@@ -58,10 +58,11 @@
display:block
}
#content div.components ul li h3 img
#content div.components ul li h3 i
{
border: none;
vertical-align: middle;
color: #555;
vertical-align: baseline;
font-size: 16px
}
#content div.components ul.midcom_toolbar
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.

0 comments on commit 0bd4f1d

Please sign in to comment.