mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Commit realizando cambios en los roles de los usuarios
This commit is contained in:
41
ci4/app/Views/themes/frontend/tivo/main/footer.php
Normal file
41
ci4/app/Views/themes/frontend/tivo/main/footer.php
Normal file
@ -0,0 +1,41 @@
|
||||
<script src="<?= site_url('themes/focus2/vendor/timeago/jquery.timeago.js'); ?>"></script>
|
||||
<script src="<?= site_url('themes/focus2/vendor/timeago/locales/jquery.timeago.'.langJS().'.js'); ?>"></script>
|
||||
<script>
|
||||
"use strict";
|
||||
$(document).ready(function () {
|
||||
let time_ago = document.getElementsByClassName("timeAgo");
|
||||
for (let i = 0; i < time_ago.length; i++) {
|
||||
time_ago[i].innerText = jQuery.timeago(time_ago[i].innerText)
|
||||
}
|
||||
});
|
||||
(function($) {
|
||||
"use strict"
|
||||
window.addEventListener('resize', function(e){
|
||||
let body = document.querySelector('body');
|
||||
let ws = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
||||
let mw = document.getElementById('main-wrapper');
|
||||
if(ws>=1216){
|
||||
body.setAttribute('data-sidebar-style', 'full');
|
||||
body.setAttribute('data-sidebar-position', 'fixed');
|
||||
body.setAttribute('data-header-position', 'fixed');
|
||||
mw.classList.remove('menu-toggle');
|
||||
}else if(ws<1216 && ws>=768){
|
||||
body.setAttribute('data-sidebar-style', 'mini');
|
||||
mw.classList.add('menu-toggle');
|
||||
body.setAttribute('data-sidebar-position', 'fixed');
|
||||
body.setAttribute('data-header-position', 'fixed');
|
||||
}else{
|
||||
body.setAttribute('data-sidebar-style', 'overlay');
|
||||
mw.classList.remove('menu-toggle');
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
<div class="footer">
|
||||
<div class="copyright">
|
||||
<p>Copyright © Designed by <a href="https://quixkit.com/" target="_blank">Quixkit</a> & Developed by <a href="https://eduardofiorini.com/" target="_blank">Eduardo Fiorini</a> - WebGuard v1.2.0 </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user