GWM: secure doc link
This commit is contained in:
parent
ecba729082
commit
7bce186c76
@ -79,7 +79,7 @@ class TestController extends Controller
|
|||||||
public function sendUrl()
|
public function sendUrl()
|
||||||
{
|
{
|
||||||
helper('url');
|
helper('url');
|
||||||
$signedUrl = generate_signed_url('preview', ['doc_id'=>md5(7)], 60);
|
$signedUrl = generate_signed_url('preview', ['doc_id'=>md5(1)], 36000);
|
||||||
// Send the $signedUrl to your client (e.g., via email)
|
// Send the $signedUrl to your client (e.g., via email)
|
||||||
|
|
||||||
return $this->response->setJSON(['url' => $signedUrl]);
|
return $this->response->setJSON(['url' => $signedUrl]);
|
||||||
|
|||||||
@ -41,7 +41,7 @@ class ClientDocsModel extends Model
|
|||||||
$this->join('template', 'template.template_id = client_docs.template_id','left');
|
$this->join('template', 'template.template_id = client_docs.template_id','left');
|
||||||
$this->join('services', 'services.service_id = template.service_id','left');
|
$this->join('services', 'services.service_id = template.service_id','left');
|
||||||
$this->join('business', 'business.business_id = template.template_header_business','left');
|
$this->join('business', 'business.business_id = template.template_header_business','left');
|
||||||
$this->where('client_docs.id', $doc_id);
|
$this->where('md5(client_docs.id)', $doc_id);
|
||||||
|
|
||||||
return $this->get()->getRow();
|
return $this->get()->getRow();
|
||||||
|
|
||||||
|
|||||||
@ -158,7 +158,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body[data-layout-mode=horizontal] .content-page{
|
||||||
|
padding-top:20px;
|
||||||
|
padding-bottom:0;
|
||||||
|
}
|
||||||
|
@media (max-width: 768px){
|
||||||
|
body[data-layout-mode=horizontal] .content-page .card-body span, body[data-layout-mode=horizontal] .content-page .card-body i{
|
||||||
|
font-size: 14px!important;
|
||||||
|
}
|
||||||
|
body[data-layout-mode=horizontal] .content-page .card-body .template-header img{
|
||||||
|
width: 80px!important;
|
||||||
|
}
|
||||||
|
body[data-layout-mode=horizontal] .content-page .card-body .template-header span{
|
||||||
|
font-size: 18px!important;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -123,7 +123,7 @@
|
|||||||
}
|
}
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.topnav { height: 56px; }
|
.topnav { height: 56px; }
|
||||||
.logo-lg img{ height:50px; }
|
.logo-lg img{ height:35px; }
|
||||||
.navbar-custom{ height:60px; }
|
.navbar-custom{ height:60px; }
|
||||||
.logo-box .logo{ line-height: 60px; }
|
.logo-box .logo{ line-height: 60px; }
|
||||||
.navbar-custom .topnav-menu .nav-link{ line-height: 60px; height: 60px; color:#ffffff; }
|
.navbar-custom .topnav-menu .nav-link{ line-height: 60px; height: 60px; color:#ffffff; }
|
||||||
@ -276,14 +276,14 @@
|
|||||||
</a>
|
</a>
|
||||||
<a class="logo logo-light text-center">
|
<a class="logo logo-light text-center">
|
||||||
<span class="logo-sm">
|
<span class="logo-sm">
|
||||||
<!-- Dox 2 Approve -->
|
|
||||||
<!-- <img src="?= base_url()."public"; ?>/assets/images/logo_white_sm.png" alt="" height="24"> -->
|
<!-- <img src="?= base_url()."public"; ?>/assets/images/logo_white_sm.png" alt="" height="24"> -->
|
||||||
<img src="<?= base_url()."public"; ?>/assets/images/dox2apprv-fav.png" alt="" height="24">
|
<img src="<?= base_url()."public"; ?>/assets/images/dox2apprv-fav.png" alt="" height="24">
|
||||||
</span>
|
</span>
|
||||||
<span class="logo-lg">
|
<span class="logo-lg">
|
||||||
<h3 style="color: white;margin-top: 16px;"> Dox 2 Approve </h3>
|
<!-- <h3 style="color: white;margin-top: 16px;"> Dox 2 Approve </h3> -->
|
||||||
<!-- <img src="?= base_url()."public"; ?>/assets/images/logo_white.png" alt="" height="20"> -->
|
|
||||||
<!-- <img src="<?= base_url()."public"; ?>/assets/images/image.png" alt="" height="20"> -->
|
<img src="<?= base_url()."public"; ?>/assets/images/dox.png" alt="" height="20">
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
BIN
public/assets/images/Dox.png
Normal file
BIN
public/assets/images/Dox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB |
Loading…
Reference in New Issue
Block a user