add files structure tpl BT#11338

remotes/angel/1.11.x
Alex Aragon 9 years ago
parent d6f2768afc
commit f3e6afaeaf
  1. 76
      main/template/default/layout/page-footer.tpl
  2. 19
      main/template/default/layout/page-header.tpl
  3. 52
      main/template/default/layout/page.tpl

@ -0,0 +1,76 @@
<footer id="footer-section" class="sticky-footer">
<div class="container">
<div class="pre-footer">
{% if plugin_pre_footer is not null %}
<div id="plugin_pre_footer">
{{ plugin_pre_footer }}
</div>
{% endif %}
</div>
<div class="sub-footer">
<div class="row">
<div class="col-md-4">
{% if session_teachers is not null %}
<div class="session-teachers">
{{ session_teachers }}
</div>
{% endif %}
{% if teachers is not null %}
<div class="teachers">
{{ teachers }}
</div>
{% endif %}
{% if plugin_footer_left is not null %}
<div id="plugin_footer_left">
{{ plugin_footer_left }}
</div>
{% endif %}
</div>
<div class="col-md-4">
{% if plugin_footer_center is not null %}
<div id="plugin_footer_center">
{{ plugin_footer_center }}
</div>
{% endif %}
</div>
<div class="col-md-4">
{% if administrator_name is not null %}
<div class="administrator-name">
{{ administrator_name }}
</div>
{% endif %}
<div class="software-name">
<a href="{{_p.web}}" target="_blank">
{{ "PoweredByX" |get_lang | format(_s.software_name) }}
</a>&copy; {{ "now"|date("Y") }}
</div>
{% if plugin_footer_right is not null %}
<div id="plugin_footer_right">
{{ plugin_footer_right }}
</div>
{% endif %}
</div>
</div>
</div>
<div class="extra-footer">
{{ footer_extra_content }}
</div>
</div>
</footer>
<div class="modal fade" id="expand-image-modal" tabindex="-1" role="dialog" aria-labelledby="expand-image-modal-title" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="{{ "Close" | get_lang }}"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="expand-image-modal-title">&nbsp;</h4>
</div>
<div class="modal-body">
</div>
</div>
</div>
</div>
{% include template ~ '/layout/footer.js.tpl' %}
{{ execution_stats }}

@ -0,0 +1,19 @@
<header id="header-section">
<section>
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="logo">
{{ logo }}
</div>
</div>
<div class="col-md-9">
</div>
</div>
</div>
</section>
{% block menu %}
{% include template ~ "/layout/menu.tpl" %}
{% endblock %}
</header>

@ -0,0 +1,52 @@
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="{{ document_language }}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[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>
{% block head %}
{% include template ~ "/layout/head.tpl" %}
{% endblock %}
</head>
<body dir="{{ text_direction }}" class="{{ section_name }} {{ login_class }}">
<noscript>{{ "NoJavascript"|get_lang }}</noscript>
<div class="wrap">
{% if displayCookieUsageWarning == true %}
<!-- Display Cookies validation -->
<div class="toolbar-cookie alert-warning">
<form onSubmit="$(this).toggle('slow')" action="" method="post">
<input value=1 type="hidden" name="acceptCookies"/>
<div class="cookieUsageValidation">
{{ "YouAcceptCookies" | get_lang }}
<span style="margin-left:20px;" onclick="$(this).next().toggle('slow'); $(this).toggle('slow')">
({{"More" | get_lang }})
</span>
<div style="display:none; margin:20px 0;">
{{ "HelpCookieUsageValidation" | get_lang}}
</div>
<span style="margin-left:20px;" onclick="$(this).parent().parent().submit()">
({{"Accept" | get_lang }})
</span>
</div>
</form>
</div>
{% endif %}
{% include template ~ "/layout/page-header.tpl" %}
<section id="content-section">
<div class="container">
{% block breadcrumb %}
{{ breadcrumb }}
{% endblock %}
{% block body %}
{{ content }}
{% endblock %}
</div>
</section>
{% if show_sniff == 1 %}
{% include template ~ "/layout/sniff.tpl" %}
{% endif %}
{% include template ~ "/layout/page-footer.tpl" %}
</div>
</body>
</html>
Loading…
Cancel
Save