mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
51 lines
1.9 KiB
Cheetah
51 lines
1.9 KiB
Cheetah
<script type="text/javascript" charset="utf-8">
|
|
<!--
|
|
#try:
|
|
#set curSBHost = $sbHost
|
|
#set curSBHttpPort = $sbHttpPort
|
|
#set curSBHttpsEnabled = $sbHttpsEnabled
|
|
#set curSBHandleReverseProxy = $sbHandleReverseProxy
|
|
#set themeSpinner = $sbThemeName
|
|
#except NameMapper.NotFound:
|
|
#set curSBHost = "localhost"
|
|
#set curSBHttpPort = $sickbeard.WEB_PORT
|
|
#set curSBHttpsEnabled = "False"
|
|
#set curSBHandleReverseProxy = "False"
|
|
#set themeSpinner = $sickbeard.THEME_NAME
|
|
#end try
|
|
sbRoot = "$sbRoot";
|
|
sbHttpPort = "$curSBHttpPort";
|
|
sbHttpsEnabled = "$curSBHttpsEnabled";
|
|
sbHandleReverseProxy = "$curSBHandleReverseProxy";
|
|
sbHost = "$curSBHost";
|
|
//-->
|
|
</script>
|
|
|
|
<script type="text/javascript" src="$sbRoot/js/lib/jquery-1.8.3.min.js?v=$sbPID"></script>
|
|
<script type="text/javascript" src="$sbRoot/js/restart.js?v=$sbPID"></script>
|
|
|
|
#set themeSpinner = '-dark' if 'dark' == themeSpinner else ''
|
|
<h2>Performing Restart</h2>
|
|
<br />
|
|
<div id="shut_down_message">
|
|
Waiting for SickGear to shut down:
|
|
<img src="$sbRoot/images/loading16${themeSpinner}.gif" height="16" width="16" id="shut_down_loading" />
|
|
<img src="$sbRoot/images/yes16.png" height="16" width="16" id="shut_down_success" style="display: none;" />
|
|
</div>
|
|
|
|
<div id="restart_message" style="display: none;">
|
|
Waiting for SickGear to start again:
|
|
<img src="$sbRoot/images/loading16${themeSpinner}.gif" height="16" width="16" id="restart_loading" />
|
|
<img src="$sbRoot/images/yes16.png" height="16" width="16" id="restart_success" style="display: none;" />
|
|
<img src="$sbRoot/images/no16.png" height="16" width="16" id="restart_failure" style="display: none;" />
|
|
</div>
|
|
|
|
<div id="refresh_message" style="display: none;">
|
|
Loading the home page:
|
|
<img src="$sbRoot/images/loading16${themeSpinner}.gif" height="16" width="16" id="refresh_loading" />
|
|
</div>
|
|
|
|
<div id="restart_fail_message" style="display: none;">
|
|
Error: The restart has timed out, perhaps something prevented SickGear from starting again?
|
|
</div>
|
|
|