v0.10.2 - Removed button to dismiss error on unsupported browsers

This commit is contained in:
Diego Rodríguez 2016-01-02 03:41:37 -05:00
parent 4a551cbca7
commit 48f29dff9a
4 changed files with 7 additions and 6 deletions

View file

@ -69,7 +69,8 @@
$scope.disabled = true;
ngNotify.set('Please use latest Chrome, Firefox or Opera', {
type: 'error',
sticky: true
sticky: true,
button: false
});
}
rtc = null;

View file

@ -16,7 +16,7 @@
</head>
<body ng-controller="BTorrentCtrl" ng-cloak="">
<header>
<h1>βTorrent<span class="version"> v0.10.1</span></h1>
<h1>βTorrent<span class="version"> v0.10.2</span></h1>
</header>
<div class="container">
<div class="row">
@ -82,7 +82,7 @@
↑ {{client.uploadSpeed() | pbytes}}/s ·
Ratio: {{client.ratio | number:2}}</strong></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>
<script src="app.js"></script>
</body>

View file

@ -53,7 +53,7 @@ app.controller 'BTorrentCtrl', ['$scope','$http','$log','$location', 'ngNotify',
rtc = window.mozRTCPeerConnection || window.RTCPeerConnection || window.webkitRTCPeerConnection
if !rtc?
$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
$scope.client = client

View file

@ -17,7 +17,7 @@ html(ng-app='BTorrent', lang='en')
header
h1
| βTorrent
span.version v0.10.1
span.version v0.10.2
.container
.row
.four.columns
@ -86,7 +86,7 @@ html(ng-app='BTorrent', lang='en')
| Ratio: {{client.ratio | number:2}}
footer
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
i.fa.fa-comment
br