|
@@ -0,0 +1,74 @@
|
|
|
+<!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="description" content="">
|
|
|
+ <meta name="author" content="">
|
|
|
+ <link rel="icon" href="../../../../favicon.ico">
|
|
|
+
|
|
|
+ <title>Calibration Logging Facility</title>
|
|
|
+
|
|
|
+ <!-- Bootstrap CSS -->
|
|
|
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
|
|
+
|
|
|
+ <!-- Custom styles for this template -->
|
|
|
+ <link href="./assets/css/sticky-footer-navbar.css" rel="stylesheet">
|
|
|
+ </head>
|
|
|
+
|
|
|
+ <body>
|
|
|
+
|
|
|
+ <header>
|
|
|
+ <!-- Fixed navbar -->
|
|
|
+ <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
|
|
+ <a class="navbar-brand" href="#">Calibration</a>
|
|
|
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
+ <span class="navbar-toggler-icon"></span>
|
|
|
+ </button>
|
|
|
+ <div class="collapse navbar-collapse" id="navbarCollapse">
|
|
|
+ <ul class="navbar-nav mr-auto">
|
|
|
+ <li class="nav-item active">
|
|
|
+ <a class="nav-link" href="?p=l">Logs <span class="sr-only"></span></a>
|
|
|
+ </li>
|
|
|
+ <li class="nav-item active">
|
|
|
+ <a class="nav-link" href="?p=f">Défauts <span class="sr-only"></span></a>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </nav>
|
|
|
+ </header>
|
|
|
+
|
|
|
+ <!-- Begin page content -->
|
|
|
+ <main role="main" class="container">
|
|
|
+<?php
|
|
|
+
|
|
|
+if(!isset($_REQUEST['p'])) $page='d';
|
|
|
+else $page = $_REQUEST['p'];
|
|
|
+
|
|
|
+if(file_exists("./pages/$page.page.php"))
|
|
|
+ include("./pages/$page.page.php");
|
|
|
+else
|
|
|
+ include("./pages/404.page.php");
|
|
|
+?>
|
|
|
+ </main>
|
|
|
+
|
|
|
+ <footer class="footer">
|
|
|
+ <div class="container">
|
|
|
+ <span class="text-muted">© 2019 - Snarf - Licenced under the <a href='https://en.wikipedia.org/wiki/WTFPL' target='_blank'>WTF Public Licence</a></span>
|
|
|
+ </div>
|
|
|
+ </footer>
|
|
|
+
|
|
|
+ <!-- Bootstrap core JavaScript
|
|
|
+ ================================================== -->
|
|
|
+ <!-- Placed at the end of the document so the pages load faster -->
|
|
|
+ <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
|
|
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
|
|
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
|
|
+
|
|
|
+ </body>
|
|
|
+</html>
|
|
|
+
|
|
|
+
|
|
|
+<?php
|
|
|
+
|
|
|
+?>
|