mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
This commit is contained in:
committed by
Maxime Beauchemin
parent
2d6b9422c6
commit
8223729e1e
@@ -153,7 +153,7 @@ class QuerySearch extends React.PureComponent {
|
||||
placeholder="Search Results"
|
||||
/>
|
||||
</div>
|
||||
<div className="col-sm-1">
|
||||
<div className="col-sm-4 search-date-filter-container">
|
||||
<Select
|
||||
name="select-from"
|
||||
placeholder="[From]-"
|
||||
@@ -163,8 +163,7 @@ class QuerySearch extends React.PureComponent {
|
||||
autosize={false}
|
||||
onChange={this.changeFrom.bind(this)}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-sm-1">
|
||||
|
||||
<Select
|
||||
name="select-to"
|
||||
placeholder="[To]-"
|
||||
@@ -173,8 +172,7 @@ class QuerySearch extends React.PureComponent {
|
||||
autosize={false}
|
||||
onChange={this.changeTo.bind(this)}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-sm-1">
|
||||
|
||||
<Select
|
||||
name="select-status"
|
||||
placeholder="[Query Status]"
|
||||
@@ -184,10 +182,11 @@ class QuerySearch extends React.PureComponent {
|
||||
autosize={false}
|
||||
onChange={this.changeStatus.bind(this)}
|
||||
/>
|
||||
|
||||
<Button bsSize="small" bsStyle="success" onClick={this.refreshQueries.bind(this)}>
|
||||
Search
|
||||
</Button>
|
||||
</div>
|
||||
<Button bsSize="small" bsStyle="success" onClick={this.refreshQueries.bind(this)}>
|
||||
Search
|
||||
</Button>
|
||||
</div>
|
||||
{this.state.queriesLoading ?
|
||||
(<img className="loading" alt="Loading..." src="/static/assets/images/loading.gif" />)
|
||||
|
||||
@@ -292,3 +292,10 @@ a.Link {
|
||||
.SouthPane {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.search-date-filter-container {
|
||||
display: flex;
|
||||
|
||||
.Select {
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.control-panel-section .Select-multi-value-wrapper .Select-input > input {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.background-transparent {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
@@ -340,13 +340,22 @@ iframe {
|
||||
}
|
||||
|
||||
// overwrite react-select css
|
||||
.Select-multi-value-wrapper .Select-input {
|
||||
display: inline-block;
|
||||
width: 100px;
|
||||
}
|
||||
.Select--multi .Select-value {
|
||||
line-height: 1.2;
|
||||
.Select--multi {
|
||||
.Select-multi-value-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
.Select-value {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.Select-input > input {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.dimmed {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user