v0.14.3 - Center view

This commit is contained in:
Diego Rodríguez 2016-03-02 15:33:11 -03:00
parent cb213b9880
commit 43ecf977c0
2 changed files with 3 additions and 3 deletions

View file

@ -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.81,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.80,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.14.2
span.version v0.14.3
div.views(ng-show='$root.client.torrents.length == 0')
a(ng-href='/#') Full
| |

View file

@ -237,7 +237,7 @@ app.controller 'ViewCtrl', ['$scope','$rootScope','$http','$log','$location', 'n
html: true
onTorrent = (torrent, isSeed) ->
$rootScope.viewerStyle = {'margin-top': '-20px'}
$rootScope.viewerStyle = {'margin-top': '-20px', 'text-align': 'center'}
dbg torrent.magnetURI
torrent.safeTorrentFileURL = torrent.torrentFileBlobURL
torrent.fileName = torrent.name + '.torrent'