]> git.parisson.com Git - teleforma.git/commitdiff
Fix iframe margin
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 26 Jan 2018 00:37:23 +0000 (01:37 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 26 Jan 2018 00:37:23 +0000 (01:37 +0100)
teleforma/exam/templates/exam/script_detail.html

index 0506da6acbc38fc6e0a3b6afb67cef1ca5de2d74..97d919c32deb2a5829655a2d31658b347f6ba015 100644 (file)
 <br /><br />
 <div class="media">
  <div class="script">
-    <iframe id="box-iframe" style="position:fixed; top:14%; left:0px; bottom:0px; right:0px; width:100%; height:85%; border:none; margin:0; padding:0; z-index:0;" src="{% if user.quotas.all or user.is_superuser %}{{ script_service_url }}?url={{ script.safe_url }}&username=Examinator&uuid={{ script.uuid }}{% else %}{{ script_service_url }}?url={{ script.safe_url }}&username={{ user.username }}&uuid={{ script.uuid }}{% endif %}">
+    <iframe id="box-iframe" style="position:fixed; top:11%; left:0px; bottom:0px; right:0px; width:100%; height:85%; border:none; margin:0; padding:0; z-index:0;" src="{% if user.quotas.all or user.is_superuser %}{{ script_service_url }}?url={{ script.safe_url }}&username=Examinator&uuid={{ script.uuid }}{% else %}{{ script_service_url }}?url={{ script.safe_url }}&username={{ user.username }}&uuid={{ script.uuid }}{% endif %}">
     </iframe>
  </div>
 </div>