w-2.3 check bug
commit
0a10ef4344
67
README.md
67
README.md
|
@ -1,60 +1,9 @@
|
|||
# [Start Bootstrap - Simple Sidebar](https://startbootstrap.com/template-overviews/simple-sidebar/)
|
||||
Data Realtime Virus Corona
|
||||
https://info-corona.id
|
||||
|
||||
[Simple Sidebar](http://startbootstrap.com/template-overviews/simple-sidebar/) is an off canvas sidebar navigation template for [Bootstrap](http://getbootstrap.com/) created by [Start Bootstrap](http://startbootstrap.com/).
|
||||
|
||||
## Preview
|
||||
|
||||
[![Simple Sidebar Preview](https://startbootstrap.com/assets/img/templates/simple-sidebar.jpg)](https://blackrockdigital.github.io/startbootstrap-simple-sidebar/)
|
||||
|
||||
**[View Live Preview](https://blackrockdigital.github.io/startbootstrap-simple-sidebar/)**
|
||||
|
||||
## Status
|
||||
|
||||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/BlackrockDigital/startbootstrap-simple-sidebar/master/LICENSE)
|
||||
[![npm version](https://img.shields.io/npm/v/startbootstrap-simple-sidebar.svg)](https://www.npmjs.com/package/startbootstrap-simple-sidebar)
|
||||
[![Build Status](https://travis-ci.org/BlackrockDigital/startbootstrap-simple-sidebar.svg?branch=master)](https://travis-ci.org/BlackrockDigital/startbootstrap-simple-sidebar)
|
||||
[![dependencies Status](https://david-dm.org/BlackrockDigital/startbootstrap-simple-sidebar/status.svg)](https://david-dm.org/BlackrockDigital/startbootstrap-simple-sidebar)
|
||||
[![devDependencies Status](https://david-dm.org/BlackrockDigital/startbootstrap-simple-sidebar/dev-status.svg)](https://david-dm.org/BlackrockDigital/startbootstrap-simple-sidebar?type=dev)
|
||||
|
||||
## Download and Installation
|
||||
|
||||
To begin using this template, choose one of the following options to get started:
|
||||
* [Download the latest release on Start Bootstrap](https://startbootstrap.com/template-overviews/simple-sidebar/)
|
||||
* Install via npm: `npm i startbootstrap-simple-sidebar`
|
||||
* Clone the repo: `git clone https://github.com/BlackrockDigital/startbootstrap-simple-sidebar.git`
|
||||
* [Fork, Clone, or Download on GitHub](https://github.com/BlackrockDigital/startbootstrap-simple-sidebar)
|
||||
|
||||
## Usage
|
||||
|
||||
### Basic Usage
|
||||
|
||||
After downloading, simply edit the HTML and CSS files included with the template in your favorite text editor to make changes. These are the only files you need to worry about, you can ignore everything else! To preview the changes you make to the code, you can open the `index.html` file in your web browser.
|
||||
|
||||
### Advanced Usage
|
||||
|
||||
After installation, run `npm install` and then run `npm start` which will open up a preview of the template in your default browser, watch for changes to core template files, and live reload the browser when changes are saved. You can view the `gulpfile.js` to see which tasks are included with the dev environment.
|
||||
|
||||
You must have npm and Gulp installed globally on your machine in order to use these features.
|
||||
|
||||
## Bugs and Issues
|
||||
|
||||
Have a bug or an issue with this template? [Open a new issue](https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/issues) here on GitHub or leave a comment on the [template overview page at Start Bootstrap](http://startbootstrap.com/template-overviews/simple-sidebar/).
|
||||
|
||||
## About
|
||||
|
||||
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
|
||||
|
||||
* https://startbootstrap.com
|
||||
* https://twitter.com/SBootstrap
|
||||
|
||||
Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**, Owner of [Blackrock Digital](http://blackrockdigital.io/).
|
||||
|
||||
* http://davidmiller.io
|
||||
* https://twitter.com/davidmillerskt
|
||||
* https://github.com/davidtmiller
|
||||
|
||||
Start Bootstrap is based on the [Bootstrap](http://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat).
|
||||
|
||||
## Copyright and License
|
||||
|
||||
Copyright 2013-2019 Blackrock Digital LLC. Code released under the [MIT](https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/blob/gh-pages/LICENSE) license.
|
||||
Fitur:
|
||||
- Data realtime dilengkapi map
|
||||
- Berita mengenai corona
|
||||
- Info rumah sakit rujukan
|
||||
- Hotline corona setiap provinsi
|
||||
- Test dengan hasil kondisi dan rekomendasi tindakan
|
||||
|
|
|
@ -22,37 +22,37 @@
|
|||
<body>
|
||||
<div class="wrapper">
|
||||
<!-- Sidebar -->
|
||||
<nav id="sidebar">
|
||||
<nav id="sidebar">
|
||||
<div class="sidebar-header">
|
||||
<h3>Info Corona</h3>
|
||||
</div>
|
||||
|
||||
<ul class="list-unstyled components">
|
||||
<p align="center">Berita</p>
|
||||
<ul class="list-unstyled components" style="font-size: 1rem;">
|
||||
<p align="center">Live Corona Data</p>
|
||||
<li>
|
||||
<a href="/">Beranda</a>
|
||||
<a href="/"><i class="fas fa-chart-bar icon mr-3 ml-3 fa-fw"></i>Beranda</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/berita">Berita</a>
|
||||
<a href="/berita"><i class="fas fa-newspaper icon mr-3 ml-3 fa-fw"></i>Berita</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/rumahsakit">Info Rumah Sakit</a>
|
||||
<a href="/rumahsakit"><i class="fas fa-hospital icon mr-3 ml-3 fa-fw"></i>Info Rumah Sakit</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/prediksi">Prediksi</a>
|
||||
<a href="/prediksi"><i class="fas fa-diagnoses icon mr-3 ml-3 fa-fw"></i>Prediksi</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kontak">Kontak</a>
|
||||
<a href="/kontak"><i class="fas fa-phone fa-flip-horizontal icon mr-3 ml-3 fa-fw"></i>Kontak</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="list-unstyled CTAs">
|
||||
<li>
|
||||
<a href="/dev" class="download">Developer web</a>
|
||||
<a href="/dev" class="download"><i class="fas fa-code icon mr-3 fa-fw"></i>Developer web</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
<!-- Page Content -->
|
||||
<div id="content">
|
||||
|
||||
|
@ -87,4 +87,4 @@
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -22,33 +22,33 @@
|
|||
<body>
|
||||
<div class="wrapper">
|
||||
<!-- Sidebar -->
|
||||
<nav id="sidebar">
|
||||
<nav id="sidebar">
|
||||
<div class="sidebar-header">
|
||||
<h3>Info Corona</h3>
|
||||
</div>
|
||||
|
||||
<ul class="list-unstyled components">
|
||||
<p align="center">Developer Website</p>
|
||||
<ul class="list-unstyled components" style="font-size: 1rem;">
|
||||
<p align="center">Live Corona Data</p>
|
||||
<li>
|
||||
<a href="/">Beranda</a>
|
||||
<a href="/"><i class="fas fa-chart-bar icon mr-3 ml-3 fa-fw"></i>Beranda</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/berita">Berita</a>
|
||||
<a href="/berita"><i class="fas fa-newspaper icon mr-3 ml-3 fa-fw"></i>Berita</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/rumahsakit">Info Rumah Sakit</a>
|
||||
<a href="/rumahsakit"><i class="fas fa-hospital icon mr-3 ml-3 fa-fw"></i>Info Rumah Sakit</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/prediksi">Prediksi</a>
|
||||
<a href="/prediksi"><i class="fas fa-diagnoses icon mr-3 ml-3 fa-fw"></i>Prediksi</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kontak">Kontak</a>
|
||||
<a href="/kontak"><i class="fas fa-phone fa-flip-horizontal icon mr-3 ml-3 fa-fw"></i>Kontak</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="list-unstyled CTAs">
|
||||
<li>
|
||||
<a href="/dev" class="download">Developer web</a>
|
||||
<a href="/dev" class="download"><i class="fas fa-code icon mr-3 fa-fw"></i>Developer web</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
@ -93,4 +93,4 @@
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
86
index.php
86
index.php
|
@ -2,17 +2,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
<title>Beranda | info-corona.id</title>
|
||||
<title>Rumah Sakit Rujukan | info-corona.id</title>
|
||||
|
||||
<!-- Bootstrap CSS CDN -->
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
|
||||
<!-- Our Custom CSS -->
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.min.css" rel="stylesheet"/>
|
||||
<link href="../vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
|
||||
<link href="../css/simple-sidebar.css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="../style.css">
|
||||
|
||||
<!-- Font Awesome JS -->
|
||||
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/solid.js" integrity="sha384-tzzSw1/Vo+0N5UhStP3bvwWPq+uvzCMfrN1fEFe+xBmv1C/AtVX5K0uZtmcHitFZ" crossorigin="anonymous"></script>
|
||||
|
@ -20,46 +23,48 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<?php
|
||||
<?php
|
||||
$url='https://api.kawalcorona.com/indonesia';
|
||||
$reqs = file_get_contents($url);
|
||||
$json = json_decode($reqs);
|
||||
?>
|
||||
<div class="d-flex" id="wrapper">
|
||||
<div class="wrapper">
|
||||
<!-- Sidebar -->
|
||||
<nav id="sidebar">
|
||||
<nav id="sidebar">
|
||||
<div class="sidebar-header">
|
||||
<h3>Info Corona</h3>
|
||||
</div>
|
||||
|
||||
<ul class="list-unstyled components">
|
||||
<ul class="list-unstyled components" style="font-size: 1rem;">
|
||||
<p align="center">Live Corona Data</p>
|
||||
<li>
|
||||
<a href="/">Beranda</a>
|
||||
<a href="/"><i class="fas fa-chart-bar icon mr-3 ml-3 fa-fw"></i>Beranda</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/berita">Berita</a>
|
||||
<a href="/berita"><i class="fas fa-newspaper icon mr-3 ml-3 fa-fw"></i>Berita</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/rumahsakit">Info Rumah Sakit</a>
|
||||
<a href="/rumahsakit"><i class="fas fa-hospital icon mr-3 ml-3 fa-fw"></i>Info Rumah Sakit</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/prediksi">Prediksi</a>
|
||||
<a href="/prediksi"><i class="fas fa-diagnoses icon mr-3 ml-3 fa-fw"></i>Prediksi</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kontak">Kontak</a>
|
||||
<a href="/kontak"><i class="fas fa-phone fa-flip-horizontal icon mr-3 ml-3 fa-fw"></i>Kontak</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="list-unstyled CTAs">
|
||||
<li>
|
||||
<a href="/dev" class="download">Developer web</a>
|
||||
<a href="/dev" class="download"><i class="fas fa-code icon mr-3 fa-fw"></i>Developer web</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
<!-- Page Content -->
|
||||
<div id="content">
|
||||
|
||||
<div id="content">
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||
<div class="container-fluid">
|
||||
|
@ -109,11 +114,9 @@ $json = json_decode($reqs);
|
|||
</div>
|
||||
</div>
|
||||
<iframe src="./indo.html" height="500" width="100%" frameborder="0" class="pt-4"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<label for="input">Cari provinsi</label>
|
||||
<input type='text' id='input' onkeyup='searchTable()' placeholder="Cari berdasarkan provinsi" class="form-control" width="10px">
|
||||
<label for="input" class="pt-2">Cari rumah sakit</label>
|
||||
<input type='text' id='input' onkeyup='searchTable()' placeholder="Cari rumah sakit" class="form-control" width="10px">
|
||||
<br>
|
||||
<table class="table table-striped table-bordered" id="table" data-toggle="table">
|
||||
<thead>
|
||||
|
@ -153,18 +156,47 @@ $json = json_decode($reqs);
|
|||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<h6 align="center">Data from <a href="https://inacovid19.maps.arcgis.com/apps/opsdashboard/index.html#/4411f5e9c69d4ca4be31ac805a0267be">https://inacovid19.maps.arcgis.com/ </a></h6>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery CDN - Slim version (=without AJAX) -->
|
||||
<h6 align="center">Data from <a href="https://www.facebook.com/photo?fbid=2780181498702981"> Official Facebook Kominfo </h6>
|
||||
</div><!-- jQuery CDN - Slim version (=without AJAX) -->
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
||||
<!-- Popper.JS -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="vendor/jquery/jquery.min.js"></script>
|
||||
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.1/bootstrap-table.min.js"></script>
|
||||
<script>
|
||||
function searchTable() {
|
||||
var input;
|
||||
var saring;
|
||||
var status;
|
||||
var tbody;
|
||||
var tr;
|
||||
var td;
|
||||
var i;
|
||||
var j;
|
||||
input = document.getElementById("input");
|
||||
saring = input.value.toUpperCase();
|
||||
tbody = document.getElementsByTagName("tbody")[0];;
|
||||
tr = tbody.getElementsByTagName("tr");
|
||||
for (i = 0; i < tr.length; i++) {
|
||||
td = tr[i].getElementsByTagName("td");
|
||||
for (j = 0; j < td.length; j++) {
|
||||
if (td[j].innerHTML.toUpperCase().indexOf(saring) > -1) {
|
||||
status = true;
|
||||
}
|
||||
}
|
||||
if (status) {
|
||||
tr[i].style.display = "";
|
||||
status = false;
|
||||
} else {
|
||||
tr[i].style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$('#sidebarCollapse').on('click', function () {
|
||||
|
@ -174,4 +206,4 @@ $json = json_decode($reqs);
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
Binary file not shown.
|
@ -26,33 +26,33 @@
|
|||
<div class="d-flex" id="wrapper">
|
||||
<div class="wrapper">
|
||||
<!-- Sidebar -->
|
||||
<nav id="sidebar">
|
||||
<nav id="sidebar">
|
||||
<div class="sidebar-header">
|
||||
<h3>Info Corona</h3>
|
||||
</div>
|
||||
|
||||
<ul class="list-unstyled components">
|
||||
<p align="center">Hotline Corona</p>
|
||||
<ul class="list-unstyled components" style="font-size: 1rem;">
|
||||
<p align="center">Live Corona Data</p>
|
||||
<li>
|
||||
<a href="/">Beranda</a>
|
||||
<a href="/"><i class="fas fa-chart-bar icon mr-3 ml-3 fa-fw"></i>Beranda</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/berita">Berita</a>
|
||||
<a href="/berita"><i class="fas fa-newspaper icon mr-3 ml-3 fa-fw"></i>Berita</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/rumahsakit">Info Rumah Sakit</a>
|
||||
<a href="/rumahsakit"><i class="fas fa-hospital icon mr-3 ml-3 fa-fw"></i>Info Rumah Sakit</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/prediksi">Prediksi</a>
|
||||
<a href="/prediksi"><i class="fas fa-diagnoses icon mr-3 ml-3 fa-fw"></i>Prediksi</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kontak">Kontak</a>
|
||||
<a href="/kontak"><i class="fas fa-phone fa-flip-horizontal icon mr-3 ml-3 fa-fw"></i>Kontak</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="list-unstyled CTAs">
|
||||
<li>
|
||||
<a href="/dev" class="download">Developer web</a>
|
||||
<a href="/dev" class="download"><i class="fas fa-code icon mr-3 fa-fw"></i>Developer web</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
@ -473,4 +473,4 @@
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -25,33 +25,33 @@
|
|||
<div class="d-flex" id="wrapper">
|
||||
<div class="wrapper">
|
||||
<!-- Sidebar -->
|
||||
<nav id="sidebar">
|
||||
<nav id="sidebar">
|
||||
<div class="sidebar-header">
|
||||
<h3>Info Corona</h3>
|
||||
</div>
|
||||
|
||||
<ul class="list-unstyled components">
|
||||
<p align="center">Rumah Sakit Rujukan</p>
|
||||
<ul class="list-unstyled components" style="font-size: 1rem;">
|
||||
<p align="center">Live Corona Data</p>
|
||||
<li>
|
||||
<a href="/">Beranda</a>
|
||||
<a href="/"><i class="fas fa-chart-bar icon mr-3 ml-3 fa-fw"></i>Beranda</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/berita">Berita</a>
|
||||
<a href="/berita"><i class="fas fa-newspaper icon mr-3 ml-3 fa-fw"></i>Berita</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/rumahsakit">Info Rumah Sakit</a>
|
||||
<a href="/rumahsakit"><i class="fas fa-hospital icon mr-3 ml-3 fa-fw"></i>Info Rumah Sakit</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/prediksi">Prediksi</a>
|
||||
<a href="/prediksi"><i class="fas fa-diagnoses icon mr-3 ml-3 fa-fw"></i>Prediksi</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kontak">Kontak</a>
|
||||
<a href="/kontak"><i class="fas fa-phone fa-flip-horizontal icon mr-3 ml-3 fa-fw"></i>Kontak</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="list-unstyled CTAs">
|
||||
<li>
|
||||
<a href="/dev" class="download">Developer web</a>
|
||||
<a href="/dev" class="download"><i class="fas fa-code icon mr-3 fa-fw"></i>Developer web</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
@ -164,4 +164,4 @@
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue