Alex Trofimov 10 лет назад
Родитель
Сommit
7fd514e278

+ 1 - 1
modules/boonex/organizations/install/sql/enable.sql

@@ -3,7 +3,7 @@
 
 SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules');
 INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES 
-('modules', 'bx_organizations', '_bx_orgs', 'bx_organizations@modules/boonex/organizations/|std-mi.png', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + 1));
+('modules', 'bx_organizations', '_bx_orgs', 'bx_organizations@modules/boonex/organizations/|std-icon.svg', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + 1));
 SET @iTypeId = LAST_INSERT_ID();
 
 INSERT INTO `sys_options_categories` (`type_id`, `name`, `caption`, `order`)

+ 2 - 2
modules/boonex/organizations/install/sql/install.sql

@@ -232,13 +232,13 @@ INSERT INTO `sys_form_pre_values`(`Key`, `Value`, `Order`, `LKey`, `LKey2`) VALU
 -- STUDIO PAGE & WIDGET
 
 INSERT INTO `sys_std_pages`(`index`, `name`, `header`, `caption`, `icon`) VALUES
-(3, 'bx_organizations', '_bx_orgs', '_bx_orgs', 'bx_organizations@modules/boonex/organizations/|std-pi.png');
+(3, 'bx_organizations', '_bx_orgs', '_bx_orgs', 'bx_organizations@modules/boonex/organizations/|std-icon.svg');
 SET @iPageId = LAST_INSERT_ID();
 
 SET @iParentPageId = (SELECT `id` FROM `sys_std_pages` WHERE `name` = 'home');
 SET @iParentPageOrder = (SELECT MAX(`order`) FROM `sys_std_pages_widgets` WHERE `page_id` = @iParentPageId);
 INSERT INTO `sys_std_widgets` (`page_id`, `module`, `url`, `click`, `icon`, `caption`, `cnt_notices`, `cnt_actions`) VALUES
-(@iPageId, 'bx_organizations', '{url_studio}module.php?name=bx_organizations', '', 'bx_organizations@modules/boonex/organizations/|std-wi.png', '_bx_orgs', '', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:11:"get_actions";s:6:"params";a:0:{}s:5:"class";s:18:"TemplStudioModules";}');
+(@iPageId, 'bx_organizations', '{url_studio}module.php?name=bx_organizations', '', 'bx_organizations@modules/boonex/organizations/|std-icon.svg', '_bx_orgs', '', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:11:"get_actions";s:6:"params";a:0:{}s:5:"class";s:18:"TemplStudioModules";}');
 INSERT INTO `sys_std_pages_widgets` (`page_id`, `widget_id`, `order`) VALUES
 (@iParentPageId, LAST_INSERT_ID(), IF(ISNULL(@iParentPageOrder), 1, @iParentPageOrder + 1));
 

+ 49 - 0
modules/boonex/organizations/template/images/icons/std-icon.svg

