Introduction
Introduction Statistics Contact Development Disclaimer Help
torrent.pug - seedlinux - Torrent indexing tool opensource torrents with share …
git clone git://jay.scot/seedlinux
Log
Files
Refs
README
---
torrent.pug (844B)
---
1 extends layout
2
3 mixin status(torrent)
4 td
5 a(href="/details/" + torrent.hash)
6 = torrent.name.replace(/\.[^/.]+$/, "").toLowerCase()
7 td= torrent.comment
8 td(data-sort-value=torrent.seeders)= torrent.seeders
9 td(data-sort-value=torrent.leechers)= torrent.leechers
10 td
11 i.magnet.olive.icon
12 a(href="" + torrent.magneturi)= "Magnet"
13 i.barcode.olive.icon
14 a(href="/download/" + torrent.hash)= "Torrent"
15
16 block content
17 table.ui.sortable.selectable.very.compact.olive.table
18 thead
19 tr
20 th= 'Name'
21 th.no-sort= 'Comment'
22 th= 'Seeders'
23 th= 'Leechers'
24 th.no-sort= 'Magnet'
25 tbody
26 each i in data.torrent_data
27 if i.seeders < 10 && i.seeders != 0
28 tr.negative
29 +status(i)
30 if i.seeders > 11
31 tr.positive
32 +status(i)
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.