Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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? %>
Expand Down
30 changes: 3 additions & 27 deletions app/views/users/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Loading