2011-01-29 06:10:22 +00:00
|
|
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
jQuery(document).ready(function () {
|
|
|
|
|
2011-01-31 07:42:44 +00:00
|
|
|
document.getElementById('syncTimer').style.display = 'inline'; //Show the timer after the page loads, prevents FOUC (Flash of Unstyled Content)
|
2011-01-29 06:10:22 +00:00
|
|
|
|
|
|
|
$('#syncTimer').tgcCountdown({
|
2011-01-31 07:42:44 +00:00
|
|
|
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>',
|
2011-01-29 06:10:22 +00:00
|
|
|
interval: 1000,
|
|
|
|
warnonminutesleft: 1
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2011-01-31 07:42:44 +00:00
|
|
|
<%--<div>RSS Sync: <span style="display:none" id="syncTimer" class="timer"><%: ViewData["RssTimer"] %></span></div>--%>
|
|
|
|
<div>RSS Sync: </div>
|
2011-04-10 02:44:01 +00:00
|
|
|
<div style="display:none" id="syncTimer" class="timer"><%:ViewData["RssTimer"]%></div>
|