summaryrefslogtreecommitdiff
path: root/templates/apps/room
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-10-08 14:03:52 +0200
committerLeif Johansson <leifj@sunet.se>2012-10-08 14:04:14 +0200
commitf44257450f7045b75e8a7dfa1a6115c12656bc80 (patch)
tree4434d2afaa9689c54d3b4d0acee603610da8d69e /templates/apps/room
parentbb3a44676ff32378bb6197685a3629a6f92c2ab5 (diff)
allow the user to choose weather to use the launcher or not
Diffstat (limited to 'templates/apps/room')
-rw-r--r--templates/apps/room/launch.html21
1 files changed, 13 insertions, 8 deletions
diff --git a/templates/apps/room/launch.html b/templates/apps/room/launch.html
index 204345d..54b30c4 100644
--- a/templates/apps/room/launch.html
+++ b/templates/apps/room/launch.html
@@ -1,7 +1,5 @@
{% extends "base.html" %}
{% load datehumanize %}
-{% block widgets %}
-{% endblock %}
{% block content %}
<div class="page-header">
<h1>Entering {{room.name}}</h1>
@@ -24,11 +22,18 @@
</div>
<br/>
<div>
- <a class="btn btn-large" href="/rooms#{{room.id}}">Cancel</a>
- {%if room.nhosts == 0 %}
- <a class="btn btn-large btn-success" href="/accounts/login-federated?next=/promote/{{room.id}}">Enter as Host</a>
- {% endif %}
- <a class="btn btn-large btn-primary" href="/launch/{{room.id}}">Enter as Participant</a>
-
+ <form id="launch" method="GET">
+ <a class="btn btn-large" href="/rooms#{{room.id}}">Cancel</a>
+ {%if room.nhosts == 0 %}
+ <a class="btn btn-large btn-success submitter" data-form="#launch" href="/promote/{{room.id}}">Enter as Host</a>
+ {% endif %}
+ <a class="btn btn-large btn-primary submitter" data-form="#launch" href="/launch/{{room.id}}">Enter as Participant</a>
+ <br/>
+ <div>
+ <span class="inline" style="vertical-align: bottom;">Try to use add-in? </span>
+ <label class="radio inline" for="launcher_true"><input id="launcher_true" checked="checked" type="radio" name="launcher" value="true"/>Yes</label>
+ <label class="radio inline" for="launcher_false"><input id="launcher_false" type="radio" name="launcher" value="true"/>No</label>
+ </div>
+ </form>
</div>
{% endblock %} \ No newline at end of file