X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2a64d9ed4228b2aa1e52a206a67c23a5ea52f3f7..e54da634282d90d4def79ea95802fbf3da68072a:/apps/workbench/app/views/users/home.html.erb diff --git a/apps/workbench/app/views/users/home.html.erb b/apps/workbench/app/views/users/home.html.erb index 2a69b06804..8d212cd52c 100644 --- a/apps/workbench/app/views/users/home.html.erb +++ b/apps/workbench/app/views/users/home.html.erb @@ -1,45 +1,5 @@ -
-
-

Setup

-
-
- SSH keys - <%= @my_ssh_keys.count %> -
- You’ll use public key authentication when logging in to a - VM or use a hosted git repository. -
- <%= link_to raw('Add/edit keys ➜'), authorized_keys_path, class: "btn #{'btn-primary' if @my_ssh_keys.empty?}" %> -
-
-
- Virtual machines - <%= @my_vm_perms.collect(&:head_uuid).uniq.count %> -
- Arvados includes virtual machines with SDKs installed and ready to use. -
- <% if @my_vm_perms.any? %> - <%= link_to raw('Show VMs ➜'), virtual_machines_path, class: "btn" %> - <% elsif @my_ssh_keys.any? %> - <%= link_to raw('Request a VM ➜'), virtual_machines_path, class: "btn btn-primary" %> - <% else %> - <%= link_to raw('Request a VM ➜'), virtual_machines_path, { :class => "btn disabled", :"data-toggle" => "tooltip", :"data-placement" => "bottom", :title => "Add an SSH public key first!" } %> - <% end %> -
-
-
- Git repositories - <%= @my_repo_perms.collect(&:head_uuid).uniq.count %> -
- In order to run jobs using your own code, you need to push your code to a git repository. We provide hosted git repositories to make this easy. -
- <% if @my_repo_perms.any? %> - <%= link_to raw('Show repositories ➜'), repositories_path, class: "btn" %> - <% elsif @my_ssh_keys.any? %> - <%= link_to raw('Request a repository ➜'), repositories_path, class: "btn btn-primary" %> - <% else %> - <%= link_to raw('Request a repository ➜'), repositories_path, { :class => "btn disabled", :"data-toggle" => "tooltip", :"data-placement" => "bottom", :title => "Add an SSH public key first!" } %> - <% end %> -
-
-
+<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + +<%= render :partial => 'home' %>