@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="600px" height="600px" viewBox="0 0 600 600" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
+    <title>Group 2 Copy 16</title>
+    <desc>Created with Sketch.</desc>
+    <defs>
+        <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
+            <stop stop-color="#FFFFFF" stop-opacity="0.2" offset="0%"></stop>
+            <stop stop-color="#000000" stop-opacity="0.138870018" offset="100%"></stop>
+        </linearGradient>
+        <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-2">
+            <stop stop-color="#FFFFFF" offset="0%"></stop>
+            <stop stop-color="#F6F6F6" offset="35.2427758%"></stop>
+            <stop stop-color="#E5E5E5" offset="100%"></stop>
+        </linearGradient>
+        <path d="M214.285714,185.714286 L185.714286,185.714286 L185.714286,178.571429 L0,178.571429 L0,335.714286 C0,339.642857 2.94642857,342.857143 6.96428571,342.857143 L393.125,342.857143 C397.053571,342.857143 400,339.642857 400,335.714286 L400,178.571429 L214.285714,178.571429 L214.285714,185.714286 L214.285714,185.714286 Z" id="path-3"></path>
+        <filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4">
+            <feMorphology radius="1" operator="dilate" in="SourceAlpha" result="shadowSpreadOuter1"></feMorphology>
+            <feOffset dx="0" dy="2" in="shadowSpreadOuter1" result="shadowOffsetOuter1"></feOffset>
+            <feColorMatrix values="0 0 0 0 0   0 0 0 0 0   0 0 0 0 0  0 0 0 0.08 0" type="matrix" in="shadowOffsetOuter1"></feColorMatrix>
+        </filter>
+        <path d="M393.035714,71.4285714 L285.714286,71.4285714 L285.714286,44.0178571 C284.821429,18.8392857 266.339286,0 240,0 L160,0 C133.75,0 115.178571,18.8392857 114.285714,44.0178571 L114.285714,71.4285714 L6.96428571,71.4285714 C3.03571429,71.4285714 0,74.6428571 0,78.5714286 L0,164.285714 L185.714286,164.285714 L185.714286,157.142857 L214.285714,157.142857 L214.285714,164.285714 L400,164.285714 L400,78.5714286 C400,74.6428571 397.053571,71.4285714 393.035714,71.4285714 L393.035714,71.4285714 Z M257.142857,46.6071429 L257.142857,47.5 L257.142857,71.4285714 L142.857143,71.4285714 L142.857143,47.5 L142.857143,46.6071429 L142.857143,45.7142857 C142.857143,37.0535714 150.535714,28.5714286 159.642857,28.5714286 L240.357143,28.5714286 C249.375,28.5714286 257.142857,36.9642857 257.142857,45.7142857 C257.142857,46.0714286 257.142857,46.3392857 257.142857,46.6071429 L257.142857,46.6071429 Z" id="path-5"></path>
+        <filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-6">
+            <feMorphology radius="1" operator="dilate" in="SourceAlpha" result="shadowSpreadOuter1"></feMorphology>
+            <feOffset dx="0" dy="2" in="shadowSpreadOuter1" result="shadowOffsetOuter1"></feOffset>
+            <feColorMatrix values="0 0 0 0 0   0 0 0 0 0   0 0 0 0 0  0 0 0 0.08 0" type="matrix" in="shadowOffsetOuter1"></feColorMatrix>
+        </filter>
+    </defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="Group-2-Copy-16">
+            <path d="M552.268958,552.268958 C600,504.537813 600,431.458333 600,300 C600,168.541667 600,95.4621875 552.268958,47.7310417 C504.537813,0 431.458333,0 300,0 C168.541667,0 95.4621875,0 47.7310417,47.7310417 C0,95.4621875 0,168.541667 0,300 C0,431.458333 0,504.537813 47.7310417,552.268958 C95.4621875,600 168.541667,600 300,600 C431.458333,600 504.537813,600 552.268958,552.268958 L552.268958,552.268958 Z" id="path" fill="#F6A623"></path>
+            <path d="M552.268958,552.268958 C600,504.537813 600,431.458333 600,300 C600,168.541667 600,95.4621875 552.268958,47.7310417 C504.537813,0 431.458333,0 300,0 C168.541667,0 95.4621875,0 47.7310417,47.7310417 C0,95.4621875 0,168.541667 0,300 C0,431.458333 0,504.537813 47.7310417,552.268958 C95.4621875,600 168.541667,600 300,600 C431.458333,600 504.537813,600 552.268958,552.268958 L552.268958,552.268958 Z" id="path-copy" fill="url(#linearGradient-1)"></path>
+            <g id="briefcase" transform="translate(100.000000, 121.000000)">
+                <g id="Layer_1">
+                    <g id="Group">
+                        <g id="Shape" opacity="0.5">
+                            <use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-3"></use>
+                            <use fill="url(#linearGradient-2)" fill-rule="evenodd" xlink:href="#path-3"></use>
+                        </g>
+                        <g id="Shape">
+                            <use fill="black" fill-opacity="1" filter="url(#filter-6)" xlink:href="#path-5"></use>
+                            <use fill="url(#linearGradient-2)" fill-rule="evenodd" xlink:href="#path-5"></use>
+                        </g>
+                    </g>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

