From 71cf40b9dc8b0ecacf08c5f2dd1140c2022674f9 Mon Sep 17 00:00:00 2001
From: Leif Johansson <leifj@sunet.se>
Date: Wed, 11 May 2011 15:17:03 +0200
Subject: launch page

---
 src/templates/apps/room/launch.html | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 src/templates/apps/room/launch.html

diff --git a/src/templates/apps/room/launch.html b/src/templates/apps/room/launch.html
new file mode 100644
index 0000000..cc80ca6
--- /dev/null
+++ b/src/templates/apps/room/launch.html
@@ -0,0 +1,28 @@
+{% extends "base.html" %}
+{% load datehumanize %}
+{% load prefix %}
+{% block widgets %}
+{% endblock %}
+{% block content %}
+	<h1>Entering {{room.name}}</h1>
+	<div class="ui-widget">
+		<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em; width: 80%"> 
+			<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
+				<strong>Note</strong> 
+				You are about to enter the meeting room '{{room.name}}'. 
+				{%if room.nusers == 0 %}You are the first user to enter the room. If you are hosting this meeting and are comfortable with
+				the Adobe Connect software you may press 'Enter as Host' below.
+				{%else%}
+				There are {{room.nusers}} other participants in the room.
+				{% endif %}
+			</p>
+		</div>
+	</div>
+	<br/>
+	<ul class="ilist">
+	    {%if room.nusers == 0 %}
+		<li class="button"><a href="{% prefix %}/promote/{{room.id}}">Enter as Host</a></li>
+		{% endif %}
+		<li class="button"><a href="{% prefix %}/launch/{{room.id}}">Enter</a></li>
+	</ul>
+{% endblock %}
\ No newline at end of file
-- 
cgit v1.1