Under error show header and footer show in a final item of scorm - refs CT#8360

pull/2487/head
Alex Aragon 9 years ago
parent 6dc053027d
commit 7b6d08e9cc
  1. 3
      app/Resources/public/css/base.css
  2. 2
      main/lp/lp_final_item.php
  3. 19
      main/template/default/layout/blank.tpl

@ -5899,6 +5899,9 @@ footer{
border: 1px solid #CCC !important; border: 1px solid #CCC !important;
border-top: none !important; border-top: none !important;
} }
.page-blank{
padding: 20px 30px;
}
/* CSS NEW TOP ******************************************************************************/ /* CSS NEW TOP ******************************************************************************/
/* CSS Responsive */ /* CSS Responsive */
@media (min-width: 1025px) and (max-width: 1200px) { @media (min-width: 1025px) and (max-width: 1200px) {

@ -118,7 +118,7 @@ if ($accessGranted == false) {
// Instance a new template : No page tittle, No header, No footer // Instance a new template : No page tittle, No header, No footer
$tpl = new Template(null, false, false); $tpl = new Template(null, false, false);
$tpl->assign('content', $finalItemTemplate); $tpl->assign('content', $finalItemTemplate);
$tpl->display_one_col_template(); $tpl->display_blank_template();
// A few functions used only here... // A few functions used only here...

@ -1,3 +1,16 @@
{% block content %} <!DOCTYPE html>
{{ content }} <!--[if lt IE 7]> <html lang="{{document_language}}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
{% endblock %} <!--[if IE 7]> <html lang="{{document_language}}" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="{{document_language}}" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--><html lang="{{document_language}}" class="no-js"> <!--<![endif]-->
<head>
{% include template ~ "/layout/head.tpl" %}
</head>
<body dir="{{text_direction}}" class="{{section_name}}">
<div class="page-blank">
{% block content %}
{{ content }}
{% endblock %}
</div>
</body>
</html>
Loading…
Cancel
Save