add help link to center panel

This commit is contained in:
Zachary Chai 2017-02-16 17:17:55 -05:00
parent 64ac93f65f
commit 6637983d4e
5 changed files with 17 additions and 2 deletions

View File

@ -79,6 +79,10 @@ body[data-controller=landing].app-background {
max-width: 1100px;
}
.panel {
position: relative;
}
.input-spacing {
margin-top: 15px;
}
@ -173,3 +177,10 @@ a.signin-link {
.invite-join-wrapper {
position: relative;
}
.help-link {
position: absolute;
top: 0;
right: 0;
padding-right: 3px;
}

View File

@ -24,6 +24,9 @@
<%= yield %>
</div>
<%= yield :footer %>
<div class="help-link">
<%= link_to t('help'), help_url %>
</div>
</div>
</div>
</div>

View File

@ -76,6 +76,7 @@ en-US:
setting_up_audio: Setting Up Audio
viewer_overview: Viewer Overview
presenter_overview: Moderator/Presenter Overview
help: Help
hi_all: Hi Everyone
home_title: Welcome to BigBlueButton
invite: Invite

View File

@ -16,7 +16,7 @@
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
Rails.application.routes.draw do
get 'help/getting_started'
get 'help/getting_started', as: :help
mount ActionCable.server => '/cable'

View File

@ -2,7 +2,7 @@ require 'test_helper'
class HelpControllerTest < ActionDispatch::IntegrationTest
test "should get getting_started" do
get help_getting_started_url
get help_url
assert_response :success
end