123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- <?php
- $i=null;
- function decimalAndNumberFormat1($number){
- $i = number_format(round($number,0));
- return $i;
- }
- function decimalAndNumberFormat2($number){
- $i = number_format(round($number,1),1);
- return $i;
- }
- function decimalAndNumberFormat3($number){
- $i = number_format(round($number,3));
- return $i;
- }
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Forward Station Server</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link href="css/style.css" rel="stylesheet">
- <!-- <link rel="stylesheet" type="text/css" href="css/styles.css"> -->
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
- <link href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.css" rel="stylesheet"/>
- <script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
- <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js" charset="utf-8"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
- </head>
- <style type="text/css">
- td.details-control {
- background: url('resources/details_open.png') no-repeat center center;
- cursor: pointer;
- }
- tr.shown td.details-control {
- background: url('resources/details_close.png') no-repeat center center;
- }
- </style>
- <style type="text/css">
- #example tbody tr:hover {
- background-color: cadetblue;
- cursor: pointer;
- }
-
- #example tr:hover td.sorting_1 {
- background-color: cadetblue;
- cursor: pointer;
- }
- #example th {
- background-color: #009688;
- }
- #vehicle tbody tr:hover {
- background-color: cadetblue;
- cursor: pointer;
- }
-
- #vehicle tr:hover td.sorting_1 {
- background-color: cadetblue;
- cursor: pointer;
- }
- #vehicle th {
- background-color: #009688;
- }
- </style>
- <style>
- * { box-sizing: border-box; }
- html, body {
- margin: 0;
- font-family: sans-serif;
- }
- .hamburger {
- position: fixed;
- z-index: 9999;
- padding: 15px;
- }
- .hamburger:hover { cursor: pointer; }
- .hamburger div {
- background-color: white;
- border-radius: 1px;
- height: 3px;
- width: 30px;
- }
- .hamburger div:not(:last-child) { margin-bottom: 5px; }
- nav {
- background-color: white;
- display: inline-block;
- position: fixed;
- height: 100vh;
- width: 225px;
- left: -225px;
- -webkit-transition: -webkit-transform 0.3s;
- transition: transform 0.3s;
- }
- nav .logo {
- margin: 12vh 0;
- text-align: center;
- }
- nav .logo p {
- font-weight: 100;
- font-size: 1em;
- }
- nav .logo img {
- /* border-radius: 70%; */
- width:50px;
- height:50px;
- margin-top:8px;
- }
- nav a {
- display: block;
- text-decoration: none;
- text-align: center;
- /* color: black; */
- padding: 5px 0;
- }
- nav a:visited { color: white; }
- nav footer {
- width: 225px;
- text-align: center;
- position: absolute;
- padding: 5px;
- bottom: 0;
- color: #959595;
- }
- nav footer p { font-size: 0.85em; }
- nav, .hamburger, .cover {
- -webkit-transition: -webkit-transform .3s;
- transition: transform .3s;
- }
- .sidenav-active nav, .sidenav-active .hamburger, .sidenav-active .cover {
- -webkit-transform: translateX(225px);
- -ms-transform: translateX(225px);
- transform: translateX(225px);
- }
- .main {
- -webkit-transition: margin-left .3s;
- transition: margin-left .3s;
- }
- .sidenav-active .main { margin-left: 225px; }
- section {
- color: white;
- height: 100vh;
- line-height: 100vh;
- text-align: center;
- }
- section h1 { font-size: 1.75em; }
- section h1, section p { margin: 0; }
- section:nth-child(1) { background-color: #34495E; }
- section:nth-child(2) { background-color: #3498DB; }
- section:nth-child(3) { background-color: #8E44AD; }
- </style>
- <!-- menu -->
- <style>
- /* Main content */
- .main {
- margin-left: 200px; /* Same as the width of the sidenav */
- font-size: 20px; /* Increased text to enable scrolling */
- padding: 0px 10px;
- }
- /* Add an active class to the active dropdown button */
- .active {
- background-color: #2a907e;
- color: white;
- }
- /* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
- .dropdown-container {
- display: none;
- background-color: #ffff;
- padding-left: 8px;
- margin-top: 7px;
- margin-bottom: 10px;
- margin-left: 10px;
- margin-right: 10px;
- border-radius: 0.5em
- }
- .dropdown-container a{
- color:black;
- }
- /* Optional: Style the caret down icon */
- .fa-caret-down {
- float: right;
- padding-right: 8px;
- }
- /* Some media queries for responsiveness */
- @media screen and (max-height: 450px) {
- .sidenav {padding-top: 15px;}
- .sidenav a {font-size: 18px;}
- }
- .dropdown-container a:hover{
- background:#d4d8d7;
- text-decoration: none;
-
- }
- .dropdown-container a{
- padding: 0.5rem 1rem;
- margin: 0 0.5rem;
- display: block;
- color: black ;
- text-decoration: none;
- border-radius: 0.35rem;
- white-space: nowrap;
- }
- .dropdown-btn{
- border-radius:0.5em;
- margin-top:19px;
- }
- .dropdown-btn:hover{
- background: #2a907e;
- color:white;
- text-decoration: none;
- }
- a {
- color: #1d969e;
- text-decoration: none;
- }
- </style>
- <style>
- .links {
- background: #dfe4e6;
- height: 625px;
- margin-top: -17px;
- -moz-box-shadow: 3px 3px 5px 6px #ccc;
- -webkit-box-shadow: 3px 3px 5px 6px #ccc;
- box-shadow: 3px 3px 5px 6px #ccc;
- overflow-y: scroll;
- scrollbar-color: green;
- }
-
- .header{
- -moz-box-shadow: 3px 3px 5px 6px #ccc;
- -webkit-box-shadow: 3px 3px 5px 6px #ccc;
- box-shadow: 3px 3px 5px 6px #ccc;
- margin-top:-86px;
- height:192px;
- }
- .collapse-inner{
- border-radius: 0.35rem;
- -webkit-box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
- box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
- padding: .5rem 0;
- min-width: 10rem;
- font-size: 12px;
- margin: 10 0 1rem 0;
- }
- .collapse-inner .collapse-item{
- padding: 0.7rem 1rem;
- margin: 0 0.5rem;
- display: block;
- color: rgb(5, 195, 172);
- text-decoration: none;
- border-radius: 0.35rem;
- white-space: nowrap;
-
- }
- i.fas.fa-gas-pump {
- margin-left: -30px;
- }
- i.fas.fa-fw.fa-chart-area {
- margin-left: -50px;
- }
- i.fas.fa-fw.fa-chart-area.config {
- margin-left: -5px;
- }
- i.fas.fa-fw.fa-table {
- margin-left: -95px;
- }
- i.fa.fa-caret-down {
- margin-top: 10px;
- margin-right: 15px;
- }
- </style>
- </head>
- <body class="sidenav-active">
- <?php //include("nav.php"); ?>
- <div class="main">
- <?php include "api/v1/Customers/customersDetails.php" ?>
- <?php include "api/v1/Customers/customersVw.php" ?>
-
- </div>
- <script>
- function toggleSidenav() {
- document.body.classList.toggle('sidenav-active');
- }
- </script>
-
- <!-- menu -->
- <script>
- /* Loop through all dropdown buttons to toggle between hiding and showing its dropdown content - This allows the user to have multiple dropdowns without any conflict */
- var dropdown = document.getElementsByClassName("dropdown-btn");
- var i;
- for (i = 0; i < dropdown.length; i++) {
- dropdown[i].addEventListener("click", function() {
- this.classList.toggle("active");
- var dropdownContent = this.nextElementSibling;
- if (dropdownContent.style.display === "block") {
- dropdownContent.style.display = "none";
- } else {
- dropdownContent.style.display = "block";
- }
- });
- }
- </script>
- </body>
- </html>
|