Made many buttons and titles more consistent.

This commit is contained in:
Logan Fick
2018-03-12 19:26:55 -04:00
parent 5eadded99c
commit 16a2b0fa18
22 changed files with 57 additions and 57 deletions

View File

@@ -1,10 +1,10 @@
<% title "Change Password" %>
<h1>Change password</h1>
<h1>Change Password</h1>
<%= form_for @user do |f| %>
<%= f.text_field :current_password %>
<%= f.text_field :email %>
<%= f.text_field :password %>
<%= f.text_field :password_confirmation %>
<% end %>
<% end %>

View File

@@ -7,7 +7,7 @@
%>
<%= link_to @user.name, @user %> → Edit
<h1>Edit profile</h1>
<h1>Edit Profile</h1>
<%= form_for @user do |f| %>
<table>
@@ -69,11 +69,11 @@
</tbody>
</table>
<p><%= f.submit "Save profile", class: "btn variable-size left", disabled: (!@user.confirmed? && @user.is?(current_user)) %></p>
<p><%= f.submit "Save Profile", class: "btn variable-size left", disabled: (!@user.confirmed? && @user.is?(current_user)) %></p>
<p>
<%= link_to "Edit login details", edit_login_user_path(@user), class: "btn variable-size right" %>
<%= link_to "Notification settings", edit_notifications_user_path(@user), class: "btn variable-size right" %>
<%= link_to "Website settings", edit_website_settings_user_path(@user), class: "btn variable-size right" %>
<%= link_to "Edit Login Details", edit_login_user_path(@user), class: "btn variable-size right" %>
<%= link_to "Notification Settings", edit_notifications_user_path(@user), class: "btn variable-size right" %>
<%= link_to "Website Settings", edit_website_settings_user_path(@user), class: "btn variable-size right" %>
</p>
<div class="clear"></div>

View File

@@ -1,7 +1,7 @@
<% title "Edit Login Credentials: #{@user.name}" %>
<%= link_to @user.name, @user %> → Edit Login credentials
<h1>Edit Login credentials</h1>
<h1>Edit Login Credentials</h1>
<%= form_for @user, url: update_login_user_path(@user), method: :put do |f| %>
@@ -33,6 +33,6 @@
</tr>
</tbody>
</table>
<p><%= f.submit "Save changes", class: "btn blue left" %></p>
<p><%= f.submit "Save Changes", class: "btn blue left" %></p>
<div class="clear"></div>
<% end %>
<% end %>

View File

@@ -48,6 +48,6 @@
<h3>Public Key</h1>
<p>All notification emails will be encrypted with this key if you supply it.</p>
<%= f.text_area :public_key, placeholder: "-----BEGIN PGP PUBLIC KEY BLOCK-----" %>
<p><%= f.submit "Save changes", class: "btn blue left" %></p>
<p><%= f.submit "Save Changes", class: "btn blue left" %></p>
<div class="clear"></div>
<% end %>

View File

@@ -27,7 +27,7 @@
</tr>
</tbody>
</table>
<p><%= f.submit "Save changes", class: "btn blue left" %></p>
<p><%= f.submit "Save Changes", class: "btn blue left" %></p>
<div class="clear"></div>
<% end %>
<br><br><br>

View File

@@ -1,6 +1,6 @@
<% title "Reset password" %>
<% title "Reset Password" %>
<h1>Reset password</h1>
<h1>Reset Password</h1>
<p>You lost your password? Don't do that!</p>
<p>Luckily for you, you can reset your password. Please use the command <code>/gettoken &lt;your email address&gt;</code>, then fill in the form below:</p>
<%= form_tag reset_password_users_path do |f| %>
@@ -22,5 +22,5 @@
<td><%= password_field_tag :new_password, nil, placeholder: "secret", required: true, pattern: ".{8,}", title: "minimum 8 characters", "x-moz-errormessage" => "minimum 8 characters" %></td>
</tr>
</table>
<p><%= submit_tag "Reset password", class: "btn blue" %></p>
<% end %>
<p><%= submit_tag "Reset Password", class: "btn blue" %></p>
<% end %>

View File

@@ -1,6 +1,6 @@
<% title "Sign up" %>
<% title "Sign Up" %>
<h1>Sign up</h1>
<h1>Sign Up</h1>
<%= form_for @user do |f| %>
<table>
@@ -38,7 +38,7 @@
You can find more details in our info page about <a href="/info/15">tokens and website registration</a>.
</p>
<%= f.submit "Sign up", class: "btn blue" %>
<%= f.submit "Sign Up", class: "btn blue" %>
<p>Contact us ingame if you have problems signing up!</p>
<% end %>