Skip to content

Commit e6776f7

Browse files
committed
cleanup(sass): removed tight-form styles
1 parent d7e8753 commit e6776f7

File tree

6 files changed

+79
-580
lines changed

6 files changed

+79
-580
lines changed

docs/sources/datasources/plugin_api.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,5 @@ Even though the data source type name is with lowercase `g`, the directive uses
3030
that is how angular directives needs to be named in order to match an element with name `<metric-query-editor-graphite />`.
3131
You also specify the query controller here instead of in the query.editor.html partial like before.
3232

33-
### query.editor.html
34-
35-
This partial needs to be updated, remove the `np-repeat` this is done in the outer partial now,m the query.editor.html
36-
should only render a single query. Take a look at the Graphite or InfluxDB partials for `query.editor.html` for reference.
37-
You should also add a `tight-form-item` with `{{target.refId}}`, all queries needs to be assigned a letter (`refId`).
38-
These query reference letters are going to be utilized in a later feature.
3933

4034

public/app/features/dashboard/partials/globalAlerts.html

Lines changed: 0 additions & 282 deletions
This file was deleted.

public/app/features/panel/partials/query_editor_row.html

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -57,59 +57,3 @@
5757
</div>
5858
</div>
5959

60-
<div class="tight-form" ng-if="false">
61-
<ul class="tight-form-list pull-right">
62-
<li ng-show="ctrl.error" class="tight-form-item">
63-
<a bs-tooltip="ctrl.error" style="color: rgb(229, 189, 28)" role="menuitem">
64-
<i class="fa fa-warning"></i>
65-
</a>
66-
</li>
67-
<li class="tight-form-item small" ng-show="ctrl.target.datasource">
68-
<em>{{ctrl.target.datasource}}</em>
69-
</li>
70-
<li class="tight-form-item" ng-if="ctrl.toggleEditorMode">
71-
<a class="pointer" tabindex="1" ng-click="ctrl.toggleEditorMode()">
72-
<i class="fa fa-pencil"></i>
73-
</a>
74-
</li>
75-
<li class="tight-form-item">
76-
<div class="dropdown">
77-
<a class="pointer dropdown-toggle" data-toggle="dropdown" tabindex="1">
78-
<i class="fa fa-bars"></i>
79-
</a>
80-
<ul class="dropdown-menu pull-right" role="menu">
81-
<li role="menuitem">
82-
<a tabindex="1" ng-click="ctrl.duplicateQuery()">Duplicate</a>
83-
</li>
84-
<li role="menuitem">
85-
<a tabindex="1" ng-click="ctrl.moveQuery(-1)">Move up</a>
86-
</li>
87-
<li role="menuitem">
88-
<a tabindex="1" ng-click="ctrl.moveQuery(1)">Move down</a>
89-
</li>
90-
</ul>
91-
</div>
92-
</li>
93-
<li class="tight-form-item last">
94-
<a class="pointer" tabindex="1" ng-click="ctrl.removeQuery(target)">
95-
<i class="fa fa-trash"></i>
96-
</a>
97-
</li>
98-
</ul>
99-
100-
<ul class="tight-form-list">
101-
<li class="tight-form-item" style="min-width: 15px; text-align: center">
102-
{{ctrl.target.refId}}
103-
</li>
104-
<li>
105-
<a class="tight-form-item" ng-click="ctrl.toggleHideQuery()" role="menuitem">
106-
<i class="fa fa-eye"></i>
107-
</a>
108-
</li>
109-
</ul>
110-
111-
<ul class="tight-form-list" ng-transclude>
112-
</ul>
113-
114-
<div class="clearfix"></div>
115-
</div>

public/sass/_grafana.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
@import "components/tagsinput";
5151
@import "components/tables_lists";
5252
@import "components/search";
53-
@import "components/tightform";
5453
@import "components/gf-form";
5554
@import "components/sidemenu";
5655
@import "components/navbar";

0 commit comments

Comments
 (0)