You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cms/cms/templates/index.html

74 lines
2.0 KiB
HTML

<!--
(c) 2004 - 2022 Health Information Privacy Laboratory
Vanderbilt University Medical Center
This is a flask-based cms that considers the following for a website :
- header
- content
- menu
- content
- footer
-->
<!DOCTYPE html>
<html lang="en">
<head >
{% include "libs.html"%}
<title>{{layout.header.title}}</title>
<link rel="shortcut icon" href="{{system.icon}}">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="quick cms, cms, python, flask, qcms">
<meta name="robots" content="/, follow, max-snippet:-1, max-image-preview:large">
</head>
<script>
// sessionStorage.setItem('{{system.id}}','{{system.context|safe}}')
var _layout = {{layout|tojson}}
// if (!qcms){
// var qcms = {}
// }
qcms.context = '{{system.context}}'
qcms.root = '{{layout.root}}'
$(document).ready( function(){
bootup.init('{{system.id}}',_layout)
// menu.init({{layout|tojson}},'{{system.context}}')
qcms.menu.init({{layout|tojson}})
})
</script>
<body>
<div class="qcms-main {{system.theme}}" >
<div id="qcms-header" class="qcms-header" onclick="window.location.href='{{system.context}}'" style="cursor:pointer">
{%include "header.html" %}
</div>
<div id="qcms-menu" class="qcms-menu">{%include "menu.html" %}</div>
<div id="qcms-content" class="qcms-content">
{%include "content.html" %}
</div>
<div id="qcms-pane" class="qcms-pane">
{%include "pane.html" %}
</div>
<div id="footer" class="qcms-footer">
{%include "footer.html" %}
</div>
</div>
</body>
</html>