[ARVADOS] updated: 1cdeb90e271f2a0c50d3552ff702b8e6f9489c74
Git user
git at public.curoverse.com
Wed May 31 11:23:08 EDT 2017
Summary of changes:
.../views/trash_items/_show_trash_items.html.erb | 77 ++++++++++++++--------
.../workbench/app/views/trash_items/index.html.erb | 25 -------
2 files changed, 50 insertions(+), 52 deletions(-)
via 1cdeb90e271f2a0c50d3552ff702b8e6f9489c74 (commit)
from fc10c21d75b15e36c4f861fdd17bf985ca83d888 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 1cdeb90e271f2a0c50d3552ff702b8e6f9489c74
Author: radhika <radhika at curoverse.com>
Date: Wed May 31 11:22:43 2017 -0400
9587: tab line buttons in trash page
diff --git a/apps/workbench/app/views/trash_items/_show_trash_items.html.erb b/apps/workbench/app/views/trash_items/_show_trash_items.html.erb
index f069527..2b777fa 100644
--- a/apps/workbench/app/views/trash_items/_show_trash_items.html.erb
+++ b/apps/workbench/app/views/trash_items/_show_trash_items.html.erb
@@ -1,29 +1,52 @@
-<%= form_tag({}, {id: "trash_items"}) do |f| %>
- <table id="trash-index" class="topalign table table-condensed table-fixedlayout">
- <colgroup>
- <col width="5%" />
- <col width="15%" />
- <col width="10%" />
- <col width="10%" />
- <col width="30%" />
- <col width="25%" />
- <col width="5%" />
- </colgroup>
+<div class="container">
+ <div class="col-md-6 pull-left">
+ <div class="btn-group btn-group-sm">
+ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
+ <ul class="dropdown-menu" role="menu">
+ <li><%= link_to "Un-trash selected items", '#',
+ method: :post,
+ 'data-href' => untrash_items_trash_items_path,
+ 'data-selection-param-name' => 'selection[]',
+ 'data-selection-action' => 'untrash-items',
+ 'data-toggle' => 'dropdown'
+ %></li>
+ </ul>
+ </div>
+ </div>
+ <div class="col-md-6 pull-right">
+ <input type="text" class="form-control filterable-control recent-trash-items"
+ placeholder="Search trash"
+ data-filterable-target="#recent-trash-items"
+ value="<%= params[:search] %>" />
+ </div>
- <thead>
- <tr class="contain-align-left">
- <th></th>
- <th>Name</th>
- <th>Created at</th>
- <th>Trashed at</th>
- <th>Contents</th>
- <th>Tags</th>
- <th></th>
- </tr>
- </thead>
+ <div>
+ <table id="trash-index" class="topalign table table-condensed table-fixedlayout">
+ <colgroup>
+ <col width="5%" />
+ <col width="15%" />
+ <col width="10%" />
+ <col width="10%" />
+ <col width="30%" />
+ <col width="25%" />
+ <col width="5%" />
+ </colgroup>
- <tbody data-infinite-scroller="#recent-trash-items" id="recent-trash-items"
- data-infinite-content-href="<%= url_for partial: :trash_rows %>" >
- </tbody>
- </table>
-<% end %>
+ <thead>
+ <tr class="contain-align-left">
+ <th></th>
+ <th>Name</th>
+ <th>Created at</th>
+ <th>Trashed at</th>
+ <th>Contents</th>
+ <th>Tags</th>
+ <th></th>
+ </tr>
+ </thead>
+
+ <tbody data-infinite-scroller="#recent-trash-items" id="recent-trash-items"
+ data-infinite-content-href="<%= url_for partial: :trash_rows %>" >
+ </tbody>
+ </table>
+ </div>
+</div>
diff --git a/apps/workbench/app/views/trash_items/index.html.erb b/apps/workbench/app/views/trash_items/index.html.erb
index 673ffdc..bd55a3f 100644
--- a/apps/workbench/app/views/trash_items/index.html.erb
+++ b/apps/workbench/app/views/trash_items/index.html.erb
@@ -1,26 +1 @@
-<% content_for :tab_line_buttons do %>
- <div class="input-group">
- <div class="col-md-6 pull-left">
- <div class="btn-group btn-group-sm">
- <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
- <ul class="dropdown-menu" role="menu">
- <li><%= link_to "Un-trash selected items", '#',
- method: :post,
- 'data-href' => untrash_items_trash_items_path,
- 'data-selection-param-name' => 'selection[]',
- 'data-selection-action' => 'untrash-items',
- 'data-toggle' => 'dropdown'
- %></li>
- </ul>
- </div>
- </div>
- <div class="col-md-6 pull-right">
- <input type="text" class="form-control filterable-control recent-trash-items"
- placeholder="Search trash"
- data-filterable-target="#recent-trash-items"
- value="<%= params[:search] %>" />
- </div>
- </div>
-<% end %>
-
<%= render partial: 'show_trash_items' %>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list