BIN
modules/boonex/organizations/template/images/icons/std-mi.png


BIN
modules/boonex/organizations/template/images/icons/std-pi.png


BIN
modules/boonex/organizations/template/images/icons/std-si.png


BIN
modules/boonex/organizations/template/images/icons/std-wi.png


+ 1 - 1
modules/boonex/profiler/install/sql/enable.sql

@@ -1,7 +1,7 @@
 -- settings
 SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules');
 INSERT INTO `sys_options_types` (`group`, `name`, `caption`, `icon`, `order`) VALUES 
-('modules', 'bx_profiler', 'Profiler', 'bx_profiler@modules/boonex/profiler/|std-mi.png', IF(NOT ISNULL(@iTypeOrder), @iTypeOrder + 1, 1));
+('modules', 'bx_profiler', 'Profiler', 'bx_profiler@modules/boonex/profiler/|std-icon.svg', IF(NOT ISNULL(@iTypeOrder), @iTypeOrder + 1, 1));
 SET @iTypeId = LAST_INSERT_ID();
 
 

+ 2 - 2
modules/boonex/profiler/install/sql/install.sql

@@ -1,13 +1,13 @@
 
 -- Studio page and widget.
 INSERT INTO `sys_std_pages`(`index`, `name`, `header`, `caption`, `icon`) VALUES
-(3, 'bx_profiler', '_bx_profiler', '_bx_profiler', 'bx_profiler@modules/boonex/profiler/|std-pi.png');
+(3, 'bx_profiler', '_bx_profiler', '_bx_profiler', 'bx_profiler@modules/boonex/profiler/|std-icon.svg');
 SET @iPageId = LAST_INSERT_ID();
 
 SET @iParentPageId = (SELECT `id` FROM `sys_std_pages` WHERE `name` = 'home');
 SET @iParentPageOrder = (SELECT MAX(`order`) FROM `sys_std_pages_widgets` WHERE `page_id` = @iParentPageId);
 INSERT INTO `sys_std_widgets` (`page_id`, `module`, `url`, `click`, `icon`, `caption`, `cnt_notices`, `cnt_actions`) VALUES
-(@iPageId, 'bx_profiler', '{url_studio}module.php?name=bx_profiler', '', 'bx_profiler@modules/boonex/profiler/|std-wi.png', '_bx_profiler', '', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:11:"get_actions";s:6:"params";a:0:{}s:5:"class";s:18:"TemplStudioModules";}');
+(@iPageId, 'bx_profiler', '{url_studio}module.php?name=bx_profiler', '', 'bx_profiler@modules/boonex/profiler/|std-icon.svg', '_bx_profiler', '', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:11:"get_actions";s:6:"params";a:0:{}s:5:"class";s:18:"TemplStudioModules";}');
 INSERT INTO `sys_std_pages_widgets` (`page_id`, `widget_id`, `order`) VALUES
 (@iParentPageId, LAST_INSERT_ID(), IF(ISNULL(@iParentPageOrder), 1, @iParentPageOrder + 1));
 

BIN
modules/boonex/profiler/template/images/icons/icon.png


+ 37 - 0
modules/boonex/profiler/template/images/icons/std-icon.svg

