aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configs/conferences/gpn17/config.php7
-rw-r--r--configs/conferences/gpn17/gema-nach-hause.html53
-rw-r--r--configs/conferences/gpn17/gema-nach-hause.js36
-rw-r--r--configs/conferences/gpn17/main.less14
4 files changed, 109 insertions, 1 deletions
diff --git a/configs/conferences/gpn17/config.php b/configs/conferences/gpn17/config.php
index be6f37d..71658ea 100644
--- a/configs/conferences/gpn17/config.php
+++ b/configs/conferences/gpn17/config.php
@@ -78,6 +78,11 @@ $CONFIG['CONFERENCE'] = array(
//'BANNER_HTML' => '',
/**
+ * Zusätzlich einzubindendendes HTML
+ */
+ 'ADDITIONAL_HTML' => file_get_contents(dirname(__FILE__).'/gema-nach-hause.html'),
+
+ /**
* Link zu den Recordings
* Wird diese Zeile auskommentiert, wird der Link nicht angezeigt
*/
@@ -383,7 +388,7 @@ $CONFIG['ROOMS'] = array(
'lounge' => array(
'DISPLAY' => 'Lounge',
- 'STREAM' => 'lounge',
+ 'STREAM' => 'nope',
'PREVIEW' => false,
'TRANSLATION' => false,
diff --git a/configs/conferences/gpn17/gema-nach-hause.html b/configs/conferences/gpn17/gema-nach-hause.html
new file mode 100644
index 0000000..ec6db28
--- /dev/null
+++ b/configs/conferences/gpn17/gema-nach-hause.html
@@ -0,0 +1,53 @@
+<script src="configs/conferences/gpn17/gema-nach-hause.js"></script>
+
+
+<!-- Modal -->
+<div class="modal fade" id="gemaModal1" tabindex="-1" role="dialog" aria-labelledby="gemaModalLabel1">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+ <h2 class="modal-title" id="gemaModalLabel1">Sind Sie von der GEMA?</h2>
+ </div>
+ <div class="modal-body text-center">
+ <button type="button" class="btn btn-lg btn-default" data-gema="yes">Ja</button>
+ <button type="button" class="btn btn-lg btn-primary" data-gema="no">Nein</button>
+ </div>
+ </div>
+ </div>
+</div>
+
+
+<!-- Modal 2 -->
+<div class="modal fade" id="gemaModal2" tabindex="-1" role="dialog" aria-labelledby="gemaModalLabel2">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+ <h2 class="modal-title" id="gemaModalLabel2">Sind Sie wirklich nicht von der GEMA?</h2>
+ </div>
+ <div class="modal-body text-center">
+ <button type="button" class="btn btn-lg btn-default" data-gema="yes">Ganz sicher</button>
+ <button type="button" class="btn btn-lg btn-primary" data-gema="no">Hmmmm…</button>
+ </div>
+ </div>
+ </div>
+</div>
+
+
+
+<!-- Modal 3 -->
+<div class="modal fade" id="gemaModal3" tabindex="-1" role="dialog" aria-labelledby="gemaModalLabel3">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
+ <h2 class="modal-title" id="gemaModalLabel3">Es gibt keinen Lounge-Stream</h2>
+ </div>
+ <div class="modal-body text-center">
+ <b>Wirklich nicht!!1!</b>
+ <p>Für weitere Fragen wenden Sie sich bitte an <tt>aXJjOi8vaXJjLmhhY2tpbnQuZXUvZ3BuCg==</tt></p>
+ </div>
+ </div>
+ </div>
+</div>
diff --git a/configs/conferences/gpn17/gema-nach-hause.js b/configs/conferences/gpn17/gema-nach-hause.js
new file mode 100644
index 0000000..e049c29
--- /dev/null
+++ b/configs/conferences/gpn17/gema-nach-hause.js
@@ -0,0 +1,36 @@
+function handleLoungeStreamWhichActuallyDoesNotExist()
+{
+ function gema1() {
+ $('#gemaModal1')
+ .modal()
+ .find('.btn[data-gema=yes]').on('click', function() {
+ $('#gemaModal1').modal('hide')
+ gema3();
+ })
+ .end()
+ .find('.btn[data-gema=no]').on('click', function() {
+ $('#gemaModal1').modal('hide')
+ gema2();
+ })
+ }
+
+ function gema2() {
+ $('#gemaModal2')
+ .modal()
+ .find('.btn').on('click', function() {
+ $('#gemaModal2').modal('hide')
+ gema3();
+ })
+ }
+
+ function gema3() {
+ $('#gemaModal3').modal()
+ }
+
+ $('.room-lounge a').on('click', function(e) {
+ e.preventDefault();
+ gema1();
+ });
+}
+
+$(handleLoungeStreamWhichActuallyDoesNotExist);
diff --git a/configs/conferences/gpn17/main.less b/configs/conferences/gpn17/main.less
index 8e03239..dd573a1 100644
--- a/configs/conferences/gpn17/main.less
+++ b/configs/conferences/gpn17/main.less
@@ -1,4 +1,6 @@
@import "../../../assets/css/_structure.less";
+@import "../../../assets/css/bootstrap-3.3.2/modals.less";
+@import "../../../assets/css/bootstrap-3.3.2/close.less";
body {
background-image: url('background.png');
@@ -23,3 +25,15 @@ body {
}
.tab-pane { background-color: @gpn-shade; }
+
+.modal-backdrop {
+ bottom: 0;
+ position: fixed;
+}
+
+#gemaModal {
+ .btn {
+ padding-left: 50px;
+ padding-right: 50px;
+ }
+}