Fixed item tooltip in query editor.

This commit is contained in:
Alexander Zobnin
2015-06-09 13:03:55 +03:00
parent cdf9437e75
commit 3a4dd9616f

View File

@@ -46,7 +46,7 @@
<!-- Alias --> <!-- Alias -->
<li> <li>
<input type="text" <input type="text"
class="tight-form-input input-large" class="tight-form-input input-medium"
ng-model="target.alias" ng-model="target.alias"
spellcheck='false' spellcheck='false'
placeholder="alias" placeholder="alias"
@@ -54,7 +54,7 @@
</li> </li>
<!-- Select Host Group --> <!-- Select Host Group -->
<li> <li>
<select style="width: 10em" <select style="width: 12em"
class="tight-form-input input-small" class="tight-form-input input-small"
ng-change="selectHostGroup()" ng-change="selectHostGroup()"
ng-model="target.group" ng-model="target.group"
@@ -86,7 +86,7 @@
</li> </li>
<!-- Select Application --> <!-- Select Application -->
<li> <li>
<select style="width: 12em" <select style="width: 15em"
class="tight-form-input input-medium" class="tight-form-input input-medium"
ng-change="selectApplication()" ng-change="selectApplication()"
ng-model="target.application" ng-model="target.application"
@@ -106,7 +106,7 @@
class="tight-form-input input-medium" class="tight-form-input input-medium"
ng-change="selectItem()" ng-change="selectItem()"
ng-model="target.item" ng-model="target.item"
bs-tooltip="target.name.length > 30 ? target.name : ''" bs-tooltip="target.item.name.length > 25 ? target.item.name : ''"
ng-options="item.name for item in metric.itemList track by item.name" > ng-options="item.name for item in metric.itemList track by item.name" >
<option value="">-- Select item --</option> <option value="">-- Select item --</option>
</select> </select>