-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6992 from BigFunger/add-data-source-record
[add data] Source record UI changes
- Loading branch information
Showing
7 changed files
with
47 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 8 additions & 4 deletions
12
...a/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_source_data.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
@import (reference) "~ui/styles/variables"; | ||
@import (reference) "~ui/styles/mixins"; | ||
@import (reference) "~ui/styles/theme"; | ||
|
||
source-data { | ||
flex: 1 0 auto; | ||
display: flex; | ||
|
||
button { | ||
flex: 0 0 auto; | ||
width: 40px; | ||
margin-left: 5px; | ||
} | ||
|
||
div.controls { | ||
display: flex; | ||
} | ||
} |
19 changes: 8 additions & 11 deletions
19
...public/settings/sections/indices/add_data_steps/pipeline_setup/views/pipeline_output.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
<div class="form-group"> | ||
<div class="header-line"> | ||
<label>Pipeline Output:</label> | ||
<a | ||
ng-click="collapsed = false" | ||
ng-show="collapsed">expand</a> | ||
<a | ||
ng-click="collapsed = true" | ||
ng-hide="collapsed">collapse</a> | ||
</div> | ||
<pre class="output" ng-class="{ collapsed: collapsed }">{{ pipeline.output | json }}</pre> | ||
<div class="header-line"> | ||
<label>Pipeline Output</label> | ||
<source-data | ||
sample="sample" | ||
samples="samples" | ||
disabled="pipeline.hasCompileError"> | ||
</source-data> | ||
</div> | ||
<pre class="output">{{ pipeline.output | json }}</pre> |
4 changes: 1 addition & 3 deletions
4
.../public/settings/sections/indices/add_data_steps/pipeline_setup/views/pipeline_setup.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 20 additions & 31 deletions
51
...ana/public/settings/sections/indices/add_data_steps/pipeline_setup/views/source_data.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,20 @@ | ||
<div class="form-group"> | ||
<label>Current Line:</label> | ||
<div class="controls"> | ||
<select | ||
class="form-control" | ||
ng-options="sample.message for sample in samples" | ||
ng-model="selectedSample" | ||
ng-disabled="disabled"> | ||
</select> | ||
<button | ||
aria-label="Previous Line" | ||
tooltip="Previous Line" | ||
tooltip-append-to-body="true" | ||
ng-click="previousLine()" | ||
type="button" | ||
class="btn btn-xs btn-default" | ||
ng-disabled="disabled"> | ||
<i aria-hidden="true" class="fa fa-chevron-left"></i> | ||
</button> | ||
<button | ||
aria-label="Next Line" | ||
tooltip="Next Line" | ||
tooltip-append-to-body="true" | ||
ng-click="nextLine()" | ||
type="button" | ||
class="btn btn-xs btn-default" | ||
ng-disabled="disabled"> | ||
<i aria-hidden="true" class="fa fa-chevron-right"></i> | ||
</button> | ||
</div> | ||
</div> | ||
<button | ||
aria-label="Previous Sample Record" | ||
tooltip="Previous Sample Record" | ||
tooltip-append-to-body="true" | ||
ng-click="previousLine()" | ||
type="button" | ||
class="btn btn-xs btn-primary" | ||
ng-disabled="disabled"> | ||
<i aria-hidden="true" class="fa fa-caret-left"></i> | ||
</button> | ||
<button | ||
aria-label="Next Sample Record" | ||
tooltip="Next Sample Record" | ||
tooltip-append-to-body="true" | ||
ng-click="nextLine()" | ||
type="button" | ||
class="btn btn-xs btn-primary" | ||
ng-disabled="disabled"> | ||
<i aria-hidden="true" class="fa fa-caret-right"></i> | ||
</button> |