Updated strings and added a bit of styling (#692)

This commit is contained in:
farhatahmad 2019-07-24 13:42:46 -04:00 committed by Jesus Federico
parent 9057615784
commit 453e6b7c96
4 changed files with 14 additions and 10 deletions

View File

@ -167,3 +167,7 @@ table {
} }
} }
} }
.cursor-pointer{
cursor: pointer;
}

View File

@ -33,12 +33,12 @@
</div> </div>
<div class="input-icon mb-2"> <div class="input-icon mb-2">
<span onclick="generateAccessCode()" class="input-icon-addon allow-icon-click"> <span onclick="generateAccessCode()" class="input-icon-addon allow-icon-click cursor-pointer">
<i class="fas fa-dice"></i> <i class="fas fa-dice"></i>
</span> </span>
<%= f.label :access_code, t("modal.create_room.access_code_placeholder"), id: "create-room-access-code", class: "form-control" %> <%= f.label :access_code, t("modal.create_room.access_code_placeholder"), id: "create-room-access-code", class: "form-control" %>
<%= f.hidden_field :access_code %> <%= f.hidden_field :access_code %>
<span onclick="ResetAccessCode()" class="input-icon-addon allow-icon-click"> <span onclick="ResetAccessCode()" class="input-icon-addon allow-icon-click cursor-pointer">
<i class="far fa-trash-alt"></i> <i class="far fa-trash-alt"></i>
</span> </span>
</div> </div>
@ -47,7 +47,7 @@
<label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block"> <label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
<span class="custom-switch-description"><%= t("modal.room_settings.mute")%></span> <span class="custom-switch-description"><%= t("modal.room_settings.mute")%></span>
<%= f.check_box :mute_on_join, class: "custom-switch-input", checked: false %> <%= f.check_box :mute_on_join, class: "custom-switch-input", checked: false %>
<span class="custom-switch-indicator float-right"></span> <span class="custom-switch-indicator float-right cursor-pointer"></span>
</label> </label>
<% end %> <% end %>
@ -55,7 +55,7 @@
<label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block"> <label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
<span class="custom-switch-description"><%= t("modal.room_settings.require_approval")%></span> <span class="custom-switch-description"><%= t("modal.room_settings.require_approval")%></span>
<%= f.check_box :require_moderator_approval, class: "custom-switch-input", checked: false %> <%= f.check_box :require_moderator_approval, class: "custom-switch-input", checked: false %>
<span class="custom-switch-indicator float-right"></span> <span class="custom-switch-indicator float-right cursor-pointer"></span>
</label> </label>
<% end %> <% end %>
@ -63,14 +63,14 @@
<label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block"> <label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
<span class="custom-switch-description"><%= t("modal.room_settings.start")%></span> <span class="custom-switch-description"><%= t("modal.room_settings.start")%></span>
<%= f.check_box :anyone_can_start, class: "custom-switch-input", checked: false %> <%= f.check_box :anyone_can_start, class: "custom-switch-input", checked: false %>
<span class="custom-switch-indicator float-right"></span> <span class="custom-switch-indicator float-right cursor-pointer"></span>
</label> </label>
<% end %> <% end %>
<label id="auto-join-label" class="create-only custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block"> <label id="auto-join-label" class="create-only custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
<span class="custom-switch-description"><%= t("modal.create_room.auto_join") %></span> <span class="custom-switch-description"><%= t("modal.create_room.auto_join") %></span>
<%= f.check_box :auto_join, class: "custom-switch-input", checked: false %> <%= f.check_box :auto_join, class: "custom-switch-input", checked: false %>
<span class="custom-switch-indicator float-right"></span> <span class="custom-switch-indicator float-right cursor-pointer"></span>
</label> </label>
<div class="mt-4"> <div class="mt-4">
<%= f.submit t("modal.create_room.create"), id: "create-room-submit", class: "create-only btn btn-primary btn-block" %> <%= f.submit t("modal.create_room.create"), id: "create-room-submit", class: "create-only btn btn-primary btn-block" %>

View File

@ -63,7 +63,7 @@
<div class="form-inline"> <div class="form-inline">
<label class="custom-switch"> <label class="custom-switch">
<%= f.check_box :accepted_terms, class: "custom-switch-input form-control #{form_is_invalid?(@user, :accepted_terms)}", placeholder: t("signup.password_confirm") %> <%= f.check_box :accepted_terms, class: "custom-switch-input form-control #{form_is_invalid?(@user, :accepted_terms)}", placeholder: t("signup.password_confirm") %>
<span class="custom-switch-indicator"></span> <span class="custom-switch-indicator cursor-pointer"></span>
</label> </label>
<%= f.label :accepted_terms, t("terms.accept", href: link_to(t("terms.title"), terms_path, target: "_blank", class: "ml-1 text-blue")).html_safe, class: "ml-1" %> <%= f.label :accepted_terms, t("terms.accept", href: link_to(t("terms.title"), terms_path, target: "_blank", class: "ml-1 text-blue")).html_safe, class: "ml-1" %>
<div class="invalid-feedback d-block"><%= @user.errors.full_messages_for(:accepted_terms).first %></div> <div class="invalid-feedback d-block"><%= @user.errors.full_messages_for(:accepted_terms).first %></div>

View File

@ -151,8 +151,8 @@ en:
confirmation: doesn't match %{attribute} confirmation: doesn't match %{attribute}
inclusion: is not included in the list inclusion: is not included in the list
no_provider: no_provider:
message: The customer you provided doesn't have Greenlight configured message: The site you are trying to access is not enabled
help: Please contact Blindside Networks to setup Greenlight help: Please contact your system administrator to setup Greenlight
not_found: not_found:
message: Sorry! The page you are looking for does not exist. message: Sorry! The page you are looking for does not exist.
help: Is it possible its been removed? help: Is it possible its been removed?
@ -384,7 +384,7 @@ en:
invite_participants: Invite Participants invite_participants: Invite Participants
join: Join join: Join
last_session: Last session on %{session} last_session: Last session on %{session}
login: Login login: Enter
owner: Owner owner: Owner
no_sessions: This room has no sessions, yet! no_sessions: This room has no sessions, yet!
recordings: Room Recordings recordings: Room Recordings