bonus_templates.pug 1.5 KB

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