v0.10.2 - Removed button to dismiss error on unsupported browsers
This commit is contained in:
parent
4a551cbca7
commit
48f29dff9a
4 changed files with 7 additions and 6 deletions
|
@ -69,7 +69,8 @@
|
||||||
$scope.disabled = true;
|
$scope.disabled = true;
|
||||||
ngNotify.set('Please use latest Chrome, Firefox or Opera', {
|
ngNotify.set('Please use latest Chrome, Firefox or Opera', {
|
||||||
type: 'error',
|
type: 'error',
|
||||||
sticky: true
|
sticky: true,
|
||||||
|
button: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
rtc = null;
|
rtc = null;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body ng-controller="BTorrentCtrl" ng-cloak="">
|
<body ng-controller="BTorrentCtrl" ng-cloak="">
|
||||||
<header>
|
<header>
|
||||||
<h1>βTorrent<span class="version"> v0.10.1</span></h1>
|
<h1>βTorrent<span class="version"> v0.10.2</span></h1>
|
||||||
</header>
|
</header>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
↑ {{client.uploadSpeed() | pbytes}}/s ·
|
↑ {{client.uploadSpeed() | pbytes}}/s ·
|
||||||
Ratio: {{client.ratio | number:2}}</strong></div>
|
Ratio: {{client.ratio | number:2}}</strong></div>
|
||||||
</div>
|
</div>
|
||||||
<footer><a href="https://github.com/DiegoRBaquero/BTorrent/issues" target="_blank" class="button"><i class="fa fa-github fa-5"> </i> Suggest a feature / Report a bug <i class="fa fa-comment"></i></a><br>An Open-Source project by <a href="http://diegorbaquero.com">DiegoRBaquero</a><br>Powered by <a href="https://webtorrent.io">WebTorrent</a><br><small>Need WebRTC + Web Seeding for your WebTorrent powered site? Contact <a href="http://diegorbaquero.com">me</a></small></footer>
|
<footer><a href="https://github.com/DiegoRBaquero/BTorrent/issues" target="_blank" class="button"><i class="fa fa-github"></i> Suggest a feature / Report a bug <i class="fa fa-comment"></i></a><br>An Open-Source project by <a href="http://diegorbaquero.com">DiegoRBaquero</a><br>Powered by <a href="https://webtorrent.io">WebTorrent</a><br><small>Need WebRTC + Web Seeding for your WebTorrent powered site? Contact <a href="http://diegorbaquero.com">me</a></small></footer>
|
||||||
<div ng-show="client.processing" class="spinner"><i class="fa fa-spinner fa-spin spinner-icon"></i></div>
|
<div ng-show="client.processing" class="spinner"><i class="fa fa-spinner fa-spin spinner-icon"></i></div>
|
||||||
<script src="app.js"></script>
|
<script src="app.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -53,7 +53,7 @@ app.controller 'BTorrentCtrl', ['$scope','$http','$log','$location', 'ngNotify',
|
||||||
rtc = window.mozRTCPeerConnection || window.RTCPeerConnection || window.webkitRTCPeerConnection
|
rtc = window.mozRTCPeerConnection || window.RTCPeerConnection || window.webkitRTCPeerConnection
|
||||||
if !rtc?
|
if !rtc?
|
||||||
$scope.disabled = true
|
$scope.disabled = true
|
||||||
ngNotify.set 'Please use latest Chrome, Firefox or Opera', {type: 'error', sticky: true}
|
ngNotify.set 'Please use latest Chrome, Firefox or Opera', {type: 'error', sticky: true, button: false}
|
||||||
rtc = null
|
rtc = null
|
||||||
|
|
||||||
$scope.client = client
|
$scope.client = client
|
||||||
|
|
|
@ -17,7 +17,7 @@ html(ng-app='BTorrent', lang='en')
|
||||||
header
|
header
|
||||||
h1
|
h1
|
||||||
| βTorrent
|
| βTorrent
|
||||||
span.version v0.10.1
|
span.version v0.10.2
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
.four.columns
|
.four.columns
|
||||||
|
@ -86,7 +86,7 @@ html(ng-app='BTorrent', lang='en')
|
||||||
| Ratio: {{client.ratio | number:2}}
|
| Ratio: {{client.ratio | number:2}}
|
||||||
footer
|
footer
|
||||||
a.button(href="https://github.com/DiegoRBaquero/BTorrent/issues", target="_blank")
|
a.button(href="https://github.com/DiegoRBaquero/BTorrent/issues", target="_blank")
|
||||||
i.fa.fa-github.fa-5
|
i.fa.fa-github
|
||||||
| Suggest a feature / Report a bug
|
| Suggest a feature / Report a bug
|
||||||
i.fa.fa-comment
|
i.fa.fa-comment
|
||||||
br
|
br
|
||||||
|
|
Loading…
Reference in a new issue