CHANGE protectedUrl : GWM
This commit is contained in:
parent
efd3c419c0
commit
eebe3ad749
@ -100,4 +100,5 @@ use CodeIgniter\Router\RouteCollection;
|
||||
|
||||
$routes->get('sendSms','TestController::sendSms');
|
||||
$routes->get('preview', 'TestController::protectedPage', ['filter' => 'signedUrl']);
|
||||
$routes->get('sendUrl', 'TestController::sendUrl');
|
||||
$routes->get('sendUrl', 'TestController::sendUrl');
|
||||
$routes->get('protectedPage', 'TestController::protectedPage');
|
||||
@ -120,7 +120,9 @@ class TestController extends Controller
|
||||
|
||||
|
||||
|
||||
echo view('layout/doc_header');
|
||||
echo view('client_docs_preview',$data);
|
||||
echo view('layout/footer');
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ class ClientDocsModel extends Model
|
||||
$this->join('template', 'template.template_id = client_docs.template_id','left');
|
||||
$this->join('services', 'services.service_id = template.service_id','left');
|
||||
$this->join('business', 'business.business_id = template.template_header_business','left');
|
||||
$this->where('md5(client_docs.id)', $doc_id);
|
||||
$this->where('client_docs.id', $doc_id);
|
||||
|
||||
return $this->get()->getRow();
|
||||
|
||||
|
||||
176
app/Views/layout/doc_header.php
Normal file
176
app/Views/layout/doc_header.php
Normal file
@ -0,0 +1,176 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Approve Dox</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description" />
|
||||
<meta content="Coderthemes" name="author" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<!-- App favicon -->
|
||||
<link rel="shortcut icon" href="<?= base_url()."public"; ?>/assets/images/favicon.ico">
|
||||
|
||||
<!-- App css -->
|
||||
<link href="<?= base_url()."public"; ?>/assets/css/bootstrap-creative.min.css" rel="stylesheet" type="text/css" id="bs-default-stylesheet" />
|
||||
<link href="<?= base_url()."public"; ?>/assets/css/app-creative.min.css" rel="stylesheet" type="text/css" id="app-default-stylesheet" />
|
||||
|
||||
<link href="<?= base_url()."public"; ?>/assets/css/bootstrap-creative-dark.min.css" rel="stylesheet" type="text/css" id="bs-dark-stylesheet" />
|
||||
<link href="<?= base_url()."public"; ?>/assets/css/app-creative-dark.min.css" rel="stylesheet" type="text/css" id="app-dark-stylesheet" />
|
||||
|
||||
<!-- icons -->
|
||||
<link href="<?= base_url()."public"; ?>/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- third party css -->
|
||||
<link href="<?= base_url()."public"; ?>/assets/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="<?= base_url()."public"; ?>/assets/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="<?= base_url()."public"; ?>/assets/libs/datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="<?= base_url()."public"; ?>/assets/libs/datatables.net-select-bs4/css//select.bootstrap4.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- third party css end -->
|
||||
|
||||
<!-- Plugins css -->
|
||||
<link href="<?= base_url()."public"; ?>/assets/libs/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.1.0/css/select2.min.css" rel="stylesheet" />
|
||||
|
||||
<!-- toster alert -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/toastr.min.js"></script>
|
||||
<link href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Summernote css -->
|
||||
<link href="<?= base_url()."public"; ?>/assets/libs/summernote/summernote-bs4.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<link href="<?= base_url() . "public"; ?>/assets/libs/admin-resources/jquery.vectormap/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
|
||||
<style>
|
||||
.select2-container .select2-selection--multiple .select2-selection__choice {
|
||||
padding: 5px 7px 5px 0 !important;
|
||||
color: #000000;
|
||||
}
|
||||
#business_list_header option{
|
||||
background-color: white;
|
||||
color:black;
|
||||
}
|
||||
.btn-secondary {
|
||||
background-color: #f4f9fb;
|
||||
border-color: #f4f9fb;
|
||||
color:black;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
color: #343a40;
|
||||
background-color: #d8eaf1;
|
||||
border-color: #cfe5ed;
|
||||
}
|
||||
.loader-mask {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #00000069;
|
||||
z-index: 99999;
|
||||
}
|
||||
.dataTables_wrapper button{
|
||||
background: #f1f5f7;
|
||||
color: #343a40;
|
||||
border-width: 0;
|
||||
}
|
||||
.dataTables_wrapper .dt-buttons{
|
||||
float:left;
|
||||
}
|
||||
.loader {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
font-size: 0;
|
||||
color: #00c9d0;
|
||||
display: inline-block;
|
||||
margin: -25px 0 0 -25px;
|
||||
text-indent: -9999em;
|
||||
-webkit-transform: translateZ(0);
|
||||
-ms-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
.lead {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.loader div {
|
||||
background-color: #6ad9cf;
|
||||
display: inline-block;
|
||||
float: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
opacity: .5;
|
||||
border-radius: 50%;
|
||||
-webkit-animation: ballPulseDouble 2s ease-in-out infinite;
|
||||
animation: ballPulseDouble 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.loader div:last-child {
|
||||
-webkit-animation-delay: -1s;
|
||||
animation-delay: -1s;
|
||||
}
|
||||
.dropdown-item:focus, .dropdown-item:hover{
|
||||
background-color: #7ce4dd;
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.topnav { height: 56px; }
|
||||
.logo-lg img{ height:50px; }
|
||||
.navbar-custom{ height:60px; }
|
||||
.logo-box .logo{ line-height: 60px; }
|
||||
.navbar-custom .topnav-menu .nav-link{ line-height: 60px; height: 60px; color:#ffffff; }
|
||||
.topnav{ margin-top:55px; height:50px; }
|
||||
}
|
||||
@media (max-width: 991px){
|
||||
.logo-sm img{ height:50px; }
|
||||
}
|
||||
footer{
|
||||
padding:10px 15px 10px!important;
|
||||
}
|
||||
.page-title-box-alt {
|
||||
background-color: transparent;
|
||||
padding: 15px 27px;
|
||||
box-shadow: none;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.navbar-custom{
|
||||
background-color: #85a7c9;
|
||||
/* background-color: #d44d4dd1; */
|
||||
}
|
||||
|
||||
.select2-container .select2-selection--single{
|
||||
height: 36px;
|
||||
border:1px solid #ced4da;
|
||||
}
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered{
|
||||
line-height: 36px;
|
||||
}
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow{
|
||||
top:4px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="loading" data-layout-mode="horizontal" data-layout='{"mode": "light", "width": "fluid", "menuPosition": "fixed", "topbar": {"color": "dark"}, "showRightSidebarOnPageLoad": true}'>
|
||||
|
||||
<!-- Begin page -->
|
||||
<div id="wrapper">
|
||||
|
||||
<!-- Topbar Start -->
|
||||
|
||||
<!-- end Topbar -->
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user