ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject [1/4] ambari git commit: AMBARI-14476. View display name overlaps with version if name is long and does not contain spaces (alexantonenko)
Date Mon, 28 Dec 2015 19:18:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk f2b1a89ac -> 7d6caf6cd


AMBARI-14476. View display name overlaps with version if name is long and does not contain
spaces (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 7d6caf6cdbfaefec8c992647a56e64e3fab3dd45
Parents: c763570
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Dec 28 21:05:27 2015 +0200
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Mon Dec 28 21:17:57 2015 +0200

----------------------------------------------------------------------
 .../src/main/resources/ui/admin-web/app/styles/main.css         | 5 ++++-
 .../resources/ui/admin-web/app/views/ambariViews/listTable.html | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7d6caf6c/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css b/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
index e380706..895a28f 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/styles/main.css
@@ -204,6 +204,9 @@
  .instances-table{
   table-layout: fixed;
  }
+ .instance-link{
+  word-wrap:break-word;
+ }
  .description-column{
   text-overflow: ellipsis;
   overflow: hidden;
@@ -1348,4 +1351,4 @@ accordion .panel-group .panel{
 thead.view-permission-header > tr > th {
   border-top: 0px;
   padding-top: 40px;
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ambari/blob/7d6caf6c/ambari-admin/src/main/resources/ui/admin-web/app/views/ambariViews/listTable.html
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/views/ambariViews/listTable.html
b/ambari-admin/src/main/resources/ui/admin-web/app/views/ambariViews/listTable.html
index 05cb1d5..d922f13 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/views/ambariViews/listTable.html
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/views/ambariViews/listTable.html
@@ -67,8 +67,8 @@
       <table class="table instances-table">
         <tbody>
           <tr ng-repeat="instance in view.instances">
-            <td class="col-sm-3"></td>
-            <td class="col-sm-3">
+            <td class="col-sm-1"></td>
+            <td class="col-sm-5">
               <a href="#/views/{{view.view_name}}/versions/{{instance.ViewInstanceInfo.version}}/instances/{{instance.ViewInstanceInfo.instance_name}}/edit"
class="instance-link">{{instance.label}}</a>
             </td>
             <td class="col-sm-5">{{instance.ViewInstanceInfo.version}}</td>


Mime
View raw message