mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-19 05:29:30 +02:00
29 lines
813 B
Smarty
29 lines
813 B
Smarty
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{title}</title>
|
|
|
|
{{{each metaTags}}}{function.buildMetaTag}{{{end}}}
|
|
{{{each linkTags}}}{function.buildLinkTag}{{{end}}}
|
|
<link rel="stylesheet" type="text/css" href="{relative_path}/assets/admin.css?{cache-buster}" />
|
|
|
|
<script>
|
|
var config = JSON.parse('{{configJSON}}');
|
|
var app = {
|
|
user: JSON.parse('{{userJSON}}'),
|
|
config: JSON.parse(decodeURIComponent("{{adminConfigJSON}}")),
|
|
flags: {},
|
|
inAdmin: true
|
|
};
|
|
</script>
|
|
|
|
<script type="text/javascript" src="{relative_path}/assets/admin.min.js?{cache-buster}"></script>
|
|
|
|
{{{ each scripts }}}
|
|
<script type="text/javascript" src="{./src}"></script>
|
|
{{{ end }}}
|
|
</head>
|
|
|
|
<body class="admin {bodyClass}">
|
|
<!-- IMPORT admin/partials/menu.tpl -->
|
|
<div class="container" id="content"> |