64 lines
1.9 KiB
HTML
64 lines
1.9 KiB
HTML
<!-- footer content -->
|
|
<div id="custom_notifications" class="custom-notifications dsp_none">
|
|
<ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
<div id="notif-group" class="tabbed_notifications"></div>
|
|
</div>
|
|
<!-- /footer content -->
|
|
<!-- Domoboard -->
|
|
<script src="/static/js/custom.js"></script>
|
|
<!-- bootstrap-slider -->
|
|
<script type="text/javascript" src="/static/js/bootstrap-slider.js"></script>
|
|
<script type="text/javascript" src="/static/js/moment-with-locales.min.js"></script>
|
|
{% if configValues["domoboard"].get("time") == "True" %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
var interval = setInterval(function() {
|
|
var momentNow = moment();
|
|
|
|
$('#date-part').html(momentNow.locale(local_language).format('dddd D MMMM YYYY'));
|
|
|
|
$('#time-part').html(momentNow.format('HH:mm'));
|
|
|
|
}, 100);
|
|
{% if configValues["domoboard"].get("date") == "True" %}
|
|
$('#date-part').removeClass('hide_date');
|
|
$('#date-part').addClass('show_date');
|
|
{% endif %}
|
|
|
|
$( "#date-part" ).click(function() {
|
|
$('#date-part').removeClass('show_date');
|
|
$('#date-part').addClass('hide_date');
|
|
});
|
|
$("#time-part").click(function() {
|
|
if ($("#date-part").hasClass('hide_date')) {
|
|
$('#date-part').removeClass('hide_date');
|
|
$('#date-part').addClass('show_date');
|
|
} else {
|
|
$('#date-part').removeClass('show_date');
|
|
$('#date-part').addClass('hide_date');
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
{% endif %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
setInterval(checkVersion, 43200000, branch);
|
|
});
|
|
</script>
|
|
<script>
|
|
var a=document.querySelectorAll("a[href^='/']");
|
|
for(var i=0;i<a.length;i++)
|
|
{
|
|
a[i].onclick=function()
|
|
{
|
|
window.location=this.getAttribute("href");
|
|
return false
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|