|
|
|
@ -1,13 +1,23 @@
|
|
|
|
|
[% USE date %]
|
|
|
|
|
[% IF framed -%]
|
|
|
|
|
|
|
|
|
|
<div id="wrapper">
|
|
|
|
|
<h2>[% template.title or site_config.title %]</h2>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="wrapper">
|
|
|
|
|
<h2>[% template.title or site_config.title %]</h2>
|
|
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
|
[% content %]
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="content">
|
|
|
|
|
[% content %]
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript" async>
|
|
|
|
|
if (parent) {
|
|
|
|
|
parent.postMessage({
|
|
|
|
|
origin: 'ngcp-panel',
|
|
|
|
|
path: location.pathname
|
|
|
|
|
}, '*')
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
[% ELSE -%]
|
|
|
|
|
|
|
|
|
@ -158,6 +168,8 @@ if (!window.console) {
|
|
|
|
|
|
|
|
|
|
Theme.init ();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[% IF c.session.aui_adminId && c.session.aui_jwt -%]
|
|
|
|
|
localStorage.setItem('aui_adminId', [% c.session.aui_adminId -%]);
|
|
|
|
|
localStorage.setItem('aui_jwt', '[% c.session.aui_jwt -%]');
|
|
|
|
|