Updated cache control, replaced clientDevice.js with ua-parser.js, updated jquery mobile version to 1.4.5
@ -2,10 +2,11 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="no-cache">
|
||||
<meta http-equiv="Expires" content="-1">
|
||||
<meta http-equiv="Cache-Control" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="max-age=0" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon'/ >
|
||||
<title>Transmission Web Control</title>
|
||||
<!-- Style sheet -->
|
||||
@ -24,12 +25,19 @@
|
||||
<!-- System class library -->
|
||||
<script type="text/javascript" src="tr-web-control/script/min/public.min.js?v=20170607"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/cookies.min.js?v=20170607"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/clientDevice.min.js?v=20170607"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/ua-parser.min.js?v=20170607"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/transmission.min.js?v=20170607"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/transmission.torrents.min.js?v=20170607"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/system.min.js?v=20170607"></script>
|
||||
<script type="text/javascript" src="tr-web-control/config.js?v=20170607"></script>
|
||||
<script type="text/javascript" src="tr-web-control/plugin.js?v=20170607"></script>
|
||||
<script type="text/javascript">
|
||||
var nonpc = [ "console", "mobile", "tablet", "smarttv", "wearable", "embedded" ]
|
||||
if ((nonpc.indexOf($.ua.device.type) != -1 )&&location.search.getQueryString("devicetype")!="computer")
|
||||
{
|
||||
location.href = "index.mobile.html";
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<style type="text/css">
|
||||
.tree-title {
|
||||
|
@ -3,27 +3,29 @@
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="no-cache">
|
||||
<meta http-equiv="Expires" content="-1">
|
||||
<meta http-equiv="Cache-Control" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="max-age=0" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<title>Transmission Web Control Mobile</title>
|
||||
<!-- 样式表 -->
|
||||
<link rel="stylesheet" type="text/css" href="tr-web-control/style/base.mobile.css?v=20130913" />
|
||||
<link rel="stylesheet" type="text/css" href="tr-web-control/script/jquery/mobile/jquery.mobile-1.3.2.min.css?v=20130913"/>
|
||||
<!-- 基础类库 -->
|
||||
<!-- Style sheet -->
|
||||
<link rel="stylesheet" type="text/css" href="tr-web-control/style/base.mobile.css?v=20170426" />
|
||||
<link rel="stylesheet" type="text/css" href="tr-web-control/script/jquery/mobile/jquery.mobile-1.4.5.min.css?v=20170426"/>
|
||||
<!-- Base class library -->
|
||||
<script type="text/javascript" src="tr-web-control/script/jquery/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/jquery/jquery.form.js"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/jquery/json2.min.js"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/jquery/Base64.js"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/jquery/mobile/jquery.mobile-1.3.2.min.js?v=20130913"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/jquery/mobile/jquery.mobile-1.4.5.min.js?v=20170426"></script>
|
||||
<!-- -->
|
||||
<!-- 系统类库 -->
|
||||
<!-- System class library -->
|
||||
<script type="text/javascript" src="tr-web-control/script/min/public.min.js?v=20170411"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/cookies.min.js?v=20170411"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/ua-parser.min.js?v=20170522"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/transmission.min.js?v=20170411"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/transmission.torrents.min.js?v=20170411"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/system.mobile.min.js?v=20170411"></script>
|
||||
<script type="text/javascript" src="tr-web-control/script/min/system.mobile.min.js?v=20170426"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Home -->
|
||||
|
@ -1,152 +0,0 @@
|
||||
var clientDevice = function() {
|
||||
// 呈现引擎
|
||||
var engine = {
|
||||
ie : 0,
|
||||
gecko : 0,
|
||||
webkit : 0,
|
||||
khtml : 0,
|
||||
opera : 0,
|
||||
// 完整的版本号
|
||||
ver : null
|
||||
};
|
||||
|
||||
// 浏览器
|
||||
var browser = {
|
||||
// 主要浏览器
|
||||
ie : 0,
|
||||
firefox : 0,
|
||||
konq : 0,
|
||||
opera : 0,
|
||||
chrome : 0,
|
||||
safari : 0,
|
||||
|
||||
// 具体的版本号
|
||||
ver : null
|
||||
};
|
||||
|
||||
// 平台、设备和操作系统
|
||||
var system = {
|
||||
win : false,
|
||||
mac : false,
|
||||
xll : false,
|
||||
|
||||
// 移动设备
|
||||
iPhone : false,
|
||||
iPod : false,
|
||||
iPad : false,
|
||||
android : false,
|
||||
nokiaN : false,
|
||||
winMobile : false,
|
||||
macMobile : false,
|
||||
|
||||
// 游戏设备
|
||||
wii : false,
|
||||
ps : false
|
||||
};
|
||||
// 检测呈现引擎和浏览器
|
||||
var ua = navigator.userAgent;
|
||||
if (window.opera) {
|
||||
engine.ver = browser.ver = window.opera.version();
|
||||
engine.opera = browser.opera = parseFloat(engine.ver);
|
||||
} else if (/AppleWebKit\/(\S+)/.test(ua)) {
|
||||
engine.ver = RegExp["$1"];
|
||||
engine.webkit = parseFloat(engine.ver);
|
||||
|
||||
// 确定是Chrome还是Safari
|
||||
if (/Chrome\/(\S+)/.test(ua)) {
|
||||
browser.ver = RegExp["$1"];
|
||||
browser.chrome = parseFloat(browser.ver);
|
||||
} else if (/Version\/(\S+)/.test(ua)) {
|
||||
browser.ver = RegExp["$1"];
|
||||
browser.safari = parseFloat(browser.ver);
|
||||
} else {
|
||||
// 近似地确定版本号
|
||||
var safariVersion = 1;
|
||||
if (engine.webkit < 100) {
|
||||
safariVersion = 1;
|
||||
} else if (engine.webkit < 312) {
|
||||
safariVersion = 1.2;
|
||||
} else if (engine.webkit < 412) {
|
||||
safariVersion = 1.3;
|
||||
} else {
|
||||
safariVersion = 2;
|
||||
}
|
||||
browser.safari = browser.ver = safariVersion;
|
||||
}
|
||||
} else if (/KHTML\/(\S+)/.test(ua) || /Konquersor\/([^;]+)/.test(ua)) {
|
||||
engine.ver = browser.ver = RegExp["$1"];
|
||||
engine.khtml = browser.kong = paresFloat(engine.ver);
|
||||
} else if (/rv:([^\)]+)\) Gecko\/\d{8}/.test(ua)) {
|
||||
engine.ver = RegExp["$1"]
|
||||
engine.gecko = parseFloat(engine.ver);
|
||||
// 确定是不是Firefox
|
||||
if (/Firefox\/(\S+)/.test(ua)) {
|
||||
browser.ver = RegExp["$1"];
|
||||
browser.firefox = parseFloat(browser.ver);
|
||||
}
|
||||
} else if (/MSIE([^;]+)/.test(ua)) {
|
||||
browser.ver = RegExp["$1"];
|
||||
browser.firefox = parseFloat(browser.ver);
|
||||
}
|
||||
// 检测浏览器
|
||||
browser.ie = engine.ie;
|
||||
browser.opera = engine.opera;
|
||||
// 检测平台
|
||||
var p = navigator.platform;
|
||||
system.win = p.indexOf("Win") == 0;
|
||||
system.mac = p.indexOf("Mac") == 0;
|
||||
system.x11 = (p == "X11") || (p.indexOf("Linux") == 0);
|
||||
// 检测Windows操作系统
|
||||
if (system.win) {
|
||||
if (/Win(?:doms)?([^do]{2})\s?(\d+\.\d+)?/.test(ua)) {
|
||||
if (RegExp["$1"] == "NT") {
|
||||
switch (RegExp["$2"]) {
|
||||
case "5.0":
|
||||
system.win = "2000";
|
||||
break;
|
||||
case "5.1":
|
||||
system.win = "XP";
|
||||
break;
|
||||
case "6.0":
|
||||
system.win = "Vista";
|
||||
break;
|
||||
default:
|
||||
system.win = "NT";
|
||||
break;
|
||||
}
|
||||
} else if (RegExp["$1"]) {
|
||||
system.win = "ME";
|
||||
} else {
|
||||
system.win = RegExp["$1"];
|
||||
}
|
||||
}
|
||||
}
|
||||
// 移动设备
|
||||
system.iPhone = ua.indexOf("iPhone") > -1;
|
||||
system.iPod = ua.indexOf("iPod") > -1;
|
||||
system.iPad = ua.indexOf("iPad") > -1;
|
||||
system.android = ua.indexOf("Android") > -1;
|
||||
system.nokiaN = ua.indexOf("NokiaN") > -1;
|
||||
system.winMobile = (system.win == "CE");
|
||||
system.macMobile = (system.iPhone || system.iPod || system.iPad);
|
||||
// 游戏系统
|
||||
system.wii = ua.indexOf("Wii") > -1;
|
||||
system.ps = /playstation/i.test(ua);
|
||||
// 返回这些对象
|
||||
return {
|
||||
engine : engine,
|
||||
browser : browser,
|
||||
system : system
|
||||
};
|
||||
}();
|
||||
|
||||
if ((clientDevice.system.iphone
|
||||
||clientDevice.system.ipod
|
||||
||clientDevice.system.nokiaN
|
||||
||clientDevice.system.winMobile
|
||||
||clientDevice.system.macMobile
|
||||
||clientDevice.system.android
|
||||
)&&location.search.getQueryString("devicetype")!="computer")
|
||||
{
|
||||
location.href = "index.mobile.html";
|
||||
}
|
9472
src/tr-web-control/script/jquery/jquery.js
vendored
0
src/tr-web-control/script/jquery/mobile/images/ajax-loader.gif
Normal file → Executable file
Before ![]() (image error) Size: 7.6 KiB After ![]() (image error) Size: 7.6 KiB ![]() ![]() |
0
src/tr-web-control/script/jquery/mobile/images/icons-18-black.png
Normal file → Executable file
Before ![]() (image error) Size: 1.9 KiB After ![]() (image error) Size: 1.9 KiB ![]() ![]() |
0
src/tr-web-control/script/jquery/mobile/images/icons-18-white.png
Normal file → Executable file
Before ![]() (image error) Size: 1.9 KiB After ![]() (image error) Size: 1.9 KiB ![]() ![]() |
0
src/tr-web-control/script/jquery/mobile/images/icons-36-black.png
Normal file → Executable file
Before ![]() (image error) Size: 3.8 KiB After ![]() (image error) Size: 3.8 KiB ![]() ![]() |
0
src/tr-web-control/script/jquery/mobile/images/icons-36-white.png
Normal file → Executable file
Before ![]() (image error) Size: 3.8 KiB After ![]() (image error) Size: 3.8 KiB ![]() ![]() |
0
src/tr-web-control/script/jquery/mobile/jquery.mobile-1.3.2.min.css
vendored
Normal file → Executable file
0
src/tr-web-control/script/jquery/mobile/jquery.mobile-1.3.2.min.js
vendored
Normal file → Executable file
3
src/tr-web-control/script/jquery/mobile/jquery.mobile-1.4.5.min.css
vendored
Normal file
10
src/tr-web-control/script/jquery/mobile/jquery.mobile-1.4.5.min.js
vendored
Normal file
Before ![]() (image error) Size: 7.6 KiB |
Before ![]() (image error) Size: 57 KiB |
Before ![]() (image error) Size: 57 KiB |
Before ![]() (image error) Size: 65 KiB |
Before ![]() (image error) Size: 65 KiB |
@ -1,460 +0,0 @@
|
||||
/* jqm docs css
|
||||
|
||||
Beware: lots of last-minute CSS going on in here
|
||||
cobblers, shoes,
|
||||
*/
|
||||
|
||||
body { background: #f9f9f9; padding:13px; }
|
||||
body.ui-mobile-viewport { padding: 0; }
|
||||
body, input, textarea, select, button { font-family: Helvetica, Arial, san-serif; }
|
||||
.ui-mobile .type-home .ui-content { margin: 0; background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; }
|
||||
.ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center; margin: 0 auto; }
|
||||
.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; }
|
||||
.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; }
|
||||
|
||||
.type-home .ui-content .jqm-version {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 96px;
|
||||
border: solid #fff;
|
||||
border-width: 2px 1px;
|
||||
padding: .25em 2.25em;
|
||||
margin: 0 15px 0 0;
|
||||
right: 0;
|
||||
top: -2px;
|
||||
background: #f7cf57;
|
||||
color: #000;
|
||||
font-size: .8em;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
text-shadow: 0 1px 1px #fff;
|
||||
z-index: 9;
|
||||
-webkit-transform: rotate(45deg) translate(4.8em,-1em);
|
||||
-moz-transform: rotate(45deg) translate(4.8em,-1em);
|
||||
-ms-transform: rotate(45deg) translate(4.8em,-1em);
|
||||
-o-transform: rotate(45deg) translate(4.8em,-1em);
|
||||
transform: rotate(45deg) translate(4.8em,-1em);
|
||||
-webkit-box-shadow: 0 0 6px rgba(0,0,0,.40);
|
||||
-moz-box-shadow: 0 0 6px rgba(0,0,0,.40);
|
||||
-o-box-shadow: 0 0 6px rgba(0,0,0,.40);
|
||||
box-shadow: 0 0 6px rgba(0,0,0,.40);
|
||||
}
|
||||
.type-home .ui-content .jqm-version b {
|
||||
color: #a21412;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.footer-docs {
|
||||
padding: 5px 0;
|
||||
clear:both;
|
||||
color:#666;
|
||||
}
|
||||
.footer-docs p {
|
||||
font-weight: normal;
|
||||
font-size: .9em;
|
||||
}
|
||||
.ui-mobile-viewport .footer-docs p {
|
||||
margin: .5em 15px;
|
||||
}
|
||||
.ui-mobile-viewport .footer-docs p.jqm-version {
|
||||
font-weight: bold;
|
||||
}
|
||||
@media all and (min-width:650px) {
|
||||
.ui-mobile-viewport .footer-docs {
|
||||
overflow: hidden;
|
||||
}
|
||||
.ui-mobile-viewport .footer-docs p {
|
||||
margin: 1em 15px;
|
||||
float: left;
|
||||
}
|
||||
.ui-mobile-viewport .footer-docs p.jqm-version {
|
||||
float: right;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
h2 { margin:1.2em 0 .4em 0; }
|
||||
p code { font-size:1.2em; font-weight:bold; }
|
||||
h4 code {font-size:1.2em; font-weight:bold; }
|
||||
|
||||
dt { font-weight: bold; margin: 2em 0 .5em; }
|
||||
dt code, dd code { font-size:1.3em; line-height:150%; }
|
||||
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
|
||||
strong { font-weight: bold; }
|
||||
|
||||
#jqm-homeheader img { width: 275px; height: 78px; margin-top:-20px; }
|
||||
img { max-width: 100%; }
|
||||
|
||||
/* fluid images moved from jquery.mobile.core.css*/
|
||||
.ui-mobile img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.ui-header .jqm-home { top: 0; }
|
||||
nav { margin: 0; }
|
||||
|
||||
p.intro {
|
||||
font-size: .96em;
|
||||
line-height: 1.3;
|
||||
border-top: 1px solid #75ae18;
|
||||
border-bottom: 0;
|
||||
background: none;
|
||||
margin: 1.5em 0;
|
||||
padding: 1.5em 15px 0;
|
||||
}
|
||||
p.intro strong {
|
||||
color: #558e08;
|
||||
}
|
||||
|
||||
.type-interior .content-secondary {
|
||||
border-right: 0;
|
||||
border-left: 0;
|
||||
margin: 10px -15px 0;
|
||||
background: #fff;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.type-home .ui-content {
|
||||
margin-top: 5px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.type-interior .ui-content {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.content-secondary .ui-collapsible {
|
||||
padding: 10px 15px;
|
||||
}
|
||||
.content-secondary .ui-collapsible-inset {
|
||||
margin: 0;
|
||||
}
|
||||
.content-secondary .ui-collapsible-content {
|
||||
padding: 0;
|
||||
background: none;
|
||||
}
|
||||
.content-secondary .ui-listview {
|
||||
margin: 0;
|
||||
}
|
||||
/* new API additions */
|
||||
|
||||
dt {
|
||||
margin: 35px 0 15px 0;
|
||||
background-color:#ddd;
|
||||
font-weight:normal;
|
||||
}
|
||||
dt code {
|
||||
display:inline-block;
|
||||
font-weight:bold;
|
||||
color:#56A00E;
|
||||
padding:3px 7px;
|
||||
margin-right:10px;
|
||||
background-color:#fff;
|
||||
}
|
||||
dd {
|
||||
margin-bottom:10px;
|
||||
}
|
||||
dd .default { font-weight:bold; }
|
||||
dd pre {
|
||||
margin:0 0 0 0;
|
||||
}
|
||||
dd code { font-weight: normal; }
|
||||
dd pre code {
|
||||
margin:0;
|
||||
border:none;
|
||||
font-weight:normal;
|
||||
font-size:100%;
|
||||
background-color:transparent;
|
||||
}
|
||||
dd h4 { margin:15px 0 0 0; }
|
||||
|
||||
.localnav {
|
||||
margin:0 0 20px 0;
|
||||
}
|
||||
.ui-mobile-viewport .localnav li {
|
||||
float:left;
|
||||
}
|
||||
.localnav .ui-btn-inner {
|
||||
padding: .6em 10px;
|
||||
font-size:80%;
|
||||
}
|
||||
|
||||
/* custom dialog for the photos sharing */
|
||||
.ui-dialog.dialog-actionsheet .ui-dialog-contain {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* popup examples */
|
||||
.type-interior .ui-popup-container .ui-content { padding: 15px !important; }
|
||||
|
||||
/* F bar theme - just for the docs overview headers */
|
||||
.ui-bar-f {
|
||||
border: 1px solid #56A00E;
|
||||
background: #74b042;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 1px 1px #335413;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */
|
||||
background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */
|
||||
background-image: -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */
|
||||
background-image: -ms-linear-gradient(#74b042, #56A00E); /* IE10 */
|
||||
background-image: -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */
|
||||
background-image: linear-gradient(#74b042, #56A00E);
|
||||
}
|
||||
.ui-bar-f,
|
||||
.ui-bar-f input,
|
||||
.ui-bar-f select,
|
||||
.ui-bar-f textarea,
|
||||
.ui-bar-f button {
|
||||
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
|
||||
}
|
||||
|
||||
.ui-bar-f,
|
||||
.ui-bar-f .ui-link-inherit {
|
||||
color: #fff;
|
||||
}
|
||||
.ui-bar-f .ui-link {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-btn-up-f {
|
||||
border: 1px solid #3B6F07;
|
||||
background: #56A00E;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 1px #234403;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#74b042), to(#56A00E)); /* Saf4+, Chrome */
|
||||
background-image: -webkit-linear-gradient(#74b042, #56A00E); /* Chrome 10+, Saf5.1+ */
|
||||
background-image: -moz-linear-gradient(#74b042, #56A00E); /* FF3.6 */
|
||||
background-image: -ms-linear-gradient(#74b042, #56A00E); /* IE10 */
|
||||
background-image: -o-linear-gradient(#74b042, #56A00E); /* Opera 11.10+ */
|
||||
background-image: linear-gradient(#74b042, #56A00E);
|
||||
}
|
||||
.ui-btn-up-f a.ui-link-inherit {
|
||||
color: #fff;
|
||||
}
|
||||
.ui-btn-hover-f {
|
||||
border: 1px solid #3B6F07;
|
||||
background: #6EBC1F;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 1px #234403;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#8FC963), to(#6EBC1F)); /* Saf4+, Chrome */
|
||||
background-image: -webkit-linear-gradient(#8FC963, #6EBC1F); /* Chrome 10+, Saf5.1+ */
|
||||
background-image: -moz-linear-gradient(#8FC963, #6EBC1F); /* FF3.6 */
|
||||
background-image: -ms-linear-gradient(#8FC963, #6EBC1F); /* IE10 */
|
||||
background-image: -o-linear-gradient(#8FC963, #6EBC1F); /* Opera 11.10+ */
|
||||
background-image: linear-gradient(#8FC963, #6EBC1F);
|
||||
}
|
||||
.ui-btn-hover-f a.ui-link-inherit {
|
||||
color: #fff;
|
||||
}
|
||||
.ui-btn-down-f {
|
||||
border: 1px solid #3B6F07;
|
||||
background: #3d3d3d;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 1px #234403;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#56A00E), to(#64A234)); /* Saf4+, Chrome */
|
||||
background-image: -webkit-linear-gradient(#56A00E, #64A234); /* Chrome 10+, Saf5.1+ */
|
||||
background-image: -moz-linear-gradient(#56A00E, #64A234); /* FF3.6 */
|
||||
background-image: -ms-linear-gradient(#56A00E, #64A234); /* IE10 */
|
||||
background-image: -o-linear-gradient(#56A00E, #64A234); /* Opera 11.10+ */
|
||||
background-image: linear-gradient(#56A00E, #64A234);
|
||||
}
|
||||
.ui-btn-down-f a.ui-link-inherit {
|
||||
color: #fff;
|
||||
}
|
||||
.ui-btn-up-f,
|
||||
.ui-btn-hover-f,
|
||||
.ui-btn-down-f {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
/* docs site layout */
|
||||
|
||||
@media all and (min-width: 650px){
|
||||
|
||||
.type-home .ui-content {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.ui-mobile #jqm-homeheader {
|
||||
max-width: 340px;
|
||||
}
|
||||
p.intro {
|
||||
margin: 2em 0;
|
||||
}
|
||||
.type-home .ui-content,
|
||||
.type-interior > .ui-content {
|
||||
padding: 0;
|
||||
}
|
||||
.type-interior > .ui-content {
|
||||
overflow: hidden;
|
||||
}
|
||||
.content-secondary {
|
||||
text-align: left;
|
||||
float: left;
|
||||
width: 45%;
|
||||
}
|
||||
.content-secondary,
|
||||
.type-interior .content-secondary {
|
||||
margin: 30px 0 20px 2%;
|
||||
padding: 20px 4% 0 0;
|
||||
background: none;
|
||||
border-top: none;
|
||||
position: relative;
|
||||
}
|
||||
.type-interior .content-secondary::after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
margin-bottom: -9999px;
|
||||
padding-bottom: 9999px;
|
||||
background: #bbb;
|
||||
}
|
||||
.type-index .content-secondary {
|
||||
padding: 0;
|
||||
}
|
||||
.content-secondary .ui-collapsible {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.content-secondary .ui-collapsible-content {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
.type-index .content-secondary .ui-listview {
|
||||
margin: 0;
|
||||
}
|
||||
.ui-mobile #jqm-homeheader {
|
||||
padding: 0;
|
||||
}
|
||||
.content-primary {
|
||||
width: 45%;
|
||||
float: right;
|
||||
margin-top: 30px;
|
||||
margin-right: 1%;
|
||||
padding-right: 1%;
|
||||
}
|
||||
.content-primary ul:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
/* collapsible non-inset example */
|
||||
.content-primary .ui-collapsible-content ul:first-child {
|
||||
margin-top: -10px;
|
||||
}
|
||||
.content-secondary h2 {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
.type-interior .content-primary {
|
||||
padding: 1.5em 6% 3em 0;
|
||||
margin: 0;
|
||||
}
|
||||
/* fix up the collapsibles - expanded on desktop */
|
||||
.content-secondary .ui-collapsible-inset {
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
.content-secondary .ui-collapsible-heading {
|
||||
display: none;
|
||||
}
|
||||
.content-secondary .ui-collapsible-contain {
|
||||
margin:0;
|
||||
}
|
||||
.content-secondary .ui-collapsible-content {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.content-secondary .ui-collapsible-content,
|
||||
.content-secondary .ui-collapsible-content > .ui-listview .ui-li-last {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
.type-interior .content-secondary .ui-li-divider {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
.type-interior .content-secondary {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
}
|
||||
@media all and (min-width: 750px){
|
||||
.type-home .ui-content {
|
||||
background-position: 39%;
|
||||
}
|
||||
.content-secondary {
|
||||
width: 34%;
|
||||
}
|
||||
.content-primary {
|
||||
width: 56%;
|
||||
padding-right: 1%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 1200px){
|
||||
.type-home .ui-content{
|
||||
background-position: 38.5%;
|
||||
}
|
||||
.content-secondary {
|
||||
width: 30%;
|
||||
padding-right:6%;
|
||||
margin: 30px 0 20px 5%;
|
||||
}
|
||||
.type-interior .content-secondary {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.content-primary {
|
||||
width: 50%;
|
||||
margin-right: 5%;
|
||||
padding-right: 3%;
|
||||
}
|
||||
.type-interior .content-primary {
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
/* reset for popup examples */
|
||||
.type-interior .ui-popup.ui-content,
|
||||
.type-interior .ui-popup .ui-content {
|
||||
background-position: 0 0;
|
||||
background-repeat: no-repeat;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* tables documenting enum-type settings */
|
||||
.enum-value {
|
||||
vertical-align: top;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Navbar examples */
|
||||
.content-primary > .ui-header,
|
||||
.content-primary > .ui-footer {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* list styles */
|
||||
ul { margin:0; padding-left:0; }
|
||||
ul li { list-style:none; padding:.7em 0; margin:0; border-bottom:1px solid #e3e3e3; }
|
||||
ul ul li { border: none;}
|
||||
|
||||
dl dd ul { padding-left: 40px; }
|
||||
dl dd ul li { list-style: disc; }
|
||||
dl dd ul li li { list-style: circle; }
|
||||
dl dd ul li li li { list-style: square; }
|
||||
dl dd ul li { border: none; }
|
||||
|
||||
ul.bullet li { list-style:square; padding:.4em 0; margin-left:1.2em; border-bottom:none; }
|
||||
|
||||
|
||||
.ui-mobile-viewport .localnav li {
|
||||
border: none;
|
||||
}
|
2
src/tr-web-control/script/jquery/mobile/themes/default/jquery.mobile-1.3.0-beta.1.min.css
vendored
2182
src/tr-web-control/script/jquery/mobile/themes/default/jquery.mobile.structure-1.3.0-beta.1.css
2
src/tr-web-control/script/jquery/mobile/themes/default/jquery.mobile.structure-1.3.0-beta.1.min.css
vendored
2
src/tr-web-control/script/jquery/mobile/themes/default/jquery.mobile.theme-1.3.0-beta.1.min.css
vendored
@ -1,16 +0,0 @@
|
||||
var clientDevice=function(){var e={ie:0,gecko:0,webkit:0,khtml:0,opera:0,ver:null},i={ie:0,firefox:0,konq:0,opera:0,chrome:0,safari:0,ver:null},r={win:!1,mac:!1,xll:!1,iPhone:!1,iPod:!1,iPad:!1,android:!1,nokiaN:!1,winMobile:!1,macMobile:!1,wii:!1,ps:!1},o=navigator.userAgent
|
||||
if(window.opera)e.ver=i.ver=window.opera.version(),e.opera=i.opera=parseFloat(e.ver)
|
||||
else if(/AppleWebKit\/(\S+)/.test(o))if(e.ver=RegExp.$1,e.webkit=parseFloat(e.ver),/Chrome\/(\S+)/.test(o))i.ver=RegExp.$1,i.chrome=parseFloat(i.ver)
|
||||
else if(/Version\/(\S+)/.test(o))i.ver=RegExp.$1,i.safari=parseFloat(i.ver)
|
||||
else{var a=1
|
||||
a=e.webkit<100?1:e.webkit<312?1.2:e.webkit<412?1.3:2,i.safari=i.ver=a}else/KHTML\/(\S+)/.test(o)||/Konquersor\/([^;]+)/.test(o)?(e.ver=i.ver=RegExp.$1,e.khtml=i.kong=paresFloat(e.ver)):/rv:([^\)]+)\) Gecko\/\d{8}/.test(o)?(e.ver=RegExp.$1,e.gecko=parseFloat(e.ver),/Firefox\/(\S+)/.test(o)&&(i.ver=RegExp.$1,i.firefox=parseFloat(i.ver))):/MSIE([^;]+)/.test(o)&&(i.ver=RegExp.$1,i.firefox=parseFloat(i.ver))
|
||||
i.ie=e.ie,i.opera=e.opera
|
||||
var t=navigator.platform
|
||||
if(r.win=0==t.indexOf("Win"),r.mac=0==t.indexOf("Mac"),r.x11="X11"==t||0==t.indexOf("Linux"),r.win&&/Win(?:doms)?([^do]{2})\s?(\d+\.\d+)?/.test(o))if("NT"==RegExp.$1)switch(RegExp.$2){case"5.0":r.win="2000"
|
||||
break
|
||||
case"5.1":r.win="XP"
|
||||
break
|
||||
case"6.0":r.win="Vista"
|
||||
break
|
||||
default:r.win="NT"}else RegExp.$1?r.win="ME":r.win=RegExp.$1
|
||||
return r.iPhone=o.indexOf("iPhone")>-1,r.iPod=o.indexOf("iPod")>-1,r.iPad=o.indexOf("iPad")>-1,r.android=o.indexOf("Android")>-1,r.nokiaN=o.indexOf("NokiaN")>-1,r.winMobile="CE"==r.win,r.macMobile=r.iPhone||r.iPod||r.iPad,r.wii=o.indexOf("Wii")>-1,r.ps=/playstation/i.test(o),{engine:e,browser:i,system:r}}();(clientDevice.system.iphone||clientDevice.system.ipod||clientDevice.system.nokiaN||clientDevice.system.winMobile||clientDevice.system.macMobile||clientDevice.system.android)&&"computer"!=location.search.getQueryString("devicetype")&&(location.href="index.mobile.html")
|