Fixed scrollbars and spaces
This commit is contained in:
parent
8972bdc891
commit
2e22f7be2e
3 changed files with 15 additions and 10 deletions
|
@ -8,7 +8,7 @@ trackers = [
|
||||||
[ 'ws://tracker.fastcast.nz' ]
|
[ 'ws://tracker.fastcast.nz' ]
|
||||||
]
|
]
|
||||||
|
|
||||||
opts = {announceList: trackers}
|
opts = {announce: trackers}
|
||||||
|
|
||||||
client = new WebTorrent
|
client = new WebTorrent
|
||||||
debug = true
|
debug = true
|
||||||
|
@ -70,7 +70,7 @@ app.controller 'bTorrentCtrl', ['$scope','$http','$log','$location', ($scope, $h
|
||||||
if $scope.torrentInput != ''
|
if $scope.torrentInput != ''
|
||||||
$scope.client.processing = true
|
$scope.client.processing = true
|
||||||
dbg 'Adding ' + $scope.torrentInput
|
dbg 'Adding ' + $scope.torrentInput
|
||||||
$scope.client.add $scope.torrentInput, $scope.onTorrent
|
$scope.client.add $scope.torrentInput, opts, $scope.onTorrent
|
||||||
$scope.torrentInput = ''
|
$scope.torrentInput = ''
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
15
index.jade
15
index.jade
|
@ -61,17 +61,22 @@ html(ng-app='bTorrent', lang='en')
|
||||||
span.subInfo ({{torrent.pProgress}}%)
|
span.subInfo ({{torrent.pProgress}}%)
|
||||||
br
|
br
|
||||||
span.subInfo @ {{torrent.downloadSpeed() | pbytes}}/s
|
span.subInfo @ {{torrent.downloadSpeed() | pbytes}}/s
|
||||||
td(ng-hide='client.done()') {{torrent.tRemaining}}
|
td(ng-hide='client.done()')
|
||||||
td(ng-hide='client.downloading()') {{torrent.uploaded | pbytes}}
|
| {{torrent.tRemaining}}
|
||||||
|
td(ng-hide='client.downloading()')
|
||||||
|
| {{torrent.uploaded | pbytes}}
|
||||||
br
|
br
|
||||||
span.subInfo @ {{torrent.uploadSpeed() | pbytes}}/s
|
span.subInfo @ {{torrent.uploadSpeed() | pbytes}}/s
|
||||||
td {{torrent.swarm.wires.length}}
|
td {{torrent.swarm.wires.length}}
|
||||||
td
|
td
|
||||||
a(ng-href='#{{torrent.infoHash}}', target='_blank') βTorrent
|
a(ng-href='#{{torrent.infoHash}}', target='_blank')
|
||||||
|
| βTorrent
|
||||||
|
|
|
|
||||||
a(ng-href='{{torrent.magnetURI}}', target='_blank') Magnet URI
|
a(ng-href='{{torrent.magnetURI}}', target='_blank')
|
||||||
|
| Magnet URI
|
||||||
|
|
|
|
||||||
a(ng-href='{{torrent.oTorrentFileURL}}', target='_blank', download='{{torrent.fileName}}') .torrent
|
a(ng-href='{{torrent.oTorrentFileURL}}', target='_blank', download='{{torrent.fileName}}')
|
||||||
|
| .torrent
|
||||||
br
|
br
|
||||||
span.subInfo
|
span.subInfo
|
||||||
i.fa.fa-hashtag
|
i.fa.fa-hashtag
|
||||||
|
|
|
@ -9,7 +9,7 @@ th, td
|
||||||
padding-left: 10px
|
padding-left: 10px
|
||||||
padding-right: 10px
|
padding-right: 10px
|
||||||
max-width: 200px
|
max-width: 200px
|
||||||
overflow: scroll
|
overflow: auto
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
||||||
.version
|
.version
|
||||||
|
|
Loading…
Reference in a new issue