331 lines
15 KiB
PHP
331 lines
15 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
@include('layouts.shared/title-meta', ['title' => "Form"])
|
|
@include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? ''])
|
|
<link href="{{asset('assets/libs/sweetalert2/sweetalert2.min.css')}}" rel="stylesheet" type="text/css" />
|
|
<style>
|
|
.download-link-card {
|
|
color: #555;
|
|
background-color: #daf5ff;
|
|
border: 1px solid #cdf2ff;
|
|
transition: all 0.25s ease-in-out;
|
|
}
|
|
.download-link-card:hover {
|
|
border-color: #a9e8ff;
|
|
background-color: #cdf2ff;
|
|
}
|
|
.download-link-card a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
.download-link-card .icon-wrap {
|
|
width: 32px;
|
|
height: 32px;
|
|
background-color: #a9e8ff;
|
|
}
|
|
.section-title {
|
|
color: #333;
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.section-title.title-lg {
|
|
font-size: 18px;
|
|
}
|
|
.section-title.title-md {
|
|
font-size: 15px;
|
|
}
|
|
.section-title.title-sm {
|
|
font-size: 13px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<div id="pageloader">
|
|
<img src="http://cdnjs.cloudflare.com/ajax/libs/semantic-ui/0.16.1/images/loader-large.gif" alt="processing..." />
|
|
</div>
|
|
|
|
<body class="loading">
|
|
<div class="account-pages">
|
|
<div class="container py-2">
|
|
<div class="section-title title-md mb-2">
|
|
List of downloadable files
|
|
</div>
|
|
|
|
<div class="mb-2">
|
|
<div class="section-title title-sm mb-1">
|
|
CAM
|
|
</div>
|
|
<div class="d-grid gap-2">
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/Determinants_in_Choosing_Home_Maintenance_Nebulization.pptx"
|
|
download="Determinants in Choosing Home Maintenance Nebulization">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
1
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
Determinants in Choosing Home Maintenance Nebulization
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/Managing_Mucus_Hypersecretion_2024.pptx"
|
|
download="Managing Mucus Hypersecretion _2024">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
2
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
Managing Mucus Hypersecretion_2024
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-2">
|
|
<div class="section-title title-sm mb-1">
|
|
Chest Connect
|
|
</div>
|
|
<div class="d-grid gap-2">
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/Nebulised_Antibiotics_in_the_Management_of_Cystic_Fibrosis.pptx"
|
|
download="Nebulised Antibiotics in the Management of Cystic Fibrosis">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
1
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
Nebulised Antibiotics in the Management of Cystic Fibrosis
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/Nebulization_in_the_ER_or_ICU_Slideset_with_ref.pptx"
|
|
download="Nebulization in the ER or ICU_Slideset_with ref">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
2
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
Nebulization in the ER or ICU_Slideset_with ref
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-2">
|
|
<div class="section-title title-sm mb-1">
|
|
E2E
|
|
</div>
|
|
<div class="d-grid gap-2">
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/GINA_2023_ICS_Pediatric_brief_2024.pptx"
|
|
download="GINA 2023 & ICS_Pediatric brief_2024">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
1
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
GINA 2023 & ICS_Pediatric brief_2024
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/Managing_Mucus_Hypersecretion_in_Pediatrics_2024.pptx"
|
|
download="Managing Mucus Hypersecretion in Pediatrics_2024">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
2
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
Managing Mucus Hypersecretion in Pediatrics_2024
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-2">
|
|
<div class="section-title title-sm mb-1">
|
|
Pedia Connect
|
|
</div>
|
|
<div class="d-grid gap-2">
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/GINA_2023_ICS_Pediatric_brief_2024.pptx"
|
|
download="GINA 2023 & ICS_Pediatric brief_2024">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
1
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
GINA 2023 & ICS_Pediatric brief_2024
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/Managing_Mucus_Hypersecretion_in_Pediatrics_2024.pptx"
|
|
download="Managing Mucus Hypersecretion in Pediatrics_2024">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
2
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
Managing Mucus Hypersecretion in Pediatrics_2024
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/Assemble_2_Adapt.pptx"
|
|
download="Assemble 2 Adapt">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
3
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
Assemble 2 Adapt
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="card download-link-card mb-0 rounded-4 overflow-hidden">
|
|
<a href="https://did94hhhcgq1d.cloudfront.net/rapport-team4/downloadable_ppt/NEBULA.pptx"
|
|
download="Nebula">
|
|
<div class="card-body d-flex align-items-center p-1">
|
|
|
|
<div class="flex-shrink-0 d-flex justify-content-center align-items-center icon-wrap rounded-2" >
|
|
4
|
|
</div>
|
|
<div class="flex-grow-1 ms-2">
|
|
Nebula
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<!-- end container -->
|
|
</div>
|
|
<!-- end page -->
|
|
<style type="text/css">
|
|
#pageloader {
|
|
background: rgba(255, 255, 255, 0.8);
|
|
display: none;
|
|
height: 100%;
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: 9999;
|
|
}
|
|
|
|
#pageloader img {
|
|
left: 50%;
|
|
margin-left: -32px;
|
|
margin-top: -32px;
|
|
position: absolute;
|
|
top: 50%;
|
|
}
|
|
</style>
|
|
@include('layouts.shared/footer-script')
|
|
<script src="{{asset('assets/libs/sweetalert2/sweetalert2.min.js')}}"></script>
|
|
<script type="text/javascript">
|
|
jQuery(document).ready(function($) {
|
|
$('#field-user_id').change(function() {
|
|
let hierarchy = $('option:selected', this).attr('hierarchy');
|
|
$('#field-hierarchy_id').val(hierarchy)
|
|
event.preventDefault();
|
|
$.ajax({
|
|
type: "GET",
|
|
url: '/form/getdoctorlist?partition={{$form->partition}}&hierarchy=' +
|
|
hierarchy,
|
|
processData: false,
|
|
contentType: false,
|
|
success: function(data) {
|
|
$("#pageloader").fadeOut();
|
|
$('#field-contact_id').html('')
|
|
$('#field-contact_id').append($("<option></option>").attr("value", '')
|
|
.text('-- Select --'));
|
|
for (let itm of data) {
|
|
$('#field-contact_id').append($("<option></option>").attr("value",
|
|
itm.value).text(itm.display));
|
|
}
|
|
},
|
|
});
|
|
|
|
console.log(hierarchy)
|
|
})
|
|
|
|
$('#report-form').on('submit', function(event) {
|
|
event.preventDefault();
|
|
$("#pageloader").fadeIn();
|
|
$.ajax({
|
|
type: "POST",
|
|
url: '/form/ajaxsubmit',
|
|
data: new FormData($('#report-form')[0]),
|
|
processData: false,
|
|
contentType: false,
|
|
success: function(data) {
|
|
$("#pageloader").fadeOut();
|
|
if (data.status == 'success') {
|
|
Swal.fire({
|
|
title: 'Great!',
|
|
text: 'Your data is successfully submitted!',
|
|
icon: 'success'
|
|
})
|
|
$('#report-form').trigger("reset");
|
|
} else {
|
|
Swal.fire({
|
|
icon: 'error',
|
|
title: 'Data not submitted',
|
|
text: 'Something went wrong, please try again after some time!'
|
|
})
|
|
}
|
|
},
|
|
});
|
|
});
|
|
|
|
var today = new Date();
|
|
var dd = String(today.getDate()).padStart(2, '0');
|
|
var mm = String(today.getMonth() + 1).padStart(2, '0');
|
|
var yyyy = today.getFullYear();
|
|
today = yyyy + '-' + mm + '-' + dd;
|
|
|
|
var plandateField = document.getElementById('field-record_date');
|
|
|
|
plandateField.setAttribute('max', today);
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |