2018-08-28 16:18:58 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="contacts-container text-color">
|
|
|
|
<div class="contacts half">
|
2018-08-31 14:06:42 +00:00
|
|
|
<div class="contacts-header">
|
|
|
|
<h2>Contacts</h2>
|
|
|
|
|
|
|
|
<%= link_to new_connection_path do %>
|
|
|
|
<i class="fas fa-plus-square"></i>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
2018-08-30 02:00:09 +00:00
|
|
|
<% current_user.contacts.each do |contact| %>
|
|
|
|
<%= render "pages/contact", contact: contact %>
|
2018-08-28 16:18:58 +00:00
|
|
|
<% end %>
|
2018-08-31 14:06:42 +00:00
|
|
|
|
2018-08-28 16:18:58 +00:00
|
|
|
</div>
|
|
|
|
<div class="video-feed half">
|
|
|
|
<div class="video-content">
|
2018-08-28 19:36:56 +00:00
|
|
|
<!-- <video id="contacts-video" autoplay=""></video> -->
|
2018-08-28 16:18:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-08-30 02:00:09 +00:00
|
|
|
<div id="my-user-id" data-user-id="<%= current_user.id %>"></div>
|
2018-08-30 13:18:26 +00:00
|
|
|
|
|
|
|
<form action="/accept_call" method="post">
|
|
|
|
<input type="hidden" id="chat-room-id" name="chat_room_id" value=""/>
|
|
|
|
<input type="submit" id="accept-button" class="btn btn-primary" id="accept-button" style="display: none;" value="ACCEPT CALL"/>
|
|
|
|
</form>
|
|
|
|
|
2018-08-30 02:00:09 +00:00
|
|
|
<%= javascript_pack_tag 'notifications' %>
|
2018-08-28 16:18:58 +00:00
|
|
|
|
2018-08-30 13:18:26 +00:00
|
|
|
|