From 37c1add251849935b8bcc21f4ade7b485ed16c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez?= Date: Wed, 24 Feb 2016 18:51:23 -0300 Subject: [PATCH] Added number of peers in the single download view --- 200.jade | 4 ++-- views/download.jade | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/200.jade b/200.jade index fcf28fa..9c71858 100644 --- a/200.jade +++ b/200.jade @@ -8,7 +8,7 @@ html(ng-app='BTorrent', lang='en') meta(name='keywords', content='βTorrent, btorrent, client, webtorrent, browser, torrent, stream, bittorrent, torrenting, sharing, filesharing') meta(name='author', content='Diego Rodríguez Baquero - DiegoRBaquero') meta(name='viewport', content='width=device-width, initial-scale=1') - script(src='https://cdn.jsdelivr.net/g/webtorrent@0.76,momentjs@2.11,angularjs@1.4(angular.min.js+angular-route.min.js+angular-sanitize.min.js),angular.ui-grid@3.1,angular.ng-notify@0.7,angular.file-upload@12') + script(src='https://cdn.jsdelivr.net/g/webtorrent@0.78,momentjs@2.11,angularjs@1.4(angular.min.js+angular-route.min.js+angular-sanitize.min.js),angular.ui-grid@3.1,angular.ng-notify@0.7,angular.file-upload@12') link(rel='stylesheet', href='https://cdn.jsdelivr.net/g/normalize@3.0,skeleton@2.0,angular.ng-notify@0.7(ng-notify.min.css)') link(rel='stylesheet', href='https://cdn.jsdelivr.net/fontawesome/4.5/css/font-awesome.min.css') link(rel='stylesheet', href='https://cdn.jsdelivr.net/angular.ui-grid/3.1/ui-grid.min.css') @@ -17,7 +17,7 @@ html(ng-app='BTorrent', lang='en') header h1 | βTorrent - span.version v0.13.0 + span.version v0.13.1 div.views a(ng-href='/#') Full | | diff --git a/views/download.jade b/views/download.jade index 2f8313e..76b2d70 100644 --- a/views/download.jade +++ b/views/download.jade @@ -26,7 +26,10 @@ tr td Completed td {{$root.selectedTorrent.progress | progress}} ({{$root.selectedTorrent.downloaded | pbytes}}) - tr + tr + td Peers + td {{$root.selectedTorrent.numPeers}} + tr td ↓ Speed td {{$root.selectedTorrent.downloadSpeed | pbytes:1}} tr