You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

114 lines
4.6 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Covid 19</title>
<link rel="stylesheet" href="bootstrap-4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="css/appstyle.css">
<link href="select2-4.0.13/dist/css/select2.min.css" rel="stylesheet" />
<link href="lightpick/css/lightpick.css" rel="stylesheet" />
<script src="apexcharts/dist/apexcharts.min.js"></script>
<script src="js/classes.js"></script>
<script src="js/functions.js"></script>
<script src="js/webcall.js"></script>
</head>
<body>
<?php //include "./menu.html"
?>
<div class="top-bar">
<!--MENU START-->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="index.php">Covid-19</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.php">All Continent<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="country.php">By Continent</a>
</li>
<li class="nav-item">
<a class="nav-link" href="countryInDates.php">Country in dates</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="continentsInDates.php">Continent in dates</a>
</li>
</ul>
</div>
</nav>
</div>
<!--MENU END-->
<div class="container header">
<div class="row">
<div class="col-12 text-center">
<span class="title header-title">Covid-19 Cases by Continent</span>
</div>
<div class="col-12 text-right">
<span class="meta">
<span class="meta-label">Last updated:</span>
<span id="lastDate" class="meta-value"></span>
</span>
</div>
</div>
<div class="row pt-4 pb-4">
<div class="col-md-4 offset-md-2 col-xs-12">
<div class="continent-selection-wr"><select id="continentSelector" class="form-control" data-shadow="true" data-mini="true" onchange=" WebCall.renderCasesByContinentAndDate('#chart', this.value, Window.picker.toString('DD/MM/YYYY'));"></select></div>
</div>
<div class=" col-md-4 col-xs-2">
<input type="text" id="datesField" placeholder="Select Dates">
</div>
</div>
</div>
<div class="container-fluid center-content">
<div class="row">
<div class="col-md-12 col-xs-12">
<div class="chart-title">Cases</div>
<div id="chart"></div>
</div>
</div>
</div>
<script src="jquery/jquery-3.5.1.min.js"></script>
<!-- <script src="propper/propper.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="bootstrap-4.3.1/js/bootstrap.min.js"></script>
<script src="select2-4.0.13/dist/js/select2.min.js"></script>
<script src="lightpick/moment.js"></script>
<script src="lightpick/lightpick.js"></script>
<script>
$(function() {
WebCall.renderLastDate('#lastDate');
WebCall.initalizeContinentsSelector('#continentSelector');
Window.picker = initDatePicker('datesField', function(dateString) {
WebCall.renderCasesByContinentAndDate('#chart', $('#continentSelector').val(), Window.picker.toString('DD/MM/YYYY'))
});
});
</script>
<footer class="fixed-bottom bg-dark">
<div class="footer-content">
<div class="content">
<div class="text">
POWERED BY Tsamantiotis Iraklis - Binas Georgios
© 2020
All Rights Reserved.
</div>
</div>
</div>
</footer>
</body>
</html>