summaryrefslogtreecommitdiff
path: root/app/views/page
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:01:45 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:01:45 +0100
commitb80bd744ad873f6fc43018bc4bfb90677de167bd (patch)
tree072c4b0e33d442528555b82c415f5e7a1712b2b0 /app/views/page
parent3e706c2025ecc5523e81ad649639ef2ff75e7bac (diff)
Start of GS5.
Diffstat (limited to 'app/views/page')
-rw-r--r--app/views/page/conference.html.haml80
-rw-r--r--app/views/page/index.de.html.haml16
-rw-r--r--app/views/page/index.html.haml16
3 files changed, 112 insertions, 0 deletions
diff --git a/app/views/page/conference.html.haml b/app/views/page/conference.html.haml
new file mode 100644
index 0000000..061dfd1
--- /dev/null
+++ b/app/views/page/conference.html.haml
@@ -0,0 +1,80 @@
+- conf_call_topic = "The next big thing"
+- 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.
+
diff --git a/app/views/page/index.de.html.haml b/app/views/page/index.de.html.haml
new file mode 100644
index 0000000..2928319
--- /dev/null
+++ b/app/views/page/index.de.html.haml
@@ -0,0 +1,16 @@
+- title "Gemeinschaft #{GEMEINSCHAFT_VERSION}"
+
+%div
+ %h3 Aktueller Mandant
+ - if current_user && current_user.current_tenant
+ %strong= current_user.current_tenant
+ - else
+ %strong= "(none)"
+
+%div
+ %h3 Aktuelle Gruppenzugehörigkeiten
+ %ul
+ - (current_user.try(:user_groups) || []).each do |group|
+ %li
+ %strong= "#{group.name}"
+ = "(aus Mandant: %s)" % group.tenant
diff --git a/app/views/page/index.html.haml b/app/views/page/index.html.haml
new file mode 100644
index 0000000..9621395
--- /dev/null
+++ b/app/views/page/index.html.haml
@@ -0,0 +1,16 @@
+- title "Gemeinschaft #{GEMEINSCHAFT_VERSION}"
+
+%div
+ %h3 Current tenant
+ - if current_user && current_user.current_tenant
+ %strong= current_user.current_tenant
+ - else
+ %strong= "(none)"
+
+%div
+ %h3 Current user groups
+ %ul
+ - (current_user.try(:user_groups) || []).each do |group|
+ %li
+ %strong= "#{group.name}"
+ = "(from tenant: %s)" % group.tenant