@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="600px" height="600px" viewBox="0 0 600 600" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
+    <title>Group 2 Copy 8</title>
+    <desc>Created with Sketch.</desc>
+    <defs>
+        <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
+            <stop stop-color="#FFFFFF" stop-opacity="0.2" offset="0%"></stop>
+            <stop stop-color="#000000" stop-opacity="0.138870018" offset="100%"></stop>
+        </linearGradient>
+        <linearGradient x1="0.0298862084%" y1="42.4971626%" x2="100%" y2="42.497164%" id="linearGradient-2">
+            <stop stop-color="#FFFFFF" stop-opacity="0.297809103" offset="0%"></stop>
+            <stop stop-color="#FFFFFF" stop-opacity="0.705293345" offset="50.0523788%"></stop>
+            <stop stop-color="#FFFFFF" stop-opacity="0.91052423" offset="100%"></stop>
+        </linearGradient>
+        <path d="M396,206.250917 C376.5025,206.250917 359.978667,219.083333 354.203667,236.5 L318.58475,236.5 L292.587167,158.201083 C290.5925,152.194167 284.976083,148.158083 278.669417,148.158083 C278.56675,148.158083 278.464083,148.158083 278.362333,148.16175 C271.931,148.294667 266.338417,152.602083 264.567417,158.784083 L223.790417,301.107583 L175.800167,13.17525 C174.657083,6.31858333 168.971917,0 161.333333,0 C153.69475,0 148.781417,5.29466667 147.102083,12.0404167 L91.2046667,236.5 L0,236.5 L0,265.832417 L102.666667,265.832417 C109.402333,265.832417 115.270833,261.246333 116.897917,254.709583 L158.48525,87.714 L205.53225,369.992333 C206.658833,376.754583 212.312833,380.919 219.157583,381.307667 C219.439917,381.324167 219.720417,381.333333 220,381.333333 C226.505583,381.333333 232.288833,377.94075 234.09925,371.622167 L279.697917,212.47325 L294.0795,255.787583 C296.071417,261.785333 301.6805,265.832417 308,265.832417 L354.849,265.832417 C361.141917,282.332417 377.18725,294.25 396,294.25 C420.30175,294.25 440,273.632333 440,249.333333 C440,225.033417 420.30175,206.250917 396,206.250917 L396,206.250917 Z" id="path-3"></path>
+        <filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4">
+            <feMorphology radius="1" operator="dilate" in="SourceAlpha" result="shadowSpreadOuter1"></feMorphology>
+            <feOffset dx="0" dy="2" in="shadowSpreadOuter1" result="shadowOffsetOuter1"></feOffset>
+            <feColorMatrix values="0 0 0 0 0   0 0 0 0 0   0 0 0 0 0  0 0 0 0.2 0" type="matrix" in="shadowOffsetOuter1"></feColorMatrix>
+        </filter>
+    </defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="Group-2-Copy-8">
+            <path d="M552.268958,552.268958 C600,504.537813 600,431.458333 600,300 C600,168.541667 600,95.4621875 552.268958,47.7310417 C504.537813,0 431.458333,0 300,0 C168.541667,0 95.4621875,0 47.7310417,47.7310417 C0,95.4621875 0,168.541667 0,300 C0,431.458333 0,504.537813 47.7310417,552.268958 C95.4621875,600 168.541667,600 300,600 C431.458333,600 504.537813,600 552.268958,552.268958 L552.268958,552.268958 Z" id="path-copy-11" fill="#686868"></path>
+            <path d="M552.268958,552.268958 C600,504.537813 600,431.458333 600,300 C600,168.541667 600,95.4621875 552.268958,47.7310417 C504.537813,0 431.458333,0 300,0 C168.541667,0 95.4621875,0 47.7310417,47.7310417 C0,95.4621875 0,168.541667 0,300 C0,431.458333 0,504.537813 47.7310417,552.268958 C95.4621875,600 168.541667,600 300,600 C431.458333,600 504.537813,600 552.268958,552.268958 L552.268958,552.268958 Z" id="path-copy" fill="url(#linearGradient-1)"></path>
+            <g id="ios-pulse-strong" transform="translate(80.000000, 109.000000)">
+                <g id="Layer_1">
+                    <g id="Shape">
+                        <use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-3"></use>
+                        <use fill="url(#linearGradient-2)" fill-rule="evenodd" xlink:href="#path-3"></use>
+                    </g>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

BIN
modules/boonex/profiler/template/images/icons/std-mi.png


BIN
modules/boonex/profiler/template/images/icons/std-pi.png


BIN
modules/boonex/profiler/template/images/icons/std-si.png


BIN
modules/boonex/profiler/template/images/icons/std-wi.png