add links for large cta

This commit is contained in:
Trent White 2017-12-14 09:31:59 -05:00
parent 2c4de364f8
commit 764992df2a
5 changed files with 45 additions and 17 deletions

View File

@ -27,7 +27,7 @@
{{annotation.name}}
</td>
<td style="width:90%" ng-show="annotation.builtIn" class="pointer" ng-click="ctrl.edit(annotation)">
<i class="fa fa-comment"></i> &nbsp;
<i class="gicon gicon-annotation"></i> &nbsp;
<em class="muted">{{annotation.name}} (Built-in)</em>
</td>
<td class="pointer" ng-click="ctrl.edit(annotation)">
@ -49,7 +49,7 @@
<div class="empty-list-cta">
<div class="empty-list-cta__title">There are no custom annotation queries added yet</div>
<a ng-click="ctrl.setupNew()" class="empty-list-cta__button btn btn-xlarge btn-success">
<i class="gicon gicon-dashboard-new"></i>
<i class="gicon gicon-add-annotation"></i>
Add Annotation Query
</a>
<div class="grafana-info-box">

View File

@ -11,7 +11,7 @@
There are no dashboard links added yet
</div>
<a ng-click="ctrl.setupNew()" class="empty-list-cta__button btn btn-xlarge btn-success">
<i class="gicon gicon-dashboard-new"></i>
<i class="gicon gicon-add-link"></i>
Add Dashboard Link
</a>
<div class="grafana-info-box">

View File

@ -12,7 +12,7 @@
<div class="empty-list-cta">
<div class="empty-list-cta__title">There are no variables added yet</div>
<a ng-click="setMode('new')" class="empty-list-cta__button btn btn-xlarge btn-success">
<i class="gicon gicon-dashboard-new"></i>
<i class="gicon gicon-add-variable"></i>
Add variable
</a>
<div class="grafana-info-box">

View File

@ -3,18 +3,32 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="64px" height="64px" viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<style type="text/css">
.st0{fill:#E3E3E3;}
.st0{fill:#E3E2E2;}
</style>
<g>
<path class="st0" d="M17.1,50.5c-0.8,0-1.7-0.3-2.3-1L0,34.8l14-14c1.3-1.3,3.4-1.3,4.6,0c1.3,1.3,1.3,3.4,0,4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 1015 B

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -6,15 +6,29 @@
.st0{fill:#555555;}
</style>
<g>
<path class="st0" d="M17.1,50.5c-0.8,0-1.7-0.3-2.3-1L0,34.8l14-14c1.3-1.3,3.4-1.3,4.6,0c1.3,1.3,1.3,3.4,0,4.6l-9.3,9.3
l10.2,10.2c1.3,1.3,1.3,3.4,0,4.6C18.8,50.2,17.9,50.5,17.1,50.5z"/>
<path class="st0" d="M0.1,31.8c0-1.6,1-2.9,2.5-3.4c0.5-0.2,1-0.4,1.4-0.6c0.9-0.6,1.4-1.5,1.4-2.7v-9.9c0-2,0.4-3.5,1.1-4.5
c0.7-1,1.9-1.7,3.4-2.2c0.9-0.3,2-0.4,3.3-0.5c1.8-0.2,3.3,1.2,3.3,3v0.1c0,1.4-1,2.6-2.4,3c-0.1,0-0.1,0-0.2,0.1
c-0.5,0.2-0.8,0.4-1.1,0.7c-0.3,0.3-0.4,0.7-0.4,1.3v10.3c0,1.6-0.4,2.9-1.2,3.7c-0.8,0.9-2.1,1.4-4,1.7v0.3c1.8,0.3,3.2,0.9,4,1.7
c0.8,0.8,1.2,2,1.2,3.6v10.4c0,0.6,0.2,1,0.5,1.3c0.3,0.3,0.7,0.5,1.2,0.7c0,0,0.1,0,0.1,0c1.4,0.4,2.3,1.6,2.3,3v0
c0,1.8-1.6,3.3-3.4,3.1c-1.3-0.1-2.3-0.3-3.2-0.6c-1.6-0.5-2.7-1.2-3.4-2.2c-0.7-1-1-2.5-1-4.5v-9.8c0-1.1-0.5-2-1.4-2.7
c-0.4-0.3-0.8-0.5-1.3-0.6c-1.5-0.5-2.5-1.8-2.5-3.4V31.8z"/>
</g>
<g>
<path class="st0" d="M47.7,50.5c-0.8,0-1.7-0.3-2.3-1c-1.3-1.3-1.3-3.4,0-4.6l9.3-9.3L44.5,25.4c-1.3-1.3-1.3-3.4,0-4.6
c1.3-1.3,3.4-1.3,4.6,0L64,35.6l-14,14C49.4,50.2,48.6,50.5,47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3.1s-1.4,3.1-3.1,3.1h-3.4v34.6h2.6c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1
h-5.7c-1.7,0-3.1-1.4-3.1-3.1V11.6C17.3,9.9,18.7,8.5,20.4,8.5z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1015 B

After

Width:  |  Height:  |  Size: 2.1 KiB