dropbox.jade 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. script(type="text/ng-template", id="dropboxModalTemplate")
  2. .modal-header
  3. button.close(
  4. type="button"
  5. data-dismiss="modal"
  6. ng-click="cancel()"
  7. ) ×
  8. h3 Dropbox Sync
  9. .modal-body.modal-body-share
  10. div(ng-show="dbState.gotLinkStatus")
  11. div(ng-hide="dbState.userIsLinkedToDropbox || !dbState.hasDropboxFeature")
  12. span(ng-hide="dbState.startedLinkProcess") Your account is not linked to dropbox
  13. |    
  14. a(ng-click="linkToDropbox()").btn.btn-info Update Dropbox Settings
  15. p.small.text-center(ng-show="dbState.startedLinkProcess")
  16. | Please refresh this page after starting your free trial.
  17. div(ng-show="dbState.hasDropboxFeature && dbState.userIsLinkedToDropbox")
  18. progressbar.progress-striped.active(value='dbState.percentageLeftTillNextPoll', type="info")
  19. p
  20. strong {{dbState.minsTillNextPoll}} minutes
  21. span until Dropbox is next checked for changes.
  22. p.small
  23. | This project will appear in your Dropbox folder at
  24. strong Dropbox/sharelatex/{{ project.name }}
  25. div.text-center(ng-hide="dbState.hasDropboxFeature")
  26. p You need to upgrade your account to link to dropbox.
  27. p
  28. a.btn.btn-info(ng-click="startFreeTrial('dropbox')") Start Free Trial
  29. p.small(ng-show="startedFreeTrial")
  30. | Please refresh this page after starting your free trial.
  31. div(ng-hide="dbState.gotLinkStatus")
  32. i.fa.fa-refresh.fa-spin
  33. span.small   Checking dropbox status
  34. .modal-footer()
  35. button.btn.btn-default(
  36. ng-click="cancel()",
  37. )
  38. span Dismiss