OpenSlides/openslides/core/static/templates/projector-container.html

53 lines
2.0 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2016-12-19 13:26:07 +01:00
<html lang="{{ selectedLanguage }}" ng-controller="LanguageCtrl" class="no-js">
<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 &ndash; Projector</title> <!-- avoid {{ ... }} in title while angular is not loaded -->
<title ng-if="projectorId!==undefined">OpenSlides &ndash; {{ 'Projector' | translate }} {{ projectorId }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<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-12-19 13:26:07 +01:00
<div class="pContainer" ng-controller="ProjectorContainerCtrl">
<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>
2017-07-26 14:30:43 +02:00
<div id="iframewrapper" ng-hide="showError">
<iframe id="iframe" ng-src="{{ '/real-projector/' + projectorId + '/'}}" frameborder="0"></iframe>
<div id="iframeoverlay"></div>
</div>
2016-09-12 11:05:34 +02:00
2017-07-26 14:30:43 +02:00
<div class="error" ng-show="showError">
2016-09-12 11:05:34 +02:00
<p>{{ error | translate }}</p>
</div>
</div>
</div>
2016-09-09 00:50:27 +02:00
<script src="/webclient/projector/"></script>