mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-15 01:15:05 +00:00
e56303798c
Initial SickGear for Python 3.
61 lines
3.7 KiB
Cheetah
61 lines
3.7 KiB
Cheetah
##
|
|
#from sickgear import WEB_PORT, WEB_ROOT, PID, ENABLE_HTTPS, THEME_NAME
|
|
#set sg_root = $getVar('sbRoot', WEB_ROOT)
|
|
#set sg_pid = $getVar('sbPID', str(PID))
|
|
#set theme_suffix = ('', '-dark')['dark' == $getVar('sbThemeName', THEME_NAME)]
|
|
##
|
|
<!DOCTYPE html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="robots" content="noindex, nofollow, noarchive, nocache, noodp, noydir, noimageindex, nosnippet">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<title>SickGear - Loading...</title>
|
|
<link rel="shortcut icon" href="$sg_root/images/ico/favicon.ico">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="$sg_root/images/ico/apple-touch-icon-180x180.png">
|
|
<link rel="apple-touch-icon" sizes="152x152" href="$sg_root/images/ico/apple-touch-icon-152x152.png">
|
|
<link rel="apple-touch-icon" sizes="144x144" href="$sg_root/images/ico/apple-touch-icon-144x144.png">
|
|
<link rel="apple-touch-icon" sizes="120x120" href="$sg_root/images/ico/apple-touch-icon-120x120.png">
|
|
<link rel="apple-touch-icon" sizes="114x114" href="$sg_root/images/ico/apple-touch-icon-114x114.png">
|
|
<link rel="apple-touch-icon" sizes="76x76" href="$sg_root/images/ico/apple-touch-icon-76x76.png">
|
|
<link rel="apple-touch-icon" sizes="72x72" href="$sg_root/images/ico/apple-touch-icon-72x72.png">
|
|
<link rel="apple-touch-icon" sizes="60x60" href="$sg_root/images/ico/apple-touch-icon-60x60.png">
|
|
<link rel="apple-touch-icon" sizes="57x57" href="$sg_root/images/ico/apple-touch-icon-57x57.png">
|
|
<link rel="icon" type="image/png" href="$sg_root/images/ico/favicon-192x192.png" sizes="192x192">
|
|
<link rel="icon" type="image/png" href="$sg_root/images/ico/favicon-160x160.png" sizes="160x160">
|
|
<link rel="icon" type="image/png" href="$sg_root/images/ico/favicon-96x96.png" sizes="96x96">
|
|
<link rel="icon" type="image/png" href="$sg_root/images/ico/favicon-32x32.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="$sg_root/images/ico/favicon-16x16.png" sizes="16x16">
|
|
<meta name="msapplication-TileColor" content="#2b5797">
|
|
<meta name="msapplication-TileImage" content="$sg_root/images/ico/mstile-144x144.png">
|
|
<meta name="msapplication-config" content="$sg_root/css/browserconfig.xml">
|
|
|
|
<script src="$sg_root/js/lib/jquery-2.2.4.min.js?v=$sg_pid"></script>
|
|
<script charset="utf-8">
|
|
<!--
|
|
\$.SickGear = {Root: '$sg_root'};
|
|
//-->
|
|
</script>
|
|
|
|
<script type="text/javascript" src="$sg_root/js/loadingStartup.js?v=$sg_pid"></script>
|
|
|
|
<style>
|
|
body{padding-top:0 !important}.sglogo{display:block;width:138px;height:74px;margin-bottom:-10px;background:url(${sg_root}/images/sickgear.png) no-repeat 0 0}.bfr{position:absolute;left:-999px;top:-999px}.bfr img{width:16px;height:16px}.spinner{display:inline-block;width:16px;height:16px;background:url(${sg_root}/images/loading16${theme_suffix}.gif) no-repeat 0 0}.sub-title{padding-bottom:10px}.desc, .images i{margin-right:6px}.images i{vertical-align:middle}.hide{display:none}
|
|
</style>
|
|
|
|
<link rel="stylesheet" type="text/css" href="$sg_root/css/style.css?v=$sg_pid">
|
|
<link rel="stylesheet" type="text/css" href="$sg_root/css/#echo ('dark', 'light')['' == $theme_suffix]#.css?v=$sg_pid">
|
|
</head><body><span class="sglogo"></span>
|
|
<div class="bfr"><img src="$sg_root/images/loading16${theme_suffix}.gif"><img src="$sg_root/images/yes16.png"><img src="$sg_root/images/no16.png"></div>
|
|
|
|
<h2 class="sub-title">Starting up</h2>
|
|
#set msg_cnt = len($message) - 1
|
|
#for i, msg in enumerate($message)
|
|
<div class="loading-step" data-message="$msg['msg']">
|
|
<span class="desc grey-text">$msg['msg']: </span><span class="count"></span>
|
|
<span class="images"><i class="spinner#if i != msg_cnt# hide#end if#"></i><span class="result#if i == msg_cnt# hide#end if#"><i class="yes"></i></span></span>
|
|
</div>
|
|
#end for
|
|
|
|
</body></html>
|