[READY] Updates for sunsetting (#561)

* Update new.html.erb
* Update application.html.erb
This commit is contained in:
Bastian Greshake Tzovaras
2025-03-31 08:44:44 -03:00
committed by GitHub
parent 7ba7509145
commit f9a8408633
2 changed files with 13 additions and 27 deletions

View File

@@ -12,6 +12,16 @@
<body>
<%= render "layouts/navbar"%>
<div class="container-fluid warnings_container" id="alert-messages">
<div class="warning__alert alert alert-danger text-center center-block" data-dismiss="alert">
<button type="button" class="close" data-dismiss="alert">x</button>
<strong>
openSNP is sunsetting, we will remove this website and delete all data on April 30, 2025.
You can <a href="https://tzovar.as/sunsetting-opensnp/">read more about the reasons here</a>.
</strong>
</div>
</div>
<%if current_user %>
<div id="help_block" class="container">
<% if current_user.display_help_header? %>

View File

@@ -9,33 +9,9 @@
<%=render "static/disclaimer"%>
</div>
<div class="col-md-4 col-md-offset-1 well signup__form">
<%= form_for @user, :html => {:class => "form"} do |f| %>
<div class="form-group">
<%= f.label :name %>
<%= f.text_field :name , placeholder:"Username", class:"form-control"%>
</div>
<div class="form-group">
<%= f.label :email %>
<%= f.text_field :email, class: "form-control", placeholder: "Email" %>
</div>
<div class="form-group">
<%= f.label :password %>
<%= f.password_field :password, class: "form-control", placeholder: "Password" %>
</div>
<div class="form-group">
<%= f.label :password_confirmation, "Confirmation" %>
<%= f.password_field :password_confirmation, class: "form-control", placeholder: "Confirm your password" %>
</div>
<div class="checkbox">
<label>
<%= check_box_tag(:read, :type => "checkbox") %>
I understand the warning and I am willing to take these risks.
</label>
</div>
<p class="signup__recaptcha"><%= recaptcha_tags %></p>
<%= f.submit :class => "btn btn-default btn-lg"%>
<% end %>
<p class="signup__advise">Already a user? Log in now!</p>
<b>
openSNP will sunset on April 30, 2025. Due to this we already now don't allow new registrations any longer. Existing users can log in as before.
</b>
</div>
</div>
</div>