forked from External/greenlight
		
	initial commit
This commit is contained in:
		
							
								
								
									
										21
									
								
								app/views/shared/_center_panel.html.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								app/views/shared/_center_panel.html.erb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
<div class="center-panel">
 | 
			
		||||
  <div class="row">
 | 
			
		||||
    <div class="center-block center-panel-size col-xs-12">
 | 
			
		||||
      <div class="panel panel-default">
 | 
			
		||||
        <div class="panel-body">
 | 
			
		||||
          <% if bigbluebutton_endpoint_default? %>
 | 
			
		||||
            <div class="panel-alert alert alert-danger"><%= t('warning_bigbluebutton_endpoint_default') %></div>
 | 
			
		||||
          <% end %>
 | 
			
		||||
          <h3 class="title-wrapper text-center">
 | 
			
		||||
            <%= yield :title %>
 | 
			
		||||
          </h3>
 | 
			
		||||
          <%= yield %>
 | 
			
		||||
        </div>
 | 
			
		||||
        <%= yield :footer %>
 | 
			
		||||
        <div class="help-link">
 | 
			
		||||
          <%= link_to t('help'), 'http://bigbluebutton.org/videos/', target: '_blank' %>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										3
									
								
								app/views/shared/_meeting_name_form.html.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								app/views/shared/_meeting_name_form.html.erb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
<div class="meeting-name-form-wrapper">
 | 
			
		||||
  <input type="text" class="form-control meeting-name" placeholder="Enter meeting name." maxlength="<%= meeting_name_limit %>">
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										42
									
								
								app/views/shared/_meeting_url.html.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								app/views/shared/_meeting_url.html.erb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
<div <%= "hidden" if hidden %> class="meeting-url-wrapper">
 | 
			
		||||
  <div class="meeting-url-group">
 | 
			
		||||
    <input type="text" class="form-control meeting-url"/>
 | 
			
		||||
  </div>
 | 
			
		||||
 | 
			
		||||
  <% if current_user %>
 | 
			
		||||
    <% body = t('meeting_invite.signed_in.body', user: current_user.name) %>
 | 
			
		||||
    <% subject = t('meeting_invite.signed_in.subject', user: current_user.name) %>
 | 
			
		||||
  <% else %>
 | 
			
		||||
    <% body = t('meeting_invite.not_signed_in.body') %>
 | 
			
		||||
    <% subject = t('meeting_invite.not_signed_in.subject') %>
 | 
			
		||||
  <% end %>
 | 
			
		||||
 | 
			
		||||
  <div class="meeting-url-button-group center-block">
 | 
			
		||||
    <button type="button" class="btn btn-default meeting-url-copy has-tooltip"
 | 
			
		||||
      title="<%= t('url_copy_explanation') %>"
 | 
			
		||||
      data-copied-hint="<%= t('copied') %>"
 | 
			
		||||
      data-copy-error="<%= t('copy_error') %>"
 | 
			
		||||
      data-copy-hint="<%= t('url_copy_explanation') %>"
 | 
			
		||||
    >
 | 
			
		||||
      <%= icon('clipboard') %>
 | 
			
		||||
    </button>
 | 
			
		||||
 | 
			
		||||
    <button type="button" class="btn btn-default meeting-invite has-tooltip"
 | 
			
		||||
      title="<%= t('meeting_invite.explanation') %>"
 | 
			
		||||
      data-invite-body="<%= body %>"
 | 
			
		||||
      data-invite-subject="<%= subject %>"
 | 
			
		||||
    >
 | 
			
		||||
      <%= icon('envelope-o') %>
 | 
			
		||||
    </button>
 | 
			
		||||
 | 
			
		||||
    <button type="button" class="btn btn-default meeting-url-qrcode has-tooltip"
 | 
			
		||||
      title="<%= t('qrcode.explanation') %>"
 | 
			
		||||
      data-qrcode-generated-hint="<%= t('qrcode.generated') %>"
 | 
			
		||||
      data-qrcode-generate-error="<%= t('qrcode.generate_error') %>"
 | 
			
		||||
      data-qrcode-generate-hint="<%= t('qrcode.explanation') %>"
 | 
			
		||||
    >
 | 
			
		||||
      <%= icon('qrcode') %>
 | 
			
		||||
    </button>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="meeting-url-qrcode-group center-block has-tooltip"></div>
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										17
									
								
								app/views/shared/_signup.html.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								app/views/shared/_signup.html.erb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
<span class="signup">
 | 
			
		||||
  <% if current_user %>
 | 
			
		||||
  <div class="text-center">
 | 
			
		||||
    <% if @main_room %>
 | 
			
		||||
      <span><%= t('logged_in_description_html', link: link_to(current_user.name, room_path(current_user))) %></span>
 | 
			
		||||
    <% else %>
 | 
			
		||||
      <%= link_to(t('return_to_room'), room_path(current_user)) %>
 | 
			
		||||
    <% end %>
 | 
			
		||||
    <div><%= link_to t('logout'), user_logout_url %></div>
 | 
			
		||||
  </div>
 | 
			
		||||
  <% else %>
 | 
			
		||||
    <div class="text-center">
 | 
			
		||||
      <span><%= t('login_description') %></span>
 | 
			
		||||
      <div><%= link_to t('login'), user_login_url %></div>
 | 
			
		||||
    </div>
 | 
			
		||||
  <% end %>
 | 
			
		||||
</span>
 | 
			
		||||
							
								
								
									
										7
									
								
								app/views/shared/_title.html.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								app/views/shared/_title.html.erb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
<% title_class ||= '' %>
 | 
			
		||||
<div class="title-wrapper text-center">
 | 
			
		||||
  <div class="title">
 | 
			
		||||
    <h2 class="<%= title_class if title_class %>"><%= title %></h2>
 | 
			
		||||
    <%= yield %>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user