mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
made restricted page like 404, also got dropbox progress bar going the other way
This commit is contained in:
parent
c429bd1f44
commit
fc02f99659
2 changed files with 11 additions and 8 deletions
|
@ -1,10 +1,13 @@
|
|||
extends ../layout
|
||||
|
||||
block content
|
||||
|
||||
.container#loginBox
|
||||
.content
|
||||
.container
|
||||
.row
|
||||
.box.span3.offset4
|
||||
.col-md-8.col-md-offset-2.text-center
|
||||
.page-header
|
||||
h1 Restricted
|
||||
|
||||
h2 Restricted, sorry you don't have permission to load this page.
|
||||
p
|
||||
a(href="/")
|
||||
i.fa.fa-arrow-circle-o-left
|
||||
| Take me home!
|
|
@ -34,7 +34,7 @@ define [
|
|||
roundedMinsSinceLastPoll = Math.round(milisecondsSinceLastPoll / ONE_MIN_MILI)
|
||||
|
||||
$scope.dbState.minsTillNextPoll = POLLING_INTERVAL - roundedMinsSinceLastPoll
|
||||
$scope.dbState.percentageLeftTillNextPoll = 100 - ((roundedMinsSinceLastPoll / POLLING_INTERVAL) * 100)
|
||||
$scope.dbState.percentageLeftTillNextPoll = ((roundedMinsSinceLastPoll / POLLING_INTERVAL) * 100)
|
||||
console.log $scope.dbState.percentageLeftTillNextPoll
|
||||
$timeout calculatePollTime, 60 * 1000
|
||||
|
||||
|
|
Loading…
Reference in a new issue