mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
New layout (Znote AAC AtomIO)
Layout is primarily changed to this because the old layout had obsolete javascript dependencies. I still want to make another default layout eventually, which is mobile friendly. This layout has a very nice character search widget though that looks for names realtime and displays them in a list beside the search.
This commit is contained in:
29
layout/overall/footer.php
Normal file
29
layout/overall/footer.php
Normal file
@@ -0,0 +1,29 @@
|
||||
</div>
|
||||
<!-- MAIN FEED END -->
|
||||
|
||||
<?php include 'layout/aside.php'; ?>
|
||||
</div>
|
||||
|
||||
<footer class="well preventCollapse">
|
||||
<div class="pull-left">
|
||||
<p>© <?php echo $config['site_title'];?>. <?php echo ' Page generated in '. elapsedTime() .' seconds. Q: '.$aacQueries; ?>. Designed By <a href="https://otland.net/members/snavy.155163/" target="_blank">Snavy</a>. Engine: <a href="credits.php">Znote AAC</a>.</p>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<p><?php echo 'Server date and clock is: '. getClock(false, true); ?></p>
|
||||
</div>
|
||||
<!--
|
||||
Designed By <a href="https://otland.net/members/snavy.155163/" target="_blank">Snavy</a>
|
||||
-->
|
||||
|
||||
|
||||
</footer>
|
||||
</div><!-- Main container END -->
|
||||
</body>
|
||||
</html>
|
||||
<!--
|
||||
Layout author: Blackwolf (Snavy on otland)
|
||||
Otland: https://otland.net/members/snavy.155163/
|
||||
Facebook: http://www.facebook.com/idont.reallywolf.1
|
||||
Twitter: @idontreallywolf
|
||||
Converted to Znote AAC by: Znote
|
||||
-->
|
65
layout/overall/header.php
Normal file
65
layout/overall/header.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
require_once 'layout/layout_config.php';
|
||||
$launch_seconds = (strtotime($countDown) - time());
|
||||
$delay_hide = $launch_seconds + $countDown_hide;
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo $config['site_title']; ?></title>
|
||||
|
||||
<!-- Stylesheet(s) -->
|
||||
<link rel="stylesheet" href="layout/css/style.css?aio=1">
|
||||
<link rel="stylesheet" href="layout/fontawesome/css/font-awesome.min.css?aio=1">
|
||||
<link rel="stylesheet" href="layout/css/resp.css?aio=1">
|
||||
|
||||
<!-- JavaScript(s) -->
|
||||
<script src="layout/js/jquery.js" charset="utf-8"></script>
|
||||
|
||||
<?php if ($delay_hide > 0): ?>
|
||||
<script src="layout/js/countdown.js" charset="utf-8"></script>
|
||||
<?php endif; ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
<?php if ($delay_hide > 0): ?>
|
||||
countDown("countDownTimer", <?php echo $launch_seconds; ?>, "<?php echo $countDown_complete; ?>");
|
||||
<?php endif; ?>
|
||||
|
||||
$('.loginBtn').click(function(){
|
||||
$('.loginContainer input:first-of-type').focus();
|
||||
});
|
||||
$('#accountLink').click(function(e) {
|
||||
if (this.href.indexOf('#') >= 0) {
|
||||
console.log("hello", this.href, this.href.indexOf('#'));
|
||||
$('.loginContainer input:first-of-type').focus();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body<?php if (isset($page_filename) && strlen($page_filename) > 0) echo " class='page_{$page_filename}'"; ?>>
|
||||
<!--
|
||||
Layout author: Blackwolf (Snavy on otland)
|
||||
Otland: https://otland.net/members/snavy.155163/
|
||||
Facebook: http://www.facebook.com/idont.reallywolf.1
|
||||
Twitter: @idontreallywolf
|
||||
Converted to Znote AAC by: Znote
|
||||
-->
|
||||
<!-- Main container -->
|
||||
<div class="main">
|
||||
<?php include 'layout/menu.php'; ?>
|
||||
|
||||
<div class="well banner"></div>
|
||||
|
||||
<div class="well feedContainer preventCollapse">
|
||||
<?php if ($delay_hide > 0): ?>
|
||||
<div class="well topPane preventCollapse">
|
||||
<div class="well pull-left">
|
||||
<div id="countDownTimer" data-date="<?=$countDown?>"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!-- MAIN FEED -->
|
||||
<div class="pull-left leftPane">
|
Reference in New Issue
Block a user