-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
executable file
·92 lines (85 loc) · 3.43 KB
/
index.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tracker Panel</title>
<link rel="icon" href="static/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="static/panel.css" />
<script type="text/javascript" src="static/ajax.js"></script>
<script type="text/javascript" src="static/panel.js"></script>
<meta name="robots" content="noindex,nofollow" />
</head>
<body onload="tracker.init();">
<div id="center-wrap">
<div id="head-info" ondrop="gui.upload.handleDrop(event);" ondragenter="gui.upload.stopPropagation(event);" ondragover="gui.upload.stopPropagation(event);">
<img src="static/header.svg" alt="Tracker Panel Head Image" />
<div>Currently displaying <span id="torrent-count">n/a</span> torrents</div>
</div>
<div id="view-uploads">
<span id="upload-file-wrapper">
</span>
<div class="icebreaker"></div>
</div>
<div id="view-torrents">
<div>
<span class="fancybutton" id="upload-form" onclick="gui.elem('file-upload-btn').click()">Add <input value="Upload" type="file" id="file-upload-btn" onchange="gui.upload.handleFormUpload(event);" multiple="multiple" /></span>
<span onclick="tracker.loadTorrents();" class="fancybutton">Refresh</span>
<span id="category-selector-wrap">
Category:
<select id="cat-selector" onchange="tracker.loadTorrents();">
</select>
</span>
<span class="align-right">
Seeded torrents only:
<input type="checkbox" id="hideNoSeeds" onchange="tracker.loadTorrents()" />
</span>
</div>
<div id="torrent-table-wrap">
<table id="torrent-table">
</table>
</div>
</div>
<div id="view-details">
<div>
<h2 id="torrent-name">n/a</h2>
<input type="text" id="torrent-name-input" onkeydown="if(event.keyCode==13) tracker.modifyTorrentName();"/>
<a href="#" onclick="gui.details.editTitle();" id="torrent-title-edit-link">[edit]</a>
<span onclick="tracker.showView('list');" class="fancybutton" id="details-back">Back</span>
</div>
<div id="details-main">
<div class="item" id="torrent-meta-info">
<h3>Metadata</h3>
<div class="subitem">
Info-Hash: <span id="detail-torrent-hash">n/a</span><br/>
Size: <span id="detail-torrent-size">n/a</span><br/>
Completion Count: <span id="detail-torrent-count">n/a</span><br/>
<!--Peers/Seeds: n/a<br/>//-->
</div>
</div>
<div class="item" id="category-view">
<h3>Categories</h3>
<div id="category-list">
<select id="add-cat-selector" onchange="gui.details.categoryAddHandler(event);">
</select>
</div>
</div>
<div class="item">
<h3>Options</h3>
<div class="subitem">
<a href="#" id="details-magnet-link">[Magnet]</a>
<a href="#" id="details-torrent-link">[.torrent]</a>
<a href="#" onclick="tracker.deleteDisplayedTorrent();">[Delete]</a>
</div>
</div>
</div>
</div>
<div id="footer-text">
<span id="status-line">Status: <span id="status-text"></span></span>
<span id="meta-footer">
<a href="https://github.com/kitinfo/tracker-panel">[source]</a>
<a href="http://www.kopimi.com/kopimi/"><img src="static/kopimi.png"/></a>
<a href="http://wtfpl.net/"><img src="static/wtfpl.png"/></a>
</span>
</div>
</div>
</body>
</html>