45 lines
1.5 KiB
PHP
45 lines
1.5 KiB
PHP
<?php
|
|
// Some useful variables
|
|
$v = rand();// Used to avoid abusive caching by the browser
|
|
require_once("config.php");// Use "config-sample.php" to create your own
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<title>Happy Dev App</title>
|
|
|
|
<?php
|
|
// Prod/Dev setup
|
|
if (in_array($dn, array('https://app.happy-dev.fr', 'https://staging-app.happy-dev.fr'))) {
|
|
require_once("src/html/dependencies-prod.php");
|
|
} else {
|
|
require_once("src/html/dependencies-dev.php");
|
|
}
|
|
?>
|
|
</head>
|
|
|
|
<body>
|
|
<?php require_once('src/html/menu.html'); ?>
|
|
|
|
<main id="mainContainer" class="container-fluid">
|
|
<?php require_once('src/html/dashboard.html'); ?>
|
|
<?php require_once('src/html/members.html'); ?>
|
|
<?php require_once('src/html/member.php'); ?>
|
|
<?php require_once('src/html/projects.html'); ?>
|
|
<?php require_once('src/html/project.html'); ?>
|
|
<?php require_once('src/html/project-creation.html'); ?>
|
|
<?php require_once('src/html/project-edition.html'); ?>
|
|
<?php require_once('src/html/client-creation.html'); ?>
|
|
<?php require_once('src/html/channels.html'); ?>
|
|
<?php require_once('src/html/channel.html'); ?>
|
|
<?php require_once('src/html/channel-edition.html'); ?>
|
|
<?php require_once('src/html/channel-creation.html'); ?>
|
|
<?php require_once('src/html/search.html'); ?>
|
|
</main>
|
|
</body>
|
|
</html>
|