84 lines
1.8 KiB
PHP
84 lines
1.8 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="robots" content="noindex,nofollow">
|
|
<meta name="generator" content="Bludit">
|
|
|
|
<!-- Title -->
|
|
<title><?php echo $layout['title'] ?></title>
|
|
|
|
<!-- Favicon -->
|
|
<link rel="shortcut icon" type="image/x-icon" href="<?php echo DOMAIN_ADMIN_THEME.'img/favicon.png?version='.BLUDIT_VERSION ?>">
|
|
|
|
<!-- CSS -->
|
|
<?php
|
|
echo Theme::cssBootstrap();
|
|
echo Theme::css(array(
|
|
'bludit-bootstrap.css',
|
|
'easymde.min.css',
|
|
'editor.css',
|
|
'bludit.css',
|
|
'line-awesome/css/line-awesome-font-awesome.min.css'
|
|
), DOMAIN_ADMIN_THEME_CSS);
|
|
?>
|
|
|
|
<!-- Plugins -->
|
|
<?php Theme::plugins('adminHead') ?>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- Plugins -->
|
|
<?php Theme::plugins('adminBodyBegin') ?>
|
|
|
|
<!-- Javascript -->
|
|
<?php
|
|
echo Theme::jquery();
|
|
echo Theme::jsBootstrap();
|
|
echo Theme::js(array(
|
|
'easymde.min.js',
|
|
'ajax.js',
|
|
'parser.js'
|
|
), DOMAIN_ADMIN_THEME_JS);
|
|
?>
|
|
|
|
<!-- Javascript dynamic generated by PHP -->
|
|
<?php
|
|
echo '<script charset="utf-8">'.PHP_EOL;
|
|
include(PATH_CORE_JS.'variables.php');
|
|
echo '</script>'.PHP_EOL;
|
|
?>
|
|
|
|
<script>
|
|
var ajax = new Ajax();
|
|
var parser = new Parser();
|
|
var DEBUG = true;
|
|
|
|
var log = function(name, variable){
|
|
if (DEBUG) {
|
|
console.log(name);
|
|
console.log(variable);
|
|
}
|
|
return true;
|
|
}
|
|
</script>
|
|
|
|
<div class="container-fluid h-100">
|
|
<!-- 25%/75% split on large devices, small, medium devices hide -->
|
|
<div class="row h-100 d-flex">
|
|
<!-- LEFT SIDEBAR - Display only on large devices -->
|
|
<?php include('html/tags.php'); ?>
|
|
|
|
<!-- RIGHT MAIN -->
|
|
<div class="editor-container col-lg-6 h-100" style="max-width: 600px;">
|
|
<?php include('html/main.php'); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Plugins -->
|
|
<?php Theme::plugins('adminBodyEnd') ?>
|
|
|
|
</body>
|
|
</html>
|