Add templates

This commit is contained in:
Tyler Perkins 2021-09-22 15:24:26 -04:00
parent c64bab4e52
commit f481ccbc09
1 changed files with 25 additions and 0 deletions

25
templates/default.php Normal file
View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<?php
$incl_path = $_SERVER['DOCUMENT_ROOT'];
?>
<html>
<head>
<?php include $incl_path . '/www/include.php' ?>
<?php include $incl_path . '/www/jumbotron.php' ?>
</head>
<body>
<?php include $incl_path . '/www/header.php' ?>
<div class="container-fluid p-0">
<div class="row no-gutters">
<div class="col mx-4 mb-4">
<div class="card background-dark-trans">
<div class="card-title">Wiki</div>
<div class="card-body">
%content%
</div>
</div>
</div>
</div>
</div>
</body>
</html>