Move format button next add new param button.

This commit is contained in:
Arik Fraimovich
2018-07-31 15:09:23 +03:00
parent 73f7476434
commit 40c8cef821
2 changed files with 4 additions and 23 deletions

View File

@@ -176,25 +176,6 @@ edit-in-place p.editable:hover {
}
}
.editor__container {
.btn__format {
margin-top: -50px;
margin-right: 10px;
z-index: 999;
position: relative;
opacity: 0;
transition: transform 0.12s ease-out;
transition-duration: 0.3s;
transition-property: opacity;
}
&:hover {
.btn__format {
opacity: 1;
}
}
}
.paginator-container {
text-align: center;
}

View File

@@ -144,10 +144,6 @@
<div class="container p-15 m-b-10" style="height:100%;">
<p style="height:calc(100% - 40px); margin-bottom: 0px;" class="editor__container">
<query-editor query="query" schema="schema" syntax="dataSource.syntax"></query-editor>
<button type="button" class="btn btn-default btn-s btn__format pull-right" ng-click="formatQuery()" title="Format">
<span class="zmdi zmdi-format-indent-increase"></span>
</button>
</p>
<div class="editor__control">
@@ -157,6 +153,10 @@
<span ng-non-bindable>{{&nbsp;}}</span>
</button>
<button type="button" class="btn btn-default" ng-click="formatQuery()" uib-tooltip="Format Query">
<span class="zmdi zmdi-format-indent-increase"></span>
</button>
<select class="form-control datasource-small flex-fill w-100" ng-disabled="!isQueryOwner || !sourceMode" ng-model="query.data_source_id"
ng-change="updateDataSource()" ng-options="ds.id as ds.name for ds in dataSources"></select>