Commit New added interfaces

parent a7f0898c
Pipeline #6242 canceled with stages
......@@ -119,7 +119,32 @@
<div class="col-6">
<div class="form-group">
<label>District</label>
<input type="text" name="district" class="form-control" placeholder="District">
<select class="form-control" name="district" aria-label="Default select example">
<option selected value="Colombo">Colombo</option>
<option value="Ampara">Ampara</option>
<option value="Anuradhapura">Anuradhapura</option>
<option value="Badulla">Badulla</option>
<option value="Batticaloa">Batticaloa</option>
<option value="Galle">Galle</option>
<option value="Gampaha">Gampaha</option>
<option value="Hambantota">Hambantota</option>
<option value="Jaffna">Jaffna</option>
<option value="Kalutara">Kalutara</option>
<option value="Kandy">Kandy</option>
<option value="Kegalle">Kegalle</option>
<option value="Kilinochchi">Kilinochchi</option>
<option value="Mannar">Mannar</option>
<option value="Matale">Matale</option>
<option value="Matara">Matara</option>
<option value="Monaragala">Monaragala</option>
<option value="Mullativu">Mullativu</option>
<option value="Nuwaraeliya">Nuwaraeliya</option>
<option value="Polonnaruwa">Polonnaruwa</option>
<option value="Puttalam">Puttalam</option>
<option value="Ratnapura">Ratnapura</option>
<option value="Trincomalee">Trincomalee</option>
<option value="Vavuniya">Vavuniya</option>
</select>
</div>
</div>
......@@ -130,6 +155,18 @@
<input type="text" name="city" class="form-control" placeholder="City">
</div>
</div>
<div class="col-6">
<div class="form-group">
<label>Hospital Type</label>
<select class="form-control" name="hospital_type" aria-label="Default select example">
<option selected value="Colombo">One</option>
<option value="Ampara">Two</option>
<option value="Anuradhapura">Three</option>
</select>
</div>
</div>
<div class="col-6">
<div class="form-group">
<label>Email</label>
......@@ -138,8 +175,8 @@
</div>
<div class="col-6">
<div class="form-group">
<label>Mobile</label>
<input type="number" name="mobile" class="form-control" placeholder="Mobile">
<label>Phone</label>
<input type="number" name="mobile" class="form-control" placeholder="Phone">
</div>
</div>
<div class="col-12">
......
......@@ -117,7 +117,32 @@
<div class="col-6">
<div class="form-group">
<label>District</label>
<input type="text" name="district" class="form-control" placeholder="District">
<select class="form-control" name="district" aria-label="Default select example">
<option selected value="Colombo">Colombo</option>
<option value="Ampara">Ampara</option>
<option value="Anuradhapura">Anuradhapura</option>
<option value="Badulla">Badulla</option>
<option value="Batticaloa">Batticaloa</option>
<option value="Galle">Galle</option>
<option value="Gampaha">Gampaha</option>
<option value="Hambantota">Hambantota</option>
<option value="Jaffna">Jaffna</option>
<option value="Kalutara">Kalutara</option>
<option value="Kandy">Kandy</option>
<option value="Kegalle">Kegalle</option>
<option value="Kilinochchi">Kilinochchi</option>
<option value="Mannar">Mannar</option>
<option value="Matale">Matale</option>
<option value="Matara">Matara</option>
<option value="Monaragala">Monaragala</option>
<option value="Mullativu">Mullativu</option>
<option value="Nuwaraeliya">Nuwaraeliya</option>
<option value="Polonnaruwa">Polonnaruwa</option>
<option value="Puttalam">Puttalam</option>
<option value="Ratnapura">Ratnapura</option>
<option value="Trincomalee">Trincomalee</option>
<option value="Vavuniya">Vavuniya</option>
</select>
</div>
</div>
<div class="col-6">
......
......@@ -52,169 +52,7 @@
<span class="line"></span>
</div>
</div>
<div class="float-right">
<div class="dropdown dib">
<div class="header-icon" data-toggle="dropdown">
<i class="ti-bell"></i>
<div class="drop-down dropdown-menu dropdown-menu-right">
<div class="dropdown-content-heading">
<span class="text-left">Recent Notifications</span>
</div>
<div class="dropdown-content-body">
<ul>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img" src="assets/images/avatar/3.jpg" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34 PM</small>
<div class="notification-heading">Mr. John</div>
<div class="notification-text">5 members joined today </div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img" src="assets/images/avatar/3.jpg" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34 PM</small>
<div class="notification-heading">Mariam</div>
<div class="notification-text">likes a photo of you</div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img" src="assets/images/avatar/3.jpg" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34 PM</small>
<div class="notification-heading">Tasnim</div>
<div class="notification-text">Hi Teddy, Just wanted to let you ...</div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img" src="assets/images/avatar/3.jpg" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34 PM</small>
<div class="notification-heading">Mr. John</div>
<div class="notification-text">Hi Teddy, Just wanted to let you ...</div>
</div>
</a>
</li>
<li class="text-center">
<a href="#" class="more-link">See All</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="dropdown dib">
<div class="header-icon" data-toggle="dropdown">
<i class="ti-email"></i>
<div class="drop-down dropdown-menu dropdown-menu-right">
<div class="dropdown-content-heading">
<span class="text-left">2 New Messages</span>
<a href="email.html">
<i class="ti-pencil-alt pull-right"></i>
</a>
</div>
<div class="dropdown-content-body">
<ul>
<li class="notification-unread">
<a href="#">
<img class="pull-left m-r-10 avatar-img" src="assets/images/avatar/1.jpg" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34 PM</small>
<div class="notification-heading">Michael Qin</div>
<div class="notification-text">Hi Teddy, Just wanted to let you ...</div>
</div>
</a>
</li>
<li class="notification-unread">
<a href="#">
<img class="pull-left m-r-10 avatar-img" src="assets/images/avatar/2.jpg" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34 PM</small>
<div class="notification-heading">Mr. John</div>
<div class="notification-text">Hi Teddy, Just wanted to let you ...</div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img" src="assets/images/avatar/3.jpg" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34 PM</small>
<div class="notification-heading">Michael Qin</div>
<div class="notification-text">Hi Teddy, Just wanted to let you ...</div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img" src="assets/images/avatar/2.jpg" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34 PM</small>
<div class="notification-heading">Mr. John</div>
<div class="notification-text">Hi Teddy, Just wanted to let you ...</div>
</div>
</a>
</li>
<li class="text-center">
<a href="#" class="more-link">See All</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="dropdown dib">
<div class="header-icon" data-toggle="dropdown">
<span class="user-avatar">Sam
<i class="ti-angle-down f-s-10"></i>
</span>
<div class="drop-down dropdown-profile dropdown-menu dropdown-menu-right">
<div class="dropdown-content-body">
<ul>
<li>
<a href="#">
<i class="ti-user"></i>
<span>Profile</span>
</a>
</li>
<li>
<a href="#">
<i class="ti-email"></i>
<span>Inbox</span>
</a>
</li>
<li>
<a href="#">
<i class="ti-settings"></i>
<span>Setting</span>
</a>
</li>
<li>
<a href="#">
<i class="ti-lock"></i>
<span>Lock Screen</span>
</a>
</li>
<li>
<a href="#">
<i class="ti-power-off"></i>
<span>Logout</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
......@@ -230,9 +68,9 @@
<div class="col-lg-8 p-r-0 title-margin-right">
<div class="page-header">
<div class="page-title">
<h1>Hello,
<!-- <h1>Hello,
<span>Welcome Here</span>
</h1>
</h1> -->
</div>
</div>
</div>
......@@ -259,64 +97,14 @@
<div class="card-body">
<div class="user-profile">
<div class="row">
<div class="col-lg-4">
<div class="user-photo m-b-30">
<img class="img-fluid" src="assets/images/user-profile.jpg" alt="" />
</div>
<div class="user-work">
<h4>work</h4>
<div class="work-content">
<h3>It Solution </h3>
<p>123, South Mugda</p>
<p>New York, 1214</p>
</div>
<div class="work-content">
<h3>Unix</h3>
<p>123, South Mugda</p>
<p>New York, 1214</p>
</div>
</div>
<div class="user-skill">
<h4>Skill</h4>
<ul>
<li>
<a href="#">Branding</a>
</li>
<li>
<a href="#">UI/UX</a>
</li>
<li>
<a href="#">Web Design</a>
</li>
<li>
<a href="#">Wordpress</a>
</li>
<li>
<a href="#">Magento</a>
</li>
</ul>
</div>
</div>
<div class="col-lg-8">
<div class="user-profile-name">Sam doe</div>
<div class="user-profile-name">{{u_name}}</div>
<div class="user-Location">
<i class="ti-location-pin"></i> Srilanka, Colombo</div>
<div class="user-job-title">Doctor</div>
<div class="ratings">
<h4>Ratings</h4>
<div class="rating-star">
<span>8.9</span>
<i class="ti-star color-primary"></i>
<i class="ti-star color-primary"></i>
<i class="ti-star color-primary"></i>
<i class="ti-star color-primary"></i>
<i class="ti-star"></i>
</div>
</div>
<div class="user-send-message">
<button class="btn btn-primary btn-addon" type="button">
<i class="ti-email"></i>Send Message</button>
</div>
<i class="ti-location-pin"></i> Srilanka</div>
<div class="user-job-title">{{role}}</div>
<div class="custom-tab user-profile-tab">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active">
......@@ -329,21 +117,21 @@
<h4>Contact information</h4>
<div class="phone-content">
<span class="contact-title">Phone:</span>
<span class="phone-number">+8801629599859</span>
</div>
<div class="address-content">
<span class="contact-title">Address:</span>
<span class="mail-address">123, Rajar Goli, South Mugda</span>
<span class="phone-number">{{mobile}}</span>
</div>
<div class="email-content">
<span class="contact-title">Email:</span>
<span class="contact-email">hello@Admin Board.com</span>
<span class="contact-email">{{email}}</span>
</div>
<div class="address-content">
<span class="contact-title">Hospital Name:</span>
<span class="mail-address">{{hospital_name}}</span>
</div>
<div class="website-content">
<span class="contact-title">Website:</span>
<span class="contact-website">www.Admin Board.com</span>
<span class="contact-title">Pharmacy Name:</span>
<span class="contact-website">{{pharmacy_name}}</span>
</div>
<div class="skype-content">
<!-- <div class="skype-content">
<span class="contact-title">Skype:</span>
<span class="contact-skype">Admin Board</span>
</div>
......@@ -358,7 +146,7 @@
<span class="contact-title">Gender:</span>
<span class="gender">Male</span>
</div>
</div>
</div> -->
</div>
</div>
</div>
......
......@@ -104,13 +104,13 @@
<div class="card">
<!--Table-->
<table class="table table-striped w-auto">
<table id="example" class="table table-striped table-bordered" style="width:100%">
<!--Table head-->
<thead>
<tr>
<th>#</th>
<th>Hospital</th>
<!-- <th>Hospital</th> -->
<th>Medicine</th>
<th>Country</th>
<th>Company</th>
......@@ -131,7 +131,7 @@
{% for data in all_data %}
<tr class="table-info">
<th scope="row"> {{data.id}} </th>
<td> {{data.med_hospital_name}} </td>
<!-- <td> {{data.med_hospital_name}} </td> -->
<td> {{data.med_name}} </td>
<td> {{data.country}} </td>
<td> {{data.company}} </td>
......@@ -288,8 +288,15 @@
<script src="{% static 'js/lib/owl-carousel/owl.carousel-init.js' %}"></script>
<!-- scripit init-->
<script src="{% static 'js/dashboard2.js' %}"></script>
<script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<script>
$(document).ready(function () {
$('#example').DataTable();
});
function addQTy(val,qty){
console.log(val)
$('#med_id').val(val);
......
......@@ -50,197 +50,7 @@
<span class="line"></span>
<span class="line"></span>
</div>
</div>
<div class="float-right">
<div class="dropdown dib">
<div class="header-icon" data-toggle="dropdown">
<i class="ti-bell"></i>
<div class="drop-down dropdown-menu dropdown-menu-right">
<div class="dropdown-content-heading">
<span class="text-left">Recent Notifications</span>
</div>
<div class="dropdown-content-body">
<ul>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img"
src="{% static 'images/avatar/3.jpg' %}" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34
PM</small>
<div class="notification-heading">User One</div>
<div class="notification-text">5 members joined today </div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img"
src="{% static 'images/avatar/3.jpg' %}" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34
PM</small>
<div class="notification-heading">Mariam</div>
<div class="notification-text">likes a photo of you</div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img"
src="{% static 'images/avatar/3.jpg' %}" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34
PM</small>
<div class="notification-heading">Tasnim</div>
<div class="notification-text">Hi Teddy, Just wanted to let you
...</div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img"
src="{% static 'images/avatar/3.jpg' %}" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34
PM</small>
<div class="notification-heading">Mr. John</div>
<div class="notification-text">Hi Teddy, Just wanted to let you
...</div>
</div>
</a>
</li>
<li class="text-center">
<a href="#" class="more-link">See All</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="dropdown dib">
<div class="header-icon" data-toggle="dropdown">
<i class="ti-email"></i>
<div class="drop-down dropdown-menu dropdown-menu-right">
<div class="dropdown-content-heading">
<span class="text-left">2 New Messages</span>
<a href="email.html">
<i class="ti-pencil-alt pull-right"></i>
</a>
</div>
<div class="dropdown-content-body">
<ul>
<li class="notification-unread">
<a href="#">
<img class="pull-left m-r-10 avatar-img"
src="{% static 'images/avatar/1.jpg' %}" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34
PM</small>
<div class="notification-heading">Michael Qin</div>
<div class="notification-text">Hi Teddy, Just wanted to let you
...</div>
</div>
</a>
</li>
<li class="notification-unread">
<a href="#">
<img class="pull-left m-r-10 avatar-img"
src="{% static 'images/avatar/2.jpg' %}" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34
PM</small>
<div class="notification-heading">Mr. John</div>
<div class="notification-text">Hi Teddy, Just wanted to let you
...</div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img"
src="{% static 'images/avatar/3.jpg' %}" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34
PM</small>
<div class="notification-heading">Michael Qin</div>
<div class="notification-text">Hi Teddy, Just wanted to let you
...</div>
</div>
</a>
</li>
<li>
<a href="#">
<img class="pull-left m-r-10 avatar-img"
src="{% static 'images/avatar/2.jpg' %}" alt="" />
<div class="notification-content">
<small class="notification-timestamp pull-right">02:34
PM</small>
<div class="notification-heading">Mr. John</div>
<div class="notification-text">Hi Teddy, Just wanted to let you
...</div>
</div>
</a>
</li>
<li class="text-center">
<a href="#" class="more-link">See All</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="dropdown dib">
<div class="header-icon" data-toggle="dropdown">
<span class="user-avatar">User One
<i class="ti-angle-down f-s-10"></i>
</span>
<div class="drop-down dropdown-profile dropdown-menu dropdown-menu-right">
<div class="dropdown-content-heading">
<span class="text-left">Upgrade Now</span>
<p class="trial-day">30 Days Trail</p>
</div>
<div class="dropdown-content-body">
<ul>
<li>
<a href="#">
<i class="ti-user"></i>
<span>Profile</span>
</a>
</li>
<li>
<a href="#">
<i class="ti-email"></i>
<span>Inbox</span>
</a>
</li>
<li>
<a href="#">
<i class="ti-settings"></i>
<span>Setting</span>
</a>
</li>
<li>
<a href="#">
<i class="ti-lock"></i>
<span>Lock Screen</span>
</a>
</li>
<li>
<a href="#">
<i class="ti-power-off"></i>
<span>Logout</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
......@@ -372,7 +182,7 @@
<th>RMSD Status</th>
<th>CMSD Status</th>
<th>Status</th>
<th>Action</th>
<!-- <th>Action</th> -->
</tr>
</thead>
<tbody>
......@@ -424,7 +234,7 @@
<td style="color: rgb(176, 74, 73);">Pending</td>
{% endif %}
<td><a href="#" onclick="viewOrder('{{data.id}}')"><i class="ti-eye"></i></a></td>
<!-- <td><a href="#" onclick="viewOrder('{{data.id}}')"><i class="ti-eye"></i></a></td> -->
</tr>
{% endfor %}
{% else %}
......
......@@ -92,7 +92,7 @@
<div class="card">
<!--Table-->
<table class="table table-striped w-auto">
<table id="example" class="table table-striped table-bordered" style="width:100%">
<!--Table head-->
<thead>
......@@ -196,9 +196,17 @@
<script src="{% static 'js/lib/sparklinechart/sparkline.init.js' %}"></script>
<script src="{% static 'js/lib/owl-carousel/owl.carousel.min.js' %}"></script>
<script src="{% static 'js/lib/owl-carousel/owl.carousel-init.js' %}"></script>
<script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<!-- scripit init-->
<script src="{% static 'js/dashboard2.js' %}"></script>
<script>
$(document).ready(function () {
$('#example').DataTable();
});
</script>
</body>
</html>
\ No newline at end of file
......@@ -267,7 +267,7 @@
<div class="card">
<!--Table-->
<table class="table table-striped w-auto">
<table id="example" class="table table-striped table-bordered" style="width:100%">
<!--Table head-->
<thead>
......@@ -458,8 +458,15 @@
<script src="{% static 'js/lib/owl-carousel/owl.carousel-init.js' %}"></script>
<!-- scripit init-->
<script src="{% static 'js/dashboard2.js' %}"></script>
<script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<script>
$(document).ready(function () {
$('#example').DataTable();
});
function viewOrder(val){
console.log(val)
$('#order_id').val(val);
......
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>All Hospital</title>
<!-- ================= Favicon ================== -->
<!-- Standard -->
<link rel="shortcut icon" href="http://placehold.it/64.png/000/fff">
<!-- Retina iPad Touch Icon-->
<link rel="apple-touch-icon" sizes="144x144" href="http://placehold.it/144.png/000/fff">
<!-- Retina iPhone Touch Icon-->
<link rel="apple-touch-icon" sizes="114x114" href="http://placehold.it/114.png/000/fff">
<!-- Standard iPad Touch Icon-->
<link rel="apple-touch-icon" sizes="72x72" href="http://placehold.it/72.png/000/fff">
<!-- Standard iPhone Touch Icon-->
<link rel="apple-touch-icon" sizes="57x57" href="http://placehold.it/57.png/000/fff">
<!-- Styles -->
<link href="{% static 'css/lib/calendar2/pignose.calendar.min.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/chartist/chartist.min.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/font-awesome.min.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/themify-icons.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/owl.carousel.min.css' %}" rel="stylesheet" />
<link href="{% static 'css/lib/owl.theme.default.min.css' %}" rel="stylesheet" />
<link href="{% static 'css/lib/weather-icons.css' %}" rel="stylesheet" />
<link href="{% static 'css/lib/menubar/sidebar.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/bootstrap.min.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/helper.css' %}" rel="stylesheet">
<link href="{% static 'css/style.css' %}" rel="stylesheet">
</head>
<body>
{% include "sidebar/sidebar.html" %}
<!-- /# sidebar -->
<div class="header">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="float-left">
<div class="hamburger sidebar-toggle">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content-wrap">
<div class="main">
<div class="container-fluid">
<div class="row">
<div class="col-lg-8 p-r-0 title-margin-right">
<div class="page-header">
<!-- <div class="page-title">
<h1>Hello, <span>Welcome Here</span></h1>
</div> -->
</div>
</div>
<!-- /# column -->
<div class="col-lg-4 p-l-0 title-margin-left">
<div class="page-header">
<div class="page-title">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Dashboard</a></li>
<li class="breadcrumb-item active">All Hospital</li>
</ol>
</div>
</div>
</div>
<!-- /# column -->
</div>
<!-- /# row -->
<div id="main-content">
<div class="row" style="margin-left: 40px;" >
<form action="grt_predict" method="POST">
{% csrf_token %}
<label for="mname">Medicine Name:</label><br>
<input type="text" name="med_name" placeholder="Enter Medicine Name"><br><br>
<label for="fname">Get Selling Predict by Year:</label><br>
<input type="number" name="predict_year" placeholder="Enter Year"><br><br>
<input type="submit" value="Submit">
</form>
</div>
<div class="row">
<div class="col-lg-12">
<div class="card">
<h2>Sales - {{Predicted_sales}}</h2>
</div>
<!-- /# card -->
</div>
<!-- /# column -->
</div>
<!-- /# row -->
<div class="row">
<div class="col-lg-12">
<div class="footer">
<p>2022 © Admin. - <a href="#">projectX.com</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- jquery vendor -->
<script src="{% static 'js/lib/jquery.min.js' %}"></script>
<script src="{% static 'js/lib/jquery.nanoscroller.min.js' %}"></script>
<!-- nano scroller -->
<script src="{% static 'js/lib/menubar/sidebar.js' %}"></script>
<script src="{% static 'js/lib/preloader/pace.min.js' %}"></script>
<!-- sidebar -->
<script src="{% static 'js/lib/bootstrap.min.js' %}"></script>
<script src="{% static 'js/scripts.js' %}"></script>
<!-- bootstrap -->
<script src="{% static 'js/lib/calendar-2/moment.latest.min.js' %}"></script>
<script src="{% static 'js/lib/calendar-2/pignose.calendar.min.js' %}"></script>
<script src="{% static 'js/lib/calendar-2/pignose.init.js' %}"></script>
<script src="{% static 'js/lib/weather/jquery.simpleWeather.min.js' %}"></script>
<script src="{% static 'js/lib/weather/weather-init.js' %}"></script>
<script src="{% static 'js/lib/circle-progress/circle-progress.min.js' %}"></script>
<script src="{% static 'js/lib/circle-progress/circle-progress-init.js' %}"></script>
<script src="{% static 'js/lib/chartist/chartist.min.js' %}"></script>
<script src="{% static 'js/lib/sparklinechart/jquery.sparkline.min.js' %}"></script>
<script src="{% static 'js/lib/sparklinechart/sparkline.init.js' %}"></script>
<script src="{% static 'js/lib/owl-carousel/owl.carousel.min.js' %}"></script>
<script src="{% static 'js/lib/owl-carousel/owl.carousel-init.js' %}"></script>
<script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<!-- scripit init-->
<script src="{% static 'js/dashboard2.js' %}"></script>
<script>
$(document).ready(function () {
$('#example').DataTable();
});
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Project-X</title>
<style>
th,td{
padding:3px;
text-align: center;
}
th{
background-color:black;
color:white;
}
</style>
</head>
<body>
<div id="header_content">
Project-X
</div>
<div>
<table class="table" border="1" style="margin-top: 20px;">
<tr>
<th>#</th>
<th>Country</th>
<th>Market </th>
<th>Product_id</th>
<th>Product_name</th>
<th>Sales</th>
<th>Order_priority</th>
</tr>
{% if d %}
{% for i in d %}
<tr>
<td> {{i.order_id}} </td>
<td> {{i.country}} </td>
<td> {{i.market}} </td>
<td> {{i.product_id}} </td>
<td> {{i.product_name}} </td>
<td> {{i.sales}} </td>
<td> {{i.order_priority}} </td>
</tr>
{% endfor %}
{% else %}
There are no records in the system
{% endif %}
</table>
</div>
<!-- <div id="footer_content">
Pdf Page No. <pdf:pagenumber> / Total Page : <pdf:pagecount>
</div> -->
</body>
</html>
\ No newline at end of file
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>All Hospital</title>
<!-- ================= Favicon ================== -->
<!-- Standard -->
<link rel="shortcut icon" href="http://placehold.it/64.png/000/fff">
<!-- Retina iPad Touch Icon-->
<link rel="apple-touch-icon" sizes="144x144" href="http://placehold.it/144.png/000/fff">
<!-- Retina iPhone Touch Icon-->
<link rel="apple-touch-icon" sizes="114x114" href="http://placehold.it/114.png/000/fff">
<!-- Standard iPad Touch Icon-->
<link rel="apple-touch-icon" sizes="72x72" href="http://placehold.it/72.png/000/fff">
<!-- Standard iPhone Touch Icon-->
<link rel="apple-touch-icon" sizes="57x57" href="http://placehold.it/57.png/000/fff">
<!-- Styles -->
<link href="{% static 'css/lib/calendar2/pignose.calendar.min.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/chartist/chartist.min.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/font-awesome.min.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/themify-icons.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/owl.carousel.min.css' %}" rel="stylesheet" />
<link href="{% static 'css/lib/owl.theme.default.min.css' %}" rel="stylesheet" />
<link href="{% static 'css/lib/weather-icons.css' %}" rel="stylesheet" />
<link href="{% static 'css/lib/menubar/sidebar.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/bootstrap.min.css' %}" rel="stylesheet">
<link href="{% static 'css/lib/helper.css' %}" rel="stylesheet">
<link href="{% static 'css/style.css' %}" rel="stylesheet">
</head>
<body>
{% include "sidebar/sidebar.html" %}
<!-- /# sidebar -->
<div class="header">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="float-left">
<div class="hamburger sidebar-toggle">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content-wrap">
<div class="main">
<div class="container-fluid">
<div class="row">
<div class="col-lg-8 p-r-0 title-margin-right">
<div class="page-header">
<!-- <div class="page-title">
<h1>Hello, <span>Welcome Here</span></h1>
</div> -->
</div>
</div>
<!-- /# column -->
<div class="col-lg-4 p-l-0 title-margin-left">
<div class="page-header">
<div class="page-title">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Dashboard</a></li>
<li class="breadcrumb-item active">All Hospital</li>
</ol>
</div>
</div>
</div>
<!-- /# column -->
</div>
<!-- /# row -->
<div id="main-content">
<div class="row" style="margin-left: 40px;" >
<form action="grt_most_selling_med" method="POST">
{% csrf_token %}
<label for="fname">Get Most Selling Medecine:</label><br>
<input type="numer" name="most_sell_med"><br><br>
<input type="submit" value="Submit">
</form>
</div>
<div class="row">
<div class="col-lg-12">
<div class="card">
<!--Table-->
<table id="example" class="table table-striped table-bordered" style="width:100%">
<tr>
<th>Product Name</th>
<th>Quantity</th>
</tr>
{% if d %}
{% for data in d %}
<tr>
<td> {{data.product_name}} </td>
<td> {{data.quantity}} </td>
</tr>
{% endfor %}
{% else %}
There are no records in the system
{% endif %}
</table>
<!--Table-->
</div>
<!-- /# card -->
</div>
<!-- /# column -->
</div>
<!-- /# row -->
<div class="row">
<div class="col-lg-12">
<div class="footer">
<p>2022 © Admin. - <a href="#">projectX.com</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- jquery vendor -->
<script src="{% static 'js/lib/jquery.min.js' %}"></script>
<script src="{% static 'js/lib/jquery.nanoscroller.min.js' %}"></script>
<!-- nano scroller -->
<script src="{% static 'js/lib/menubar/sidebar.js' %}"></script>
<script src="{% static 'js/lib/preloader/pace.min.js' %}"></script>
<!-- sidebar -->
<script src="{% static 'js/lib/bootstrap.min.js' %}"></script>
<script src="{% static 'js/scripts.js' %}"></script>
<!-- bootstrap -->
<script src="{% static 'js/lib/calendar-2/moment.latest.min.js' %}"></script>
<script src="{% static 'js/lib/calendar-2/pignose.calendar.min.js' %}"></script>
<script src="{% static 'js/lib/calendar-2/pignose.init.js' %}"></script>
<script src="{% static 'js/lib/weather/jquery.simpleWeather.min.js' %}"></script>
<script src="{% static 'js/lib/weather/weather-init.js' %}"></script>
<script src="{% static 'js/lib/circle-progress/circle-progress.min.js' %}"></script>
<script src="{% static 'js/lib/circle-progress/circle-progress-init.js' %}"></script>
<script src="{% static 'js/lib/chartist/chartist.min.js' %}"></script>
<script src="{% static 'js/lib/sparklinechart/jquery.sparkline.min.js' %}"></script>
<script src="{% static 'js/lib/sparklinechart/sparkline.init.js' %}"></script>
<script src="{% static 'js/lib/owl-carousel/owl.carousel.min.js' %}"></script>
<script src="{% static 'js/lib/owl-carousel/owl.carousel-init.js' %}"></script>
<script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<!-- scripit init-->
<script src="{% static 'js/dashboard2.js' %}"></script>
<script>
$(document).ready(function () {
$('#example').DataTable();
});
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Project-X</title>
<style>
th,td{
padding:3px;
text-align: center;
}
th{
background-color:black;
color:white;
}
</style>
</head>
<body>
<div id="header_content">
Project-X
</div>
<div>
<table class="table" border="1" style="margin-top: 20px;">
<tr>
<th>Recm</th>
<th>Country</th>
<th>Market </th>
<th>Product_id</th>
<th>Product_name</th>
</tr>
{% if d %}
{% for i in d %}
<tr>
<td> {{i.recm}} </td>
<td> {{i.country}} </td>
<td> {{i.market}} </td>
<td> {{i.product_id}} </td>
<td> {{i.product_name}} </td>
</tr>
{% endfor %}
{% else %}
There are no records in the system
{% endif %}
</table>
</div>
<!-- <div id="footer_content">
Pdf Page No. <pdf:pagenumber> / Total Page : <pdf:pagecount>
</div> -->
</body>
</html>
\ No newline at end of file
......@@ -234,11 +234,11 @@
<div class="container-fluid">
<div class="row">
<div class="col-lg-8 p-r-0 title-margin-right">
<div class="page-header">
<!-- <div class="page-header">
<div class="page-title">
<h1>Hello, <span>Welcome Here</span></h1>
</div>
</div>
</div> -->
</div>
<!-- /# column -->
<div class="col-lg-4 p-l-0 title-margin-left">
......@@ -260,7 +260,7 @@
<div class="card">
<!--Table-->
<table class="table table-striped w-auto">
<table id="example" class="table table-striped table-bordered" style="width:100%">
<!--Table head-->
<thead>
......@@ -365,6 +365,14 @@
<script src="{% static 'js/lib/owl-carousel/owl.carousel-init.js' %}"></script>
<!-- scripit init-->
<script src="{% static 'js/dashboard2.js' %}"></script>
<script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<script>
$(document).ready(function () {
$('#example').DataTable();
});
</script>
</body>
......
......@@ -55,11 +55,16 @@
<ul>
<li><a href="{% url 'report_hospital' %}">All Hospital</a></li>
<li><a href="{% url 'report_pharmacy' %}">All Pharmacy</a></li>
<li><a href="{% url 'report_heigh_priority_med' %}">Heigh Priority Medicine</a></li>
<li><a href="{% url 'report_rec' %}">Med Recommendation</a></li>
<li><a href="{% url 'report_most_selling_med' %}">Most Selling Medicine</a></li>
<!-- <li><a href="{% url 'predict' %}">Predict</a></li> -->
</ul>
</li>
<!-- <li><a href="{% url 'app_profile' %}"><i class="ti-user"></i> Profile</a></li> -->
<li><a href="{% url 'predict' %}"><i class="ti-file"></i> Prediction</a></li>
<li><a href="{% url 'app_profile' %}"><i class="ti-user"></i> Profile</a></li>
<li><a href="{% url 'login' %}"><i class="ti-close"></i> Logout</a></li>
</ul>
......
......@@ -92,7 +92,7 @@
<div class="card">
<!--Table-->
<table class="table table-striped w-auto">
<table id="example" class="table table-striped table-bordered" style="width:100%">
<!--Table head-->
<thead>
......@@ -194,6 +194,14 @@
<script src="{% static 'js/lib/owl-carousel/owl.carousel-init.js' %}"></script>
<!-- scripit init-->
<script src="{% static 'js/dashboard2.js' %}"></script>
<script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<script>
$(document).ready(function () {
$('#example').DataTable();
});
</script>
</body>
......
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