2016-08-25 16:40:34 +02:00
|
|
|
<!DOCTYPE html>
|
2016-12-19 13:26:07 +01:00
|
|
|
<html lang="{{ selectedLanguage }}" ng-controller="LanguageCtrl" class="no-js">
|
2016-08-25 16:40:34 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<base href="/">
|
2016-11-28 15:04:55 +01:00
|
|
|
<title ng-if="projectorId===undefined">OpenSlides – Projector</title> <!-- avoid {{ ... }} in title while angular is not loaded -->
|
|
|
|
<title ng-if="projectorId!==undefined">OpenSlides – {{ 'Projector' | translate }} {{ projectorId }}</title>
|
2016-09-18 00:45:00 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
2016-08-25 16:40:34 +02:00
|
|
|
<link rel="stylesheet" href="static/css/openslides-libs.css">
|
|
|
|
<link rel="stylesheet" href="static/css/projector.css">
|
|
|
|
<link rel="icon" href="/static/img/favicon.png">
|
|
|
|
<script src="static/js/openslides-libs.js"></script>
|
2016-09-09 00:50:27 +02:00
|
|
|
<script src="static/js/openslides.js"></script>
|
|
|
|
<script src="static/js/openslides-templates.js"></script>
|
2016-08-25 16:40:34 +02:00
|
|
|
|
2016-12-19 13:26:07 +01:00
|
|
|
<div class="pContainer" ng-controller="ProjectorContainerCtrl">
|
2016-08-25 16:40:34 +02:00
|
|
|
<div>
|
|
|
|
<style>
|
|
|
|
.pContainer #iframe {
|
|
|
|
width: {{ projectorWidth }}px;
|
|
|
|
height: {{ projectorHeight }}px;
|
|
|
|
-moz-transform: scale({{ scale }});
|
|
|
|
-webkit-transform: scale({{ scale }});
|
|
|
|
-o-transform: scale({{ scale }});
|
|
|
|
transform: scale({{ scale }});
|
|
|
|
/* IE8+ - must be on one line, unfortunately */
|
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11={{ scale }}, M12=0, M21=0, M22={{ scale }}, SizingMethod='auto expand')";
|
|
|
|
}
|
|
|
|
|
|
|
|
.pContainer #iframewrapper {
|
|
|
|
width: {{ iframeWidth }}px;
|
|
|
|
height: {{ iframeHeight }}px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pContainer #iframeoverlay {
|
|
|
|
width: {{ iframeWidth }}px;
|
|
|
|
height: {{ iframeHeight }}px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2016-09-12 11:05:34 +02:00
|
|
|
<div id="iframewrapper" ng-hide="error">
|
2016-11-28 15:04:55 +01:00
|
|
|
<iframe id="iframe" ng-src="{{ '/real-projector/' + projectorId }}" frameborder="0"></iframe>
|
2016-08-25 16:40:34 +02:00
|
|
|
<div id="iframeoverlay"></div>
|
|
|
|
</div>
|
2016-09-12 11:05:34 +02:00
|
|
|
|
|
|
|
<div class="error" ng-show="error">
|
|
|
|
<p>{{ error | translate }}</p>
|
|
|
|
</div>
|
2016-08-25 16:40:34 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-09-09 00:50:27 +02:00
|
|
|
<script src="/webclient/projector/"></script>
|