AMBARI-7273. Admin View: cluster rename controls look a bit out of place.(xi wang)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/10dd42ea Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/10dd42ea Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/10dd42ea Branch: refs/heads/branch-alerts-dev Commit: 10dd42eab0e6ee83e4c1181a3126681863c558e5 Parents: e71d4fa Author: Xi Wang <xiw...@apache.org> Authored: Thu Sep 11 17:26:51 2014 -0700 Committer: Xi Wang <xiw...@apache.org> Committed: Thu Sep 11 17:26:51 2014 -0700 ---------------------------------------------------------------------- .../resources/ui/admin-web/app/views/leftNavbar.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/10dd42ea/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html ---------------------------------------------------------------------- diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html b/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html index 8b57754..b1ab544 100644 --- a/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html +++ b/ambari-admin/src/main/resources/ui/admin-web/app/views/leftNavbar.html @@ -38,17 +38,16 @@ class="form-control input-sm" tooltip="Only alpha-numeric characters." tooltip-trigger="focus"> - - <button - type="submit" - class="btn btn-success btn-xs" - ng-class="{'disabled': editClusterNameForm.newClusterName.$invalid || editCluster.name == cluster.Clusters.cluster_name}"> - <i class="glyphicon glyphicon-ok"></i> - </button> <button ng-click="toggleEditName()" - class="btn btn-danger btn-xs"> + class="btn btn-xs"> <i class="glyphicon glyphicon-remove"></i> </button> + <button + type="submit" + class="btn btn-primary btn-xs" + ng-class="{'disabled': editClusterNameForm.newClusterName.$invalid || editCluster.name == cluster.Clusters.cluster_name}"> + <i class="glyphicon glyphicon-ok"></i> + </button> </div> </form>