mirror of
https://github.com/ronggang/transmission-web-control.git
synced 2025-04-24 20:06:02 +00:00

# 新增参数配置文件 config.js ,用于自定义启动参数,当前可用参数:是否自动刷新、刷新频率、默认选中的节点等 # 新增针对种子服务器(Tracker)的更新/增加/删除功能 # 新增种子服务器(Tracker) 批量替换功能 # 新增在本地保存一些参数的功能(cookies),方便用户下次在本地打开时,回到上次关闭前的状态 # 新增原版切换链接(保留原版时,需将原版的 index.html 先重命名为 index.original.html,然后再解压所有文件到web目录) # 新增种子描述中超链接替换功能 # 新增种子列表中显示“添加时间” # 新增适应移动设备的模板,当前基本功能: 1、种子分类 2、开始、暂停、重新校验已选择的种子 3、种子列表分页显示 更新: # 更新语言文件中的 tree.server 为 tree.servers # 更新自动刷新时,如果有错误的种子,则根据种子的“下次更新时间”来判断本次是否需要重新获取数据,以减少数据量 # 更新种子列表排序方式,以支持所有页的数据排序 修复: # 拖放文件时,几个变量未定义的BUG # 删除种子时,列表显示错误的BUG
77 lines
5.8 KiB
HTML
77 lines
5.8 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<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">
|
|
<title>Transmission Web Control Mobile</title>
|
|
<!-- 样式表 -->
|
|
<link rel="stylesheet" type="text/css" href="style/base.mobile.css?v=20130128" />
|
|
<link rel="stylesheet" type="text/css" href="script/jquery/mobile/themes/default/jquery.mobile-1.3.0-beta.1.min.css?v=20130128"/>
|
|
<!-- 基础类库 -->
|
|
<script type="text/javascript" src="script/jquery/jquery-1.8.3.min.js"></script>
|
|
<script type="text/javascript" src="script/jquery/jquery.form.js"></script>
|
|
<script type="text/javascript" src="script/jquery/json2.min.js"></script>
|
|
<script type="text/javascript" src="script/jquery/Base64.js"></script>
|
|
<script type="text/javascript" src="script/jquery/mobile/jquery.mobile-1.3.0-beta.1.min.js?v=20130128"></script>
|
|
<!-- -->
|
|
<!-- 系统类库 -->
|
|
<script type="text/javascript" src="script/min/public.js?v=20130128"></script>
|
|
<script type="text/javascript" src="script/min/cookies.js?v=20130128"></script>
|
|
<script type="text/javascript" src="script/min/transmission.js?v=20130128"></script>
|
|
<script type="text/javascript" src="script/min/transmission.torrents.js?v=20130128"></script>
|
|
<script type="text/javascript" src="script/min/system.mobile.js?v=20130128"></script>
|
|
</head>
|
|
<body>
|
|
<!-- Home -->
|
|
<div data-role="page" id="main-page">
|
|
<div data-role="header" data-theme="b" data-position="fixed" data-tap-toggle="false">
|
|
<h1 id="page-title">Transmission Web Control Mobile</h1>
|
|
<a href="#" onclick="system.showContent('home');" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
|
|
<a href="#" onclick="location.href = 'index.html?devicetype=computer';" data-icon="custom" id="icon-computer" data-iconpos="notext">Computer</a>
|
|
</div>
|
|
<div data-role="header" data-theme="z" data-position="fixed" data-tap-toggle="false" data-fullscreen="true">
|
|
<div id="torrent-page-bar" class="page-bar" style="display:none;">
|
|
<a id="page-prev" href="javascript:void(0);" class="iconlabel icon-arrow-left"></a>
|
|
<a id="page-number" class="page-number"></a>
|
|
<a id="page-next" href="javascript:void(0);" class="iconlabel icon-arrow-right"></a>
|
|
</div>
|
|
</div>
|
|
<div data-role="content" style="padding:0px;">
|
|
<div id="content-home" style="padding:15px;">
|
|
<ul data-role="listview" data-count-theme="e">
|
|
<li><a href="#" onclick="system.showContent({page:'torrent-list',type:'torrent-list',data:'all'});"><span system-lang="tree.all"></span><span id="count-all" class="ui-li-count" style="display:none;">0</span></a></li>
|
|
<li><a href="" onclick="system.showContent({page:'torrent-list',type:'torrent-list',data:'downloading'});"><span system-lang="tree.downloading"></span><span id="count-downloading" class="ui-li-count" style="display:none;">0</span></a></li>
|
|
<li><a href="" onclick="system.showContent({page:'torrent-list',type:'torrent-list',data:'paused'});"><span system-lang="tree.paused"></span><span id="count-paused" class="ui-li-count" style="display:none;">0</span></a></li>
|
|
<li><a href="" onclick="system.showContent({page:'torrent-list',type:'torrent-list',data:'sending'});"><span system-lang="tree.sending"></span><span id="count-sending" class="ui-li-count" style="display:none;">0</span></a></li>
|
|
<li><a href="" onclick="system.showContent({page:'torrent-list',type:'torrent-list',data:'check'});"><span system-lang="tree.check"></span><span id="count-check" class="ui-li-count" style="display:none;">0</span></a></li>
|
|
<li><a href="" onclick="system.showContent({page:'torrent-list',type:'torrent-list',data:'actively'});"><span system-lang="tree.actively"></span><span id="count-actively" class="ui-li-count" style="display:none;">0</span></a></li>
|
|
<li><a href="" onclick="system.showContent({page:'torrent-list',type:'torrent-list',data:'error'});"><span system-lang="tree.error"></span><span id="count-error" class="ui-li-count" style="display:none;">0</span></a></li>
|
|
<li><a href="" onclick="system.showContent({page:'torrent-list',type:'torrent-list',data:'warning'});"><span system-lang="tree.warning"></span><span id="count-warning" class="ui-li-count" style="display:none;">0</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="content-torrent-list" style="padding:0px;">
|
|
<div data-role="controlgroup" style="margin:0px;width:100%;overflow: hidden;" id="torrent-list" >
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div data-theme="c" data-role="footer" data-position="fixed" data-tap-toggle="false">
|
|
<div id="torrent-toolbar" data-role="footer" class="ui-bar" style="display:none;">
|
|
<a id="toolbar_start" href="javascript:void(0);" onclick="system.changeSelectedTorrentStatus('start',this);" system-lang="toolbar.start"></a>
|
|
<a id="toolbar_pause" href="javascript:void(0);" onclick="system.changeSelectedTorrentStatus('stop',this);" system-lang="toolbar.pause"></a>
|
|
<!-- <a id="toolbar_remove" href="javascript:void(0);" onclick="system.changeSelectedTorrentStatus('remove',this);" system-lang="toolbar.remove"></a> -->
|
|
<a id="toolbar_recheck" href="javascript:void(0);" onclick="system.changeSelectedTorrentStatus('verify',this);" system-lang="toolbar.recheck"></a>
|
|
</div>
|
|
<div id="m_statusbar">
|
|
<span id="status_alt_speed" style="display:none;"> </span>
|
|
<span id="status_downloadspeed" class="iconlabel icon-down"></span>
|
|
<span id="status_uploadspeed" class="iconlabel icon-up"></span>
|
|
<span id="status_freespace" class="iconlabel icon-drive"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |