mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00

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.
66 lines
2.0 KiB
PHP
66 lines
2.0 KiB
PHP
<?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">
|