plans.jade 8.6 KB

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