overleaf/services/web/app/views/project/editor/dropbox.jade

49 lines
1.5 KiB
Text
Raw Normal View History

2014-07-17 09:20:29 -04:00
script(type="text/ng-template", id="dropboxModalTemplate")
.modal-header
button.close(
type="button"
data-dismiss="modal"
ng-click="cancel()"
) ×
2014-07-31 08:03:34 -04:00
h3 Dropbox Sync
2014-07-17 09:20:29 -04:00
.modal-body.modal-body-share
div(ng-show="dbState.gotLinkStatus")
div(ng-hide="dbState.userIsLinkedToDropbox || !dbState.hasDropboxFeature")
span(ng-hide="dbState.startedLinkProcess") Your account is not linked to dropbox
|    
a(ng-click="linkToDropbox()").btn.btn-info Update Dropbox Settings
p.small.text-center(ng-show="dbState.startedLinkProcess")
| Please refresh this page after starting your free trial.
div(ng-show="dbState.hasDropboxFeature && dbState.userIsLinkedToDropbox")
2014-07-17 10:08:12 -04:00
progressbar.progress-striped.active(value='dbState.percentageLeftTillNextPoll', type="info")
2014-07-31 08:03:34 -04:00
p
2014-07-17 09:20:29 -04:00
strong {{dbState.minsTillNextPoll}} minutes
2014-07-31 08:03:34 -04:00
span until Dropbox is next checked for changes.
p.small
| This project will appear in your Dropbox folder at
strong Dropbox/sharelatex/{{ project.name }}
2014-07-17 09:20:29 -04:00
div.text-center(ng-hide="dbState.hasDropboxFeature")
p You need to upgrade your account to link to dropbox.
p
a.btn.btn-info(ng-click="startFreeTrial('dropbox')") Start Free Trial
p.small(ng-show="startedFreeTrial")
| Please refresh this page after starting your free trial.
div(ng-hide="dbState.gotLinkStatus")
i.fa.fa-refresh.fa-spin
2014-07-31 08:03:34 -04:00
span.small   Checking dropbox status
2014-07-17 09:20:29 -04:00
.modal-footer()
button.btn.btn-default(
ng-click="cancel()",
)
span Dismiss