2019-07-11 14:45:36 +02:00
|
|
|
<!doctype html>
|
2019-07-11 21:26:36 +02:00
|
|
|
<html lang="en" style="height: 100%">
|
2019-07-11 14:45:36 +02:00
|
|
|
|
2019-07-11 14:53:18 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2019-07-11 15:49:10 +02:00
|
|
|
<title>BlueWeather</title>
|
2019-07-11 14:45:36 +02:00
|
|
|
|
2019-07-11 14:53:18 +02:00
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
|
|
|
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
2019-07-11 14:45:36 +02:00
|
|
|
|
2019-07-11 14:53:18 +02:00
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
<link href="css/dashboard.css" rel="stylesheet">
|
2019-07-11 21:08:24 +02:00
|
|
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
|
|
|
|
|
2019-07-11 14:53:18 +02:00
|
|
|
</head>
|
2019-07-11 14:45:36 +02:00
|
|
|
|
2019-07-11 21:26:36 +02:00
|
|
|
<body style="height: 100%;">
|
2019-07-11 14:53:18 +02:00
|
|
|
<nav class="navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0 shadow">
|
2019-07-11 15:17:05 +02:00
|
|
|
<a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">BlueWeather</a>
|
2019-07-11 21:08:24 +02:00
|
|
|
|
2019-07-11 14:53:18 +02:00
|
|
|
<ul class="navbar-nav px-3">
|
|
|
|
<li class="nav-item text-nowrap">
|
2019-07-11 21:08:24 +02:00
|
|
|
<a class="nav-link" href="#">Sign out</a>
|
2019-07-11 14:53:18 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2019-07-11 14:45:36 +02:00
|
|
|
|
2019-07-11 21:26:36 +02:00
|
|
|
<div class="container-fluid" style="height: 100%">
|
|
|
|
<div class="row" style="height: 100%">
|
2019-07-11 21:08:24 +02:00
|
|
|
<!-- Nav bar on the right side -->
|
2019-07-11 14:53:18 +02:00
|
|
|
<nav class="col-md-2 d-none d-md-block bg-light sidebar">
|
|
|
|
<div class="sidebar-sticky">
|
|
|
|
<ul class="nav flex-column">
|
|
|
|
<li class="nav-item">
|
2019-07-11 21:08:24 +02:00
|
|
|
<a class="nav-link" id="navbarPage-1Link" onclick="setPage(-1)" href="#">
|
2019-07-11 14:53:18 +02:00
|
|
|
<span data-feather="home"></span>
|
|
|
|
Dashboard <span class="sr-only">(current)</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2019-07-11 21:08:24 +02:00
|
|
|
</ul>
|
|
|
|
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
|
2019-07-11 15:17:05 +02:00
|
|
|
<span>Sensors</span>
|
2019-07-11 21:08:24 +02:00
|
|
|
|
2019-07-11 15:17:05 +02:00
|
|
|
<a class="d-flex align-items-center text-muted" href="#">
|
|
|
|
<span data-feather="plus-circle"></span>
|
|
|
|
</a>
|
|
|
|
</h6>
|
2019-07-11 21:08:24 +02:00
|
|
|
|
|
|
|
<ul class="nav flex-column mb-2" id="sensorsList">
|
2019-07-11 14:53:18 +02:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">
|
2019-07-11 21:08:24 +02:00
|
|
|
<div class="spinner-border spinner-border-sm" role="status">
|
|
|
|
<span class="sr-only">Loading...</span>
|
|
|
|
</div>
|
2019-07-11 14:53:18 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
|
|
|
|
<span>Saved reports</span>
|
|
|
|
<a class="d-flex align-items-center text-muted" href="#">
|
|
|
|
<span data-feather="plus-circle"></span>
|
2019-07-11 14:45:36 +02:00
|
|
|
</a>
|
2019-07-11 14:53:18 +02:00
|
|
|
</h6>
|
|
|
|
<ul class="nav flex-column mb-2">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
Current month
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
Last quarter
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
Social engagement
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
Year-end sale
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2019-07-11 14:45:36 +02:00
|
|
|
|
2019-07-11 21:08:24 +02:00
|
|
|
<!-- Main content area -->
|
2019-07-11 21:26:36 +02:00
|
|
|
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4" style="height: 90%">
|
2019-07-11 14:53:18 +02:00
|
|
|
<div
|
|
|
|
class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
|
2019-07-11 21:08:24 +02:00
|
|
|
<h1 class="h2" id="titleH1">Dashboard</h1>
|
2019-07-11 14:53:18 +02:00
|
|
|
<div class="btn-toolbar mb-2 mb-md-0">
|
|
|
|
<div class="btn-group mr-2">
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-secondary">Share</button>
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-secondary">Export</button>
|
|
|
|
</div>
|
2019-07-12 13:24:06 +02:00
|
|
|
<div class="dropdown dropleft" class="h-100">
|
|
|
|
<button id="dropdownMenuButton" type="button" class="btn btn-sm btn-outline-secondary dropdown-toggle"
|
|
|
|
data-toggle="dropdown">
|
2019-07-11 21:08:24 +02:00
|
|
|
<span data-feather="calendar"></span>
|
2019-07-12 13:24:06 +02:00
|
|
|
|
|
|
|
|
2019-07-11 21:08:24 +02:00
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
2019-07-12 13:24:06 +02:00
|
|
|
<a class="dropdown-item" onclick="setTimeRange(86400)" href="#&range[from]=86400">Today</a>
|
|
|
|
<a class="dropdown-item" onclick="setTimeRange(604800)" href="#&range[from]=604800">This Week</a>
|
|
|
|
<a class="dropdown-item" onclick="setTimeRange(18144000)" href="#&range[from]=18144000">This Month</a>
|
|
|
|
<a class="dropdown-item" onclick="setTimeRange(220752000)" href="#&range[from]=220752000">This Year</a>
|
|
|
|
<a class="dropdown-item">Custom</a>
|
2019-07-11 21:08:24 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-07-11 14:45:36 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-07-11 21:26:36 +02:00
|
|
|
<div id="mainContent" style="height: 100%">
|
2019-07-11 14:53:18 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-07-11 21:08:24 +02:00
|
|
|
</main>
|
2019-07-11 14:45:36 +02:00
|
|
|
</div>
|
2019-07-11 21:08:24 +02:00
|
|
|
|
|
|
|
<!-- js -->
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
|
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
|
|
|
|
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
|
2019-07-11 14:53:18 +02:00
|
|
|
crossorigin="anonymous"></script>
|
2019-07-12 13:24:06 +02:00
|
|
|
|
2019-07-11 14:53:18 +02:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.9.0/feather.min.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.min.js"></script>
|
2019-07-11 21:08:24 +02:00
|
|
|
<script src="js/blueweather.js"></script>
|
2019-07-11 14:53:18 +02:00
|
|
|
<script src="js/dashboard.js"></script>
|
|
|
|
</body>
|
2019-07-11 14:45:36 +02:00
|
|
|
|
2019-07-11 21:08:24 +02:00
|
|
|
</html>
|