11789: Merge branch 'master' into 11789-arvput-exclude-flag
[arvados.git] / apps / workbench / app / views / users / home.html.erb
index d221db9a8df1c6a262f6d277b5c02c11cf557207..8d212cd52cab459b14eba8d5d5876de3ddc9db21 100644 (file)
@@ -1,73 +1,5 @@
-<% content_for :head do %>
-    <style>
-      .dash-list {
-        padding: 9px 0;
-      }
-      .dash-list>ul>li>a>span {
-      min-width: 1.5em;
-      margin-left: auto;
-      margin-right: auto;
-      }
-      .job-table {
-      white-space: nowrap;
-      table-layout: fixed;
-      }
-      .job-table td {
-      overflow: hidden;
-      overflow-x: hidden;
-      text-overflow: ellipsis;
-      }
-      .centerme {
-      margin-left: auto;
-      margin-right: auto;
-      text-align: center;
-      }
-      .bigfatnumber {
-      font-size: 4em;
-      font-weight: bold;
-      }
-      .dax {
-      max-width: 10%;
-      margin-right: 1em;
-      float: left
-      }
-      .daxalert {
-      overflow: hidden;
-      }
-    </style>
-<% end %>
+<%# Copyright (C) The Arvados Authors. All rights reserved.
 
-<div class="container-fluid">
+SPDX-License-Identifier: AGPL-3.0 %>
 
-  <div class="span3 pull-right">
-    <br/>
-
-    <div class="well">
-<% if current_user.andand.is_active %>
-  <p>Your account status:<br/>
-    <strong>Active</strong></p>
-<% elsif current_user %>
-      <p>Your account status:<br/>
-       <strong>New / inactive</strong></p>
-      <p>
-       Your account must be activated by an Arvados administrator.  If this
-       is your first time accessing Arvados and would like to request
-       access, or you believe you are seeing the page in error, please 
-       <%= link_to "contact us", Rails.configuration.activation_contact_link %>.  
-       You should receive an email at the address you used to log in when
-       your account is activated.
-      </p>
-      <p>
-       <%= link_to raw('Contact us &#x2709;'),
-           Rails.configuration.activation_contact_link, class: "btn btn-primary" %></p>
-<% end %>
-    </div>
-
-    <%= render :partial => 'notifications' %>
-  </div>
-  
-  <div class="span8">
-    <%= render :partial => 'tables' %>
-  </div>
-
-</div>
+<%= render :partial => 'home' %>