Commit 94f8ff68 authored by dmorley's avatar dmorley

defer js

parent 4a27772b
......@@ -2,6 +2,7 @@ body {
font-family: 'Helvetica', sans-serif;
font-weight: 400;
--black: #0e0e0e;
--lgrey: #7a94a4;
--grey: #36454f;
--white: #f8f8ff;
}
......@@ -22,6 +23,10 @@ a {
background-color: var(--black) !important;
}
.bg-grey {
background-color: var(--lgrey) !important;
}
.main {
padding-top: 4px;
}
......
......@@ -52,13 +52,20 @@ $software_all = !empty($subdomain) ? ucwords($subdomain) : 'All';
<title><?php echo $software ?> Pod Uptime Status</title>
<meta name="keywords" content="diaspora, federated pods, Poduptime, fediverse, federated network, friendica, hubzilla, open source social, open source social network"/>
<meta name="description" content="<?php echo $software ?> Pod <?php echo $input ?> Live Status. Find a <?php echo $software ?> pod to sign up for, rate pods, find one close to you!"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="css/poduptime.css"/>
<link rel="stylesheet" href="node_modules/ion-rangeslider/css/ion.rangeSlider.css"/>
<link rel="stylesheet" href="node_modules/featherlight/release/featherlight.min.css"/>
<link rel="stylesheet" href="node_modules/tablesorter/dist/css/theme.bootstrap_4.min.css"/>
<link rel="stylesheet" href="node_modules/fork-awesome/css/fork-awesome.min.css"/>
<link rel="stylesheet" href="css/poduptime.css">
<link rel="stylesheet" href="node_modules/tablesorter/dist/css/theme.bootstrap_4.min.css">
<link rel="stylesheet" href="node_modules/ion-rangeslider/css/ion.rangeSlider.css">
<link rel="stylesheet" href="node_modules/featherlight/release/featherlight.min.css">
<link rel="stylesheet" href="node_modules/fork-awesome/css/fork-awesome.min.css">
<script defer src="node_modules/jquery/dist/jquery.min.js"></script>
<script defer src="node_modules/tablesorter/dist/js/jquery.tablesorter.combined.min.js"></script>
<script defer src="node_modules/tablesorter/dist/js/extras/jquery.tablesorter.pager.min.js"></script>
<script defer src="node_modules/tablesorter/dist/js/widgets/widget-columnSelector.min.js"></script>
<script defer src="node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script defer src="node_modules/featherlight/release/featherlight.min.js"></script>
<script defer src="node_modules/ion-rangeslider/js/ion.rangeSlider.min.js"></script>
<meta property="og:url" content="https://<?php echo $_SERVER['HTTP_HOST'] ?>/<?php echo $input ?>"/>
<meta property="og:title" content="<?php echo $software ?> Pod Finder"/>
<meta property="og:type" content="website"/>
......@@ -192,17 +199,11 @@ foreach ($csoftwares as $csoftware => $details) {
</footer>
<input type="hidden" name="software" value="<?php echo lcfirst($softwarejs) ?>"/>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/tablesorter/dist/js/jquery.tablesorter.combined.min.js"></script>
<script src="node_modules/tablesorter/dist/js/extras/jquery.tablesorter.pager.min.js"></script>
<script src="node_modules/tablesorter/dist/js/widgets/widget-columnSelector.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="node_modules/featherlight/release/featherlight.min.js"></script>
<script src="node_modules/ion-rangeslider/js/ion.rangeSlider.min.js"></script>
<script src="node_modules/chart.js/dist/Chart.min.js"></script>
<?php
$statsview && include_once __DIR__ . '/statsviewjs.php';
$fullview && printf('<script src="js/podup.js"></script>');
$fullview && printf('<script defer src="js/podup.js"></script>');
?>
</body>
</html>
......@@ -82,7 +82,7 @@ $iso = new Matriphe\ISO639\ISO639;
});
</script>
<div class="container wizard">
<h4>Pod Wizard</h4>
<h4>Wizard</h4>
<?php
if ($page === 1) {
echo '<div class="row m-1 p-1"><div class="col-6 p-2">Software we recommend:</div><div class="col-8">';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment