Skip to content

Commit

Permalink
Merge pull request #45 from mreishman/0.2-Dev
Browse files Browse the repository at this point in the history
0.2.1
  • Loading branch information
mreishman authored Nov 26, 2020
2 parents 2dea07f + 233f610 commit aee4e01
Show file tree
Hide file tree
Showing 22 changed files with 300 additions and 217 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ core/css/vars.css.map
local/*
Log-Hog/*
status/*

.sass-cache/

media/*
!media/img/about/filestructure.png
!media/img/main/favicon.png
!media/img/main/logo.png
!media/img/main/logo.png
1 change: 1 addition & 0 deletions core/content/base/backToTopButton.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<button onclick="topFunction()" id="bttButton" title="Go to top">Top</button>
6 changes: 5 additions & 1 deletion core/content/base/header.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<header>
<nav class="navigationMain" >
<a href="<?php echo $core->getValue("baseUrl"); ?>" ><img src="/media/img/main/logo.png" height="42px" style="display: inline-block;" ></a>
<?php if (file_exists(BP . "media/img/main/logo.png")): ?>
<a href="<?php echo $core->getValue("baseUrl"); ?>" >
<img src="/media/img/main/logo.png" height="42px" style="display: inline-block;" >
</a>
<?php endif; ?>
<input type="checkbox" id="mainNavigationToggle" checked>
<label for="mainNavigationToggle" class="mobileNavButton">
<span class="navIconChecked">
Expand Down
8 changes: 5 additions & 3 deletions core/content/templates/oneColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $baseXmlGen->title; ?></title>
<link rel="shortcut icon" type="image/png" href="/media/img/main/favicon.png"/>
<?php if(file_exists(BP . "/media/img/main/favicon.png")): ?>
<link rel="shortcut icon" type="image/png" href="/media/img/main/favicon.png"/>
<?php endif; ?>
</head>
<body>
<?php
Expand Down Expand Up @@ -33,8 +35,8 @@
?>
</div>
<?php
$headerModules = $core->getModules($layoutFileGen,"footer");
foreach ($headerModules as $module)
$footerModules = $core->getModules($layoutFileGen,"footer");
foreach ($footerModules as $module)
{
require_once($module["file"]);
}
Expand Down
12 changes: 7 additions & 5 deletions core/content/templates/threeColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $baseXmlGen->title; ?></title>
<link rel="shortcut icon" type="image/png" href="/media/img/main/favicon.png"/>
<?php if(file_exists(BP . "/media/img/main/favicon.png")): ?>
<link rel="shortcut icon" type="image/png" href="/media/img/main/favicon.png"/>
<?php endif; ?>
</head>
<body>
<?php
Expand Down Expand Up @@ -53,11 +55,11 @@
<?php
$contentClass = $core->getSetting(
array($baseXmlGen, $layoutFileGen),
array("settings","body","mainContent","contentThree","columnWidth"),
array("settings","body","mainContent","contentTwo","columnWidth"),
"30");
$hideMobile = (string)$core->getSetting(
array($baseXmlGen, $layoutFileGen),
array("settings","body","mainContent","contentThree","hideMobile"),
array("settings","body","mainContent","contentTwo","hideMobile"),
"false");
if($hideMobile === "true")
{
Expand All @@ -70,8 +72,8 @@
</div>
</div>
<?php
$headerModules = $core->getModules($layoutFileGen,"footer");
foreach ($headerModules as $module)
$footerModules = $core->getModules($layoutFileGen,"footer");
foreach ($footerModules as $module)
{
require_once($module["file"]);
}
Expand Down
8 changes: 5 additions & 3 deletions core/content/templates/twoColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $baseXmlGen->title; ?></title>
<link rel="shortcut icon" type="image/png" href="/media/img/main/favicon.png"/>
<?php if(file_exists(BP . "/media/img/main/favicon.png")): ?>
<link rel="shortcut icon" type="image/png" href="/media/img/main/favicon.png"/>
<?php endif; ?>
</head>
<body>
<?php
Expand Down Expand Up @@ -66,8 +68,8 @@
</div>
</div>
<?php
$headerModules = $core->getModules($layoutFileGen,"footer");
foreach ($headerModules as $module)
$footerModules = $core->getModules($layoutFileGen,"footer");
foreach ($footerModules as $module)
{
require_once($module["file"]);
}
Expand Down
19 changes: 19 additions & 0 deletions core/css/backToTopButton.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions core/css/backToTopButton.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

178 changes: 72 additions & 106 deletions core/css/navigation.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion core/css/navigation.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aee4e01

Please sign in to comment.