3193: add wrapping to td elements
authorradhika <radhika@curoverse.com>
Thu, 24 Jul 2014 17:17:37 +0000 (13:17 -0400)
committerradhika <radhika@curoverse.com>
Thu, 24 Jul 2014 17:17:37 +0000 (13:17 -0400)
apps/workbench/app/views/users/_manage_repositories.html.erb
apps/workbench/app/views/users/_manage_ssh_keys.html.erb
apps/workbench/app/views/users/_manage_virtual_machines.html.erb

index 9c6fb1e82e060927464bc202c8c51f1213a6a5bd..11d25805d91969229e850850534f20a41f2ae701 100644 (file)
@@ -7,8 +7,8 @@
   <table class="table repositories-table">
     <colgroup>
       <col style="width: 30%" />
-      <col style="width: 15%" />
-      <col style="width: 55%" />
+      <col style="width: 10%" />
+      <col style="width: 60%" />
     </colgroup>
     <thead>
       <tr>
     <tbody>
       <% @my_repositories.andand.each do |repo| %>
         <tr>
-          <td>
+          <td style="word-break:break-all;">
             <%= repo[:name] %>
           </td>
           <td>
             <%= repo[:push_url] != nil %>
           </td>
-          <td>
+          <td style="word-break:break-all;">
             <%= repo[:fetch_url] %>
           </td>
         </tr>
index f8eec71666d08b1f17eb29a5a06527a63812e8e6..2c6c7dd8b6959ad5503b8143632dfabad1ce97d8 100644 (file)
@@ -8,13 +8,13 @@
     <tbody>
       <% @my_ssh_keys.andand.each do |key| %>
         <tr>
-          <td>
-            <%= key[:uuid] %>
+          <td style="word-break:break-all;">
+            <%= key[:public_key] %>
           </td>
           <td>
-    <%= link_to(authorized_key_path(id: key[:uuid]), method: 'delete', class: 'btn btn-sm', data: {confirm: "Really delete key"}) do %>
-      <i class="fa fa-fw fa-trash-o"></i>
-    <% end %>
+            <%= link_to(authorized_key_path(id: key[:uuid]), method: 'delete', class: 'btn btn-sm', data: {confirm: "Really delete key"}) do %>
+                <i class="fa fa-fw fa-trash-o"></i>
+            <% end %>
           </td>
         </tr>
       <% end %>
index 3b89d1e391d78d198a0c62f4700b519603efa5e7..b19e719a7b9e12e9734dd27786ba86a47f857e98 100644 (file)
     <tbody>
       <% @my_virtual_machines.andand.each do |vm| %>
         <tr>
-          <td>
+          <td style="word-break:break-all;">
             <%= vm[:hostname] %>
           </td>
-          <td>
+          <td style="word-break:break-all;">
             <%= @my_vm_logins[vm[:uuid]].andand.compact || [] %>
           </td>
         </tr>