You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/02/24 14:19:40 UTC
[33/50] ambari git commit: AMBARI-20133. Changes/Overwrites to
Bundles and Coordinators Show as Workflow,
Not able to select text from worflow 'Definition' tab (Venkata Sairam via
pallavkul)
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/9c6c20f2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9c6c20f2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9c6c20f2
Branch: refs/heads/branch-feature-AMBARI-12556
Commit: 9c6c20f23dc077d52add8cef1ac70c6add89b3f7
Parents: 82230d6
Author: pallavkul <pa...@gmail.com>
Authored: Thu Feb 23 12:41:43 2017 +0530
Committer: pallavkul <pa...@gmail.com>
Committed: Thu Feb 23 12:41:43 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/9c6c20f2/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/9c6c20f2/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/9c6c20f2/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">