First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
28
app/Views/inc/footer.php
Normal file
28
app/Views/inc/footer.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php namespace App\Views\inc;
|
||||
/******************************************************************************************************************
|
||||
* RPSLS - Rock, Paper, Scissors, Lizard, Spock Game
|
||||
*
|
||||
* @file app/views/inc/footer.php
|
||||
* @package App\Views\inc
|
||||
* @description
|
||||
* View - Footer portion of the Main View Pages. Includes Javascript Loads
|
||||
* @author Rick Hays
|
||||
* @date 11/15/2019
|
||||
* @license MIT
|
||||
* @copyright Copyright © 2019 - Rick Hays, All Rights Reserved.
|
||||
*
|
||||
* Revisions:
|
||||
* YYYY-MM-DD XX Description
|
||||
******************************************************************************************************************/
|
||||
?>
|
||||
<footer id="footer" class="footer mt-auto py-3">
|
||||
<div class="container">
|
||||
<span class="text-muted">Copywrite © 2019 - Rick Hays, All Rights Reserved.</span>
|
||||
<?php echo (ENVIRONMENT === 'development') ? '<br> <span class="text-muted">Page rendered in {elapsed_time} seconds. Environment: ' . ENVIRONMENT . '</span>' : ''; ?>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="assets/js/jquery/jquery-3.4.1.min.js"></script>
|
||||
<script src="assets/js/bootstrap/bootstrap.bundle.min.js"></script>
|
||||
<script src="assets/js/game.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
31
app/Views/inc/head.php
Normal file
31
app/Views/inc/head.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php namespace App\Views\inc;
|
||||
/******************************************************************************************************************
|
||||
* RPSLS - Rock, Paper, Scissors, Lizard, Spock Game
|
||||
*
|
||||
* @file app/views/inc/head.php
|
||||
* @package App\Views\inc
|
||||
* @description
|
||||
* View - Head portion of the Main View Pages. Includes Meta and CSS Loads.
|
||||
* @author Rick Hays
|
||||
* @date 11/15/2019
|
||||
* @license MIT
|
||||
* @copyright Copyright © 2019 - Rick Hays, All Rights Reserved.
|
||||
*
|
||||
* Revisions:
|
||||
* YYYY-MM-DD XX Description
|
||||
******************************************************************************************************************/
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="h-100">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>Rock, Paper, Scissors, Lizard, Spock</title>
|
||||
<meta name="description"
|
||||
content="Simple game of Rock, Paper, Scissors, Lizard, Spock. Written in HTML and Javascript">
|
||||
<meta name="author" content="Rick Hays">
|
||||
<link href="assets/css/bootstrap/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="assets/css/sticky-footer-navbar.css" rel="stylesheet">
|
||||
<link href="assets/css/game.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="d-flex flex-column h-100">
|
||||
40
app/Views/inc/header.php
Normal file
40
app/Views/inc/header.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php namespace App\Views\inc;
|
||||
/******************************************************************************************************************
|
||||
* RPSLS - Rock, Paper, Scissors, Lizard, Spock Game
|
||||
*
|
||||
* @file app/views/inc/header.php
|
||||
* @package App\Views\inc
|
||||
* @description
|
||||
* View - Header portion of the Main View Pages. Includes Page Header with Nav Bar.
|
||||
* @author Rick Hays
|
||||
* @date 11/15/2019
|
||||
* @license MIT
|
||||
* @copyright Copyright © 2019 - Rick Hays, All Rights Reserved.
|
||||
*
|
||||
* Revisions:
|
||||
* YYYY-MM-DD XX Description
|
||||
******************************************************************************************************************/
|
||||
?>
|
||||
<header>
|
||||
<!-- Fixed navbar -->
|
||||
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
||||
<a class="navbar-brand" href="/">R.P.S.L.S Game</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">
|
||||
<?php echo ($page === '') ? '<li class="nav-item active">' : '<li class="nav-item">'; ?>
|
||||
<a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a>
|
||||
</li>
|
||||
<?php echo ($page === 'play') ? '<li class="nav-item active">' : '<li class="nav-item">'; ?>
|
||||
<a class="nav-link" href="play">Play Game</a>
|
||||
</li>
|
||||
<?php echo ($page === 'top10') ? '<li class="nav-item active">' : '<li class="nav-item">'; ?>
|
||||
<a class="nav-link" href="top10">Top 10 Scores</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user