2019-02-08 08:53:56 +01:00
|
|
|
<!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',
|
2019-02-19 08:38:17 +01:00
|
|
|
'bludit.css',
|
|
|
|
'line-awesome/css/line-awesome-font-awesome.min.css'
|
2019-02-08 08:53:56 +01:00
|
|
|
), 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(
|
2019-02-19 08:38:17 +01:00
|
|
|
'easymde.min.js',
|
|
|
|
'ajax.js',
|
|
|
|
'parser.js'
|
2019-02-08 08:53:56 +01:00
|
|
|
), 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;
|
|
|
|
?>
|
|
|
|
|
2019-02-19 08:38:17 +01:00
|
|
|
<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">
|
2019-02-08 08:53:56 +01:00
|
|
|
<!-- 25%/75% split on large devices, small, medium devices hide -->
|
2019-02-19 08:38:17 +01:00
|
|
|
<div class="row h-100 d-flex">
|
2019-02-08 08:53:56 +01:00
|
|
|
<!-- LEFT SIDEBAR - Display only on large devices -->
|
2019-02-19 08:38:17 +01:00
|
|
|
<?php include('html/tags.php'); ?>
|
2019-02-08 08:53:56 +01:00
|
|
|
|
|
|
|
<!-- RIGHT MAIN -->
|
2019-02-19 08:38:17 +01:00
|
|
|
<div class="editor-container col-lg-6 h-100" style="max-width: 600px;">
|
2019-02-08 08:53:56 +01:00
|
|
|
<?php include('html/main.php'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Plugins -->
|
|
|
|
<?php Theme::plugins('adminBodyEnd') ?>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|