[ARVADOS] created: 1f20939e2c8673bbd3774d6ef7e2f075a12abe5a
git at public.curoverse.com
git at public.curoverse.com
Tue Aug 11 11:00:39 EDT 2015
at 1f20939e2c8673bbd3774d6ef7e2f075a12abe5a (commit)
commit 1f20939e2c8673bbd3774d6ef7e2f075a12abe5a
Author: Manoj <jonam33 at gmail.com>
Date: Tue Aug 11 11:00:05 2015 -0400
6640: UI updates.
diff --git a/apps/workbench/app/views/application/_projects_tree_menu.html.erb b/apps/workbench/app/views/application/_projects_tree_menu.html.erb
index 4de3c23..f9a6f9f 100644
--- a/apps/workbench/app/views/application/_projects_tree_menu.html.erb
+++ b/apps/workbench/app/views/application/_projects_tree_menu.html.erb
@@ -11,15 +11,3 @@
<% end %>
</li>
<% end %>
-<li class="divider" />
-<li role="presentation" class="dropdown-header">
- Projects shared with me
-</li>
-<% shared_project_tree.each do |pnode| %>
- <% next if pnode[:object].class != Group %>
- <li>
- <%= project_link_to.call pnode do %>
- <span style="padding-left: <%= pnode[:depth]-1 %>em"></span><i class="fa fa-fw fa-share-alt" style="color:#aaa"></i> <%= pnode[:object].name %>
- <% end %>
- </li>
-<% end %>
diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb
index 2eee6a7..10c2c08 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -201,14 +201,21 @@
<span class="caret"></span>
</a>
<ul class="dropdown-menu" style="min-width: 20em" role="menu">
+ <li role="menuitem"><a href="/projects/public" role="menuitem"><i class="glyphicon fa-fw glyphicon-search"></i> Search all projects </a>
+ </li>
<% if Rails.configuration.anonymous_user_token and Rails.configuration.enable_public_projects_page %>
- <li><%= link_to 'Browse public projects', "/projects/public", class: 'btn btn-xs btn-default pull-right' %></li>
+ <li role="menuitem"><a href="/projects/public" role="menuitem"><i class="fa fa-fw fa-list"></i> Browse public projects </a>
+ </li>
<% end %>
- <li>
- <%= link_to projects_path(options: {ensure_unique_name: true}), method: :post, class: 'btn btn-xs btn-default pull-right' do %>
- <i class="fa fa-plus"></i> Add a new project
+ <li role="menuitem">
+ <%= link_to projects_path(options: {ensure_unique_name: true}), role: 'menu-item', method: :post do %>
+ <i class="fa fa-fw fa-plus"></i> Create a new project
<% end %>
</li>
+ <li role="presentation" class="divider"></li>
+ <li role="presentation" class="dropdown-header">
+ My projects
+ </li>
<%= render partial: "projects_tree_menu", locals: {
:project_link_to => Proc.new do |pnode, &block|
link_to(project_path(pnode[:object].uuid),
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list