1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-11 13:32:42 +01:00
Radarr/NzbDrone.Web/Views/Shared/Footer.cshtml

18 lines
802 B
Plaintext
Raw Normal View History

2011-04-21 04:28:40 +02:00
<script type="text/javascript">
jQuery(document).ready(function () {
document.getElementById('syncTimer').style.display = 'inline'; //Show the timer after the page loads, prevents FOUC (Flash of Unstyled Content)
$('#syncTimer').tgcCountdown({
counter: '<div style="color: #065EFE;">[H]:[M]:[S]</div>',
counter_warning: '<div style="color: #065EFE;">[H]:[M]:[S]</div>',
counter_expired: '<div style="color: #FFFFFF;">00:00:00</div>',
interval: 1000,
2011-04-21 04:28:40 +02:00
warnonminutesleft: 1
});
});
</script>
2011-04-21 04:28:40 +02:00
@*<div>RSS Sync: <span style="display:none" id="syncTimer" class="timer"><@ViewData["RssTimer"]</span></div>*@
<div>RSS Sync: </div>
2011-04-21 04:28:40 +02:00
<div style="display:none" id="syncTimer" class="timer">@ViewData["RssTimer"]</div>