Merge pull request #4750 from jlmitch5/readonlyWorkflowsExtraVars

make workflow extra vars look disabled
This commit is contained in:
jlmitch5 2017-01-17 13:56:46 -05:00 committed by GitHub
commit 223827e104
2 changed files with 28 additions and 0 deletions

View File

@ -110,3 +110,27 @@
text-transform: uppercase;
margin-left: 20px;
}
.WorkflowResults-extraVarsHelp {
margin-left: 10px;
color: @default-icon;
}
.WorkflowResults .CodeMirror.cm-s-default,
.WorkflowResults .CodeMirror-line {
background-color: #f6f6f6;
}
.WorkflowResults .CodeMirror-gutter.CodeMirror-lint-markers,
.WorkflowResults .CodeMirror-gutter.CodeMirror-linenumbers {
background-color: #ebebeb;
color: @b7grey;
}
.WorkflowResults .CodeMirror-lines {
cursor: default;
}
.WorkflowResults .CodeMirror-cursors {
display: none;
}

View File

@ -121,6 +121,10 @@
<label class="WorkflowResults-resultRowLabel
WorkflowResults-resultRowLabel--fullWidth">
Extra Variables
<i class="WorkflowResults-extraVarsHelp fa fa-question-circle"
aw-tool-tip="Read only view of extra variables added to the workflow."
data-placement="top">
</i>
</label>
<textarea
rows="6"