Browse Source

Change Inspect icon #351 (#352)

master
rozetko 5 years ago committed by GitHub
parent
commit
e7e435f222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/img/inspect_disabled.svg
  2. 3
      src/img/inspect_enabled.svg
  3. 5
      src/panel/graph_panel/partials/analytic_units_5.x.html
  4. 5
      src/panel/graph_panel/partials/analytic_units_6.x.html

3
src/img/inspect_disabled.svg

@ -0,0 +1,3 @@
<?xml version="1.0" ?><svg id="Layer_1" style="enable-background:new 0 0 74 74;" version="1.1" viewBox="0 0 74 74" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css">
.st0{fill:grey;}
</style><g><path class="st0" d="M72.4,58.8l-9.6-9.6c2.4-3,3.8-6.8,3.8-10.9c0-5.5-2.6-10.4-6.5-13.7V10.6c0-1.1-0.9-2-2-2H46.4 c-1.1,0-2,0.9-2,2v10.8c-2.2,0.6-4.2,1.6-6,3v-1.9c0-1.1-0.9-2-2-2H24.7c-1.1,0-2,0.9-2,2v41c0,1.1,0.9,2,2,2h11.7c1.1,0,2-0.9,2-2 V52.2c1.8,1.4,3.8,2.4,6,3v8.2c0,1.1,0.9,2,2,2h11.7c1.1,0,2-0.9,2-2V52.2l9.5,9.5c0.4,0.4,0.9,0.6,1.4,0.6s1-0.2,1.4-0.6 C73.2,60.9,73.2,59.6,72.4,58.8z M48.4,12.6h7.7v9.6c-2.2-0.9-4.5-1.5-7-1.5c-0.2,0-0.4,0-0.7,0V12.6z M26.7,61.4v-37h7.7v4.2 c-1.8,2.8-2.9,6.1-2.9,9.7s1.1,6.9,2.9,9.7v13.4H26.7z M35.5,38.3c0-7.5,6.1-13.6,13.6-13.6c7.5,0,13.6,6.1,13.6,13.6 c0,7.5-6.1,13.6-13.6,13.6C41.6,51.9,35.5,45.8,35.5,38.3z M48.4,61.4v-5.6c0.2,0,0.4,0,0.7,0c2.5,0,4.9-0.5,7-1.5v7H48.4z"/><path class="st0" d="M14.7,38.2H3c-1.1,0-2,0.9-2,2v23.2c0,1.1,0.9,2,2,2h11.7c1.1,0,2-0.9,2-2V40.2C16.7,39.1,15.8,38.2,14.7,38.2 z M12.7,61.4H5V42.2h7.7V61.4z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

3
src/img/inspect_enabled.svg

@ -0,0 +1,3 @@
<?xml version="1.0" ?><svg id="Layer_1" style="enable-background:new 0 0 74 74;" version="1.1" viewBox="0 0 74 74" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css">
.st0{fill:black;}
</style><g><path class="st0" d="M72.4,58.8l-9.6-9.6c2.4-3,3.8-6.8,3.8-10.9c0-5.5-2.6-10.4-6.5-13.7V10.6c0-1.1-0.9-2-2-2H46.4 c-1.1,0-2,0.9-2,2v10.8c-2.2,0.6-4.2,1.6-6,3v-1.9c0-1.1-0.9-2-2-2H24.7c-1.1,0-2,0.9-2,2v41c0,1.1,0.9,2,2,2h11.7c1.1,0,2-0.9,2-2 V52.2c1.8,1.4,3.8,2.4,6,3v8.2c0,1.1,0.9,2,2,2h11.7c1.1,0,2-0.9,2-2V52.2l9.5,9.5c0.4,0.4,0.9,0.6,1.4,0.6s1-0.2,1.4-0.6 C73.2,60.9,73.2,59.6,72.4,58.8z M48.4,12.6h7.7v9.6c-2.2-0.9-4.5-1.5-7-1.5c-0.2,0-0.4,0-0.7,0V12.6z M26.7,61.4v-37h7.7v4.2 c-1.8,2.8-2.9,6.1-2.9,9.7s1.1,6.9,2.9,9.7v13.4H26.7z M35.5,38.3c0-7.5,6.1-13.6,13.6-13.6c7.5,0,13.6,6.1,13.6,13.6 c0,7.5-6.1,13.6-13.6,13.6C41.6,51.9,35.5,45.8,35.5,38.3z M48.4,61.4v-5.6c0.2,0,0.4,0,0.7,0c2.5,0,4.9-0.5,7-1.5v7H48.4z"/><path class="st0" d="M14.7,38.2H3c-1.1,0-2,0.9-2,2v23.2c0,1.1,0.9,2,2,2h11.7c1.1,0,2-0.9,2-2V40.2C16.7,39.1,15.8,38.2,14.7,38.2 z M12.7,61.4H5V42.2h7.7V61.4z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

5
src/panel/graph_panel/partials/analytic_units_5.x.html

@ -76,8 +76,9 @@
<label class="gf-form-label" bs-tooltip="'Inspect Mode'"> <label class="gf-form-label" bs-tooltip="'Inspect Mode'">
<a class="pointer" ng-click="ctrl.onToggleInspect(analyticUnit.id)"> <a class="pointer" ng-click="ctrl.onToggleInspect(analyticUnit.id)">
<i class="fa fa-crosshairs" ng-if="analyticUnit.inspect"></i> <!--use ctrl.pluginPath-->
<i class="fa fa-circle-thin" ng-if="!analyticUnit.inspect"></i> <img src="public/plugins/corpglory-hastic-app/img/inspect_enabled.svg" class="fa fa-fw" ng-if="analyticUnit.inspect"></img>
<img src="public/plugins/corpglory-hastic-app/img/inspect_disabled.svg" class="fa fa-fw" ng-if="!analyticUnit.inspect"></img>
</a> </a>
</label> </label>

5
src/panel/graph_panel/partials/analytic_units_6.x.html

@ -64,8 +64,9 @@
bs-tooltip="'Inspect Mode'" bs-tooltip="'Inspect Mode'"
> >
<a class="pointer"> <a class="pointer">
<i class="fa fa-fw fa-crosshairs" ng-if="analyticUnit.inspect"></i> <!--use ctrl.pluginPath-->
<i class="fa fa-fw fa-circle-thin" ng-if="!analyticUnit.inspect"></i> <img src="public/plugins/corpglory-hastic-app/img/inspect_enabled.svg" class="fa fa-fw" ng-if="analyticUnit.inspect"></img>
<img src="public/plugins/corpglory-hastic-app/img/inspect_disabled.svg" class="fa fa-fw" ng-if="!analyticUnit.inspect"></img>
</a> </a>
</button> </button>

Loading…
Cancel
Save