mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Move format button next add new param button.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>{{ }}</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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user