plans.jade 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. extends ../layout
  2. block content
  3. .content-alt
  4. .content.plans(ng-controller="PlansController")
  5. .container
  6. .row
  7. .col-md-12
  8. .page-header.centered.plans-header.text-centered
  9. h1 #{translate("start_x_day_trial", {len:30})}
  10. .row
  11. .col-md-8.col-md-offset-2
  12. p.text-centered #{translate("sl_benefits_plans")}
  13. .row(ng-cloak)
  14. .col-md-12
  15. ul.nav.nav-pills
  16. li(ng-class="{'active': ui.view == 'monthly'}")
  17. a(
  18. href,
  19. ng-click="switchToMonthly()"
  20. ) #{translate("monthly")}
  21. li(ng-class="{'active': ui.view == 'annual'}")
  22. a(
  23. href
  24. ng-click="switchToAnnual()"
  25. ) #{translate("annual")}
  26. li(ng-class="{'active': ui.view == 'student'}")
  27. a(
  28. href,
  29. ng-click="switchToStudent()"
  30. ) #{translate("half_price_student")}
  31. .row(ng-cloak)
  32. .col-md-12
  33. .card-group.text-centered(ng-if="ui.view == 'monthly' || ui.view == 'annual'")
  34. .card
  35. .card-header
  36. h2 #{translate("personal")}
  37. .circle #{translate("free")}
  38. ul.list-unstyled
  39. li #{translate("one_collaborator")}
  40. li  
  41. li  
  42. li
  43. br
  44. a.btn.btn-info(href="/register") #{translate("sign_up_now")}
  45. .card.highlighted
  46. .card-header
  47. h2 #{translate("collaborator")}
  48. .circle
  49. span(ng-if="ui.view == 'monthly'")
  50. | $15
  51. span.small /mo
  52. span(ng-if="ui.view == 'annual'")
  53. | $180
  54. span.small /yr
  55. ul.list-unstyled
  56. li
  57. strong #{translate("collabs_per_proj", {collabcount:10})}
  58. li #{translate("full_doc_history")}
  59. li #{translate("sync_to_dropbox")}
  60. li
  61. br
  62. a.btn.btn-info(
  63. ng-href="#{baseUrl}/user/subscription/new?planCode=collaborator{{ ui.view == 'annual' && '-annual' || '_free_trial'}}", ng-click="signUpNowClicked('collaborator')"
  64. )
  65. span(ng-show="ui.view != 'annual'") #{translate("start_free_trial")}
  66. span(ng-show="ui.view == 'annual'") #{translate("buy_now")}
  67. .card
  68. .card-header
  69. h2 #{translate("professional")}
  70. .circle
  71. span(ng-if="ui.view == 'monthly'")
  72. | $30
  73. span.small /mo
  74. span(ng-if="ui.view == 'annual'")
  75. | $360
  76. span.small /yr
  77. ul.list-unstyled
  78. li
  79. strong #{translate("unlimited_collabs")}
  80. li #{translate("full_doc_history")}
  81. li #{translate("sync_to_dropbox")}
  82. li
  83. br
  84. a.btn.btn-info(
  85. ng-href="#{baseUrl}/user/subscription/new?planCode=professional{{ ui.view == 'annual' && '-annual' || '_free_trial'}}", ng-click="signUpNowClicked('professional')"
  86. )
  87. span(ng-show="ui.view != 'annual'") #{translate("start_free_trial")}
  88. span(ng-show="ui.view == 'annual'") #{translate("buy_now")}
  89. .card-group.text-centered(ng-if="ui.view == 'student'")
  90. .card
  91. .card-header
  92. h2 #{translate("personal")}
  93. .circle #{translate("free")}
  94. ul.list-unstyled
  95. li #{translate("one_collaborator")}
  96. li  
  97. li  
  98. li
  99. br
  100. a.btn.btn-info(href="/register") #{translate("sign_up_now")}
  101. .card.highlighted
  102. .card-header
  103. h2 #{translate("student")}
  104. .circle
  105. span
  106. | $8
  107. span.small /mo
  108. ul.list-unstyled
  109. li
  110. strong #{translate("collabs_per_proj", {collabcount:6})}
  111. li #{translate("full_doc_history")}
  112. li #{translate("sync_to_dropbox")}
  113. li
  114. br
  115. a.btn.btn-info(
  116. ng-href="#{baseUrl}/user/subscription/new?planCode=student_free_trial", ng-click="signUpNowClicked('student')"
  117. ) #{translate("start_free_trial")}
  118. .card
  119. .card-header
  120. h2 #{translate("student")} (#{translate("annual")})
  121. .circle
  122. span
  123. | $80
  124. span.small /yr
  125. ul.list-unstyled
  126. li
  127. strong #{translate("collabs_per_proj", {collabcount:6})}
  128. li #{translate("full_doc_history")}
  129. li #{translate("sync_to_dropbox")}
  130. li
  131. br
  132. a.btn.btn-info(
  133. ng-href="#{baseUrl}/user/subscription/new?planCode=student-annual", ng-click="signUpNowClicked('student')"
  134. ) #{translate("buy_now")}
  135. .row(ng-cloak)
  136. p.text-centered #{translate("choose_plan_works_for_you", {len:14})}
  137. .row(ng-cloak)
  138. .col-md-8.col-md-offset-2
  139. .alert.alert-info.text-centered
  140. | #{translate("interested_in_group_licence")}
  141. br
  142. a(href, ng-click="openGroupPlanModal()") #{translate("get_in_touch_for_details")}
  143. script(type="text/ng-template", id="groupPlanModalTemplate")
  144. .modal-header
  145. h3 #{translate("group_plan_enquiry")}
  146. .modal-body
  147. form(name='form1', autocomplete='off', enctype='multipart/form-data', method='post', novalidate='', action='https://sharelatex.wufoo.com/forms/z7x3p3/#public', _lpchecked='1')
  148. .form-group
  149. label(for='Field9') #{translate("name")}
  150. input.form-control(name='Field9', type='text', value='', maxlength='255', tabindex='1', onkeyup='')
  151. .form-group
  152. label(for='Field11') #{translate("email")}
  153. input.form-control(name='Field11', type='email', spellcheck='false', value='', maxlength='255', tabindex='2')
  154. .form-group
  155. label(for='Field12') #{translate("university")}
  156. input.form-control(name='Field12', type='text', value='', maxlength='255', tabindex='3', onkeyup='')
  157. .form-group
  158. label(for='Field13') #{translate("position")}
  159. input.form-control(name='Field13', type='text', value='', maxlength='255', tabindex='4', onkeyup='')
  160. .form-group
  161. input.btn.btn-primary.btn-large(name='saveForm', type='submit', value='Send')
  162. div(style='display: none;')
  163. label(for='comment') Do Not Fill This Out
  164. textarea#comment(name='comment', rows='1', cols='1')
  165. input#idstamp(type='hidden', name='idstamp', value='xkgLkZnS/AQW71jCS1d0XrrFjq26lJryIPVk2rx0YkU=')
  166. .row
  167. .col-md-12
  168. .page-header.plans-header.plans-subheader.text-centered
  169. h2 #{translate("enjoy_these_features")}
  170. .col-md-4
  171. .card.features.text-centered
  172. i.fa.fa-file-text-o.fa-5x
  173. h4 #{translate("unlimited_projects")}
  174. p #{translate("create_unlimited_projects")}
  175. .col-md-4
  176. .card.features.text-centered
  177. i.fa.fa-clock-o.fa-5x
  178. h4 #{translate("full_doc_history")}
  179. p #{translate("never_loose_work")}
  180. .col-md-4
  181. .card.features.text-centered
  182. i.fa.fa-dropbox.fa-5x
  183. h4 #{translate("sync_to_dropbox")}
  184. p #{translate("access_projects_anywhere")}