summaryrefslogtreecommitdiff
path: root/app/views/page/conference.html.haml
blob: 2fdc043215e4470d0edde597c26aefbccceea6d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
- conf_call_topic = "The next big thing"
- content_for :title, "Conference Call \u2013 Topic: #{conf_call_topic}"


%section.conference
  
  %section.panel.speakers.first
    %header
      %h3 Speakers
    ~# Naming this class message, since when you add or chat you're sending
    ~# a message to the server.
    %form.message
      %input{:placeholder => '# '}
    .actors
      - 2.times do
        .actor
          .info
            - user = current_user  #FIXME
            - avatar_url = user.image_url(:mini) || 'stubs/user-36x.jpg'
            = image_tag avatar_url.to_s, :class => 'display', :alt => "[ ]"
            %span.name Fake Stefan
            %span.status Joined at 03:00
          .voice-actions
            %a.make.listener{ :href => '#', :title => "Make listener" } Make listener
            %a.voice.unmuted{ :href => '#', :title => "Mute" } Mute
            %a.remove{ :href => '#', :title => "Remove from conference" } Remove

      
  %section.panel.listeners
    %header
      %h3 Listeners
    ~# Naming this class message, since when you add or chat you're sending
    ~# a message to the server.
    %form.message
      %input{:placeholder => '# '}
    .actors
      - 5.times do
        .actor
          .info
            - user = current_user  #FIXME
            - avatar_url = user.image_url(:mini) || 'stubs/user-36x.jpg'
            = image_tag avatar_url.to_s, :class => 'display', :alt => "[ ]"
            %span.name Fake Stefan
            %span.status Joined at 03:00
          .voice-actions
            %a.make.speaker{ :href => '#', :title => "Make speaker" } Make speaker
            %a.voice.unmuted{ :href => '#', :title => "Mute" } Mute
            %a.remove{ :href => '#', :title => "Remove from conference" } Remove
        
      
  %section.panel.log.last
    %header
      %h3 Log
    ~# Naming this class message, since when you add or chat you're sending
    ~# a message to the server.
    %form.message
      %input{:placeholder => 'Write a Message...'}
    .messages
      %div
        %span.name Mario:
        %span.content Sorry for the Delay!
      %div.status
        %span.name 03:11:
        %span.content Fake Stefan is now a Speaker.
      %div.status
        %span.name 03:10:
        %span.content Stefan Wintermeyer Left.
      %div
        %span.name Stefan:
        %span.content Hello World.
      %div.status
        %span.name 03:00:
        %span.content Stefan Wintermeyer Joined.
      %div
        %span.name Herpiti Derp:
        %span.content Cool Conference Room!
      %div
        %span.name Pamela:
        %span.content I'm here to sing along.