You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by pa...@apache.org on 2016/06/03 06:07:35 UTC

ambari git commit: AMBARI-16978. Views Config- UI shows incorrect labels - Add file (pallavkul)

Repository: ambari
Updated Branches:
  refs/heads/trunk da1a6497d -> 3ed98f27b


AMBARI-16978. Views Config- UI shows incorrect labels - Add file (pallavkul)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3ed98f27
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3ed98f27
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3ed98f27

Branch: refs/heads/trunk
Commit: 3ed98f27b612d349ef6f53aa9d3a622f814d2170
Parents: da1a649
Author: Pallav Kulshreshtha <pa...@gmail.com>
Authored: Fri Jun 3 11:36:40 2016 +0530
Committer: Pallav Kulshreshtha <pa...@gmail.com>
Committed: Fri Jun 3 11:36:40 2016 +0530

----------------------------------------------------------------------
 .../views/modals/DeregisterClusterModal.html    | 31 ++++++++++++++++++++
 1 file changed, 31 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3ed98f27/ambari-admin/src/main/resources/ui/admin-web/app/views/modals/DeregisterClusterModal.html
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/views/modals/DeregisterClusterModal.html b/ambari-admin/src/main/resources/ui/admin-web/app/views/modals/DeregisterClusterModal.html
new file mode 100644
index 0000000..e6c67ca
--- /dev/null
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/views/modals/DeregisterClusterModal.html
@@ -0,0 +1,31 @@
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+<div class="modal-header">
+    <h3 class="modal-title">{{header}}</h3>
+</div>
+<div class="modal-body">
+  <div class="default-body" ng-show="!isTempalte">{{body}}</div>
+  <div ng-show="isTempalte" ng-include="body.url"></div>
+  <br />
+  <div ng-show="remoteInstances.length > 0">{{'common.messageInstanceAffected' | translate}}</div>
+  <ul><li ng-repeat="instanceAffected in remoteInstances">{{instanceAffected}}</li></ul>
+</div>
+<div class="modal-footer">
+    <button class="btn btn-default" ng-click="cancel()">{{cancelText}}</button>
+    <button class="btn btn-primary" ng-click="ok()">{{confirmText}}</button>
+</div>
\ No newline at end of file