diff --git a/app/views/application/_piwik.html.erb b/app/views/application/_piwik.html.erb new file mode 100644 index 0000000..9c84f01 --- /dev/null +++ b/app/views/application/_piwik.html.erb @@ -0,0 +1,16 @@ + + + + diff --git a/app/views/application/index.html.erb b/app/views/application/index.html.erb index 669e81d..df09f92 100644 --- a/app/views/application/index.html.erb +++ b/app/views/application/index.html.erb @@ -1,61 +1,63 @@

  Welcome

Welcome to GRNET Archiving as a Service (AaaS)

If you are new to the service, take some time to explore its features in the hyperlink provided at the end of this page.

Service's procedures, requirements and features are also available.

Suggestions or problems should be reported to GRNET NOC's Helpdesk (<%= mail_to 'support@grnet.gr', 'support at grnet.gr' %>).

Achiving as a Service

  Login

<%= link_to 'ViMa User', vima_path(vima: 'vima'), method: :post, role: :button, class: 'btn btn-default btn-lg', disabled: !Archiving.settings[:vima_oauth_enabled] %>

<%= link_to 'Institutional User', institutional_path, role: :button, class: 'btn btn-default btn-lg', disabled: !Archiving.settings[:institutional_authentication_enabled] %>

<%= link_to 'Okeanos User', '', role: :button, class: 'btn btn-default btn-lg', disabled: !Archiving.settings[:okeanos_authentication_enabled] %>
+ +<%= render 'piwik' %>