Repository: ambari Updated Branches: refs/heads/branch-2.5 bb568139d -> 4c613754c
AMBARI-20133. Changes/Overwrites to Bundles and Coordinators Show as Workflow, Not able to select text from worflow 'Definition' tab (Venkata Sairam via pallavkul) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4c613754 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4c613754 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4c613754 Branch: refs/heads/branch-2.5 Commit: 4c613754c0610fe0624bfaa896a3588d0a7b489b Parents: bb56813 Author: pallavkul <[email protected]> Authored: Thu Feb 23 12:41:43 2017 +0530 Committer: pallavkul <[email protected]> Committed: Thu Feb 23 12:44:40 2017 +0530 ---------------------------------------------------------------------- .../wfmanager/src/main/resources/ui/app/components/save-wf.js | 2 +- .../views/wfmanager/src/main/resources/ui/app/styles/app.less | 5 +++-- .../src/main/resources/ui/app/templates/components/save-wf.hbs | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/4c613754/contrib/views/wfmanager/src/main/resources/ui/app/components/save-wf.js ---------------------------------------------------------------------- diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/components/save-wf.js b/contrib/views/wfmanager/src/main/resources/ui/app/components/save-wf.js index 17ee0fd..01da55b 100644 --- a/contrib/views/wfmanager/src/main/resources/ui/app/components/save-wf.js +++ b/contrib/views/wfmanager/src/main/resources/ui/app/components/save-wf.js @@ -97,7 +97,7 @@ export default Ember.Component.extend(Validations, { this.get("saveJobService").saveWorkflow(url, workflowData).promise.then(function(response){ self.showNotification({ "type": "success", - "message": "Workflow have been saved" + "message": this.get("displayName")+" have been saved" }); self.set("savingInProgress",false); this.set('jobFilePath', this.get('filePath')); http://git-wip-us.apache.org/repos/asf/ambari/blob/4c613754/contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less ---------------------------------------------------------------------- diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less b/contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less index 86c1dd3..e98d182 100644 --- a/contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less +++ b/contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less @@ -850,12 +850,10 @@ height: 100vh; .preview pre.prettyprint { border: none; - background: #fff; } .preview pre { border: none; - background: #fff; } .date-picker { @@ -1758,3 +1756,6 @@ height: 100vh; .CodeMirror{ height: auto; } + pre { + background-color : white; + } http://git-wip-us.apache.org/repos/asf/ambari/blob/4c613754/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/save-wf.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/save-wf.hbs b/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/save-wf.hbs index aee2072..d6937ed 100644 --- a/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/save-wf.hbs +++ b/contrib/views/wfmanager/src/main/resources/ui/app/templates/components/save-wf.hbs @@ -20,7 +20,7 @@ <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> - <h4 class="modal-title">Save Workflow</h4> + <h4 class="modal-title">Save {{displayName}}</h4> </div> <div class="modal-body"> <div class="panel panel-default"> @@ -41,7 +41,7 @@ </div> {{/if}} <div class="row form-group"> - <div class="col-xs-3"> + <div class="col-xs-3"> <label class="control-label" for="{{type}}-path">{{displayName}} path</label><span class="requiredField"> *</span> </div> <div class="col-xs-8">
