overleaf/services/web/app/views/subscriptions/plans.pug

128 lines
3.8 KiB
Text
Raw Normal View History

2014-02-12 05:23:40 -05:00
extends ../layout
include _plans_page_mixins
include _plans_page_tables
2014-09-04 14:03:04 -04:00
block scripts
script(type='text/javascript').
window.recomendedCurrency = '#{recomendedCurrency}'
2014-10-15 11:21:45 -04:00
window.abCurrencyFlag = '#{abCurrencyFlag}'
2014-02-12 05:23:40 -05:00
block content
.content.content-alt
.plans(ng-controller="PlansController")
.container(ng-cloak)
.row
.col-md-12
.page-header.centered.plans-header.text-centered
2018-08-27 11:01:12 -04:00
h1.text-capitalize #{translate('get_instant_access_to')} #{settings.appName}
.row
.col-md-8.col-md-offset-2
p.text-centered #{translate("sl_benefits_plans")}
.row.top-switch
.col-md-6.col-md-offset-3
+plan_switch('card')
.col-md-2.text-right
+currency_dropdown
div(ng-show="showPlans")
.row
.col-md-10.col-md-offset-1
.row
.card-group.text-centered(ng-if="ui.view == 'monthly' || ui.view == 'annual'")
.col-md-4
.card.card-first
.card-header
h2 #{translate("personal")}
h5.tagline #{translate("tagline_personal")}
.circle #{translate("free")}
+features_free
.col-md-4
.card.card-highlighted
.best-value
strong #{translate('best_value')}
.card-header
h2 #{translate("collaborator")}
h5.tagline #{translate("tagline_collaborator")}
.circle
+price_collaborator
+features_collaborator
.col-md-4
.card.card-last
.card-header
h2 #{translate("professional")}
h5.tagline #{translate("tagline_professional")}
.circle
+price_professional
+features_professional
.card-group.text-centered(ng-if="ui.view == 'student'")
.col-md-4
.card.card-first
.card-header
h2 #{translate("personal")}
h5.tagline #{translate("tagline_personal")}
.circle #{translate("free")}
+features_free
.col-md-4
.card.card-highlighted
+card_student_annual
.col-md-4
.card.card-last
+card_student_monthly
.row.row-spaced-large.text-centered
i.fa.fa-cc-mastercard.fa-2x  
i.fa.fa-cc-visa.fa-2x  
i.fa.fa-cc-amex.fa-2x  
i.fa.fa-cc-paypal.fa-2x  
div.text-centered #{translate('change_plans_any_time')}<br/> #{translate('billed_after_x_days', {len:'{{trial_len}}'})}
.row.row-spaced-large
.col-md-8.col-md-offset-2
.card.text-centered
.card-header
h2 #{translate('looking_multiple_licenses')}
span #{translate('reduce_costs_group_licenses')}
br
br
2018-08-30 14:20:58 -04:00
a.btn.btn-default(
href
ng-click="openGroupPlanModal()"
) #{translate('find_out_more')}
div
.row.row-spaced-large
.col-sm-12
.page-header.plans-header.plans-subheader.text-centered
h2 #{translate('compare_plan_features')}
.row
.col-md-6.col-md-offset-3
+plan_switch('table')
.col-md-3.text-right
+currency_dropdown
.row(event-tracking="features-table-viewed" event-tracking-ga="subscription-funnel" event-tracking-trigger="scroll" event-tracking-send-once="true" event-tracking-label=`exp-{{plansVariant}}`)
.col-sm-12(ng-if="ui.view != 'student'")
+table_premium
.col-sm-12(ng-if="ui.view == 'student'")
+table_student
2018-08-27 10:24:38 -04:00
include _plans_faq
.row.row-spaced-large
.col-md-12
.plans-header.plans-subheader.text-centered
h2 #{translate('still_have_questions')}
2018-08-30 14:20:58 -04:00
button.btn.btn-default.btn-header.text-capitalize(
ng-controller="ContactGeneralModal"
ng-click="openModal()"
) #{translate('get_in_touch')}
2018-08-27 10:24:38 -04:00
!= moduleIncludes("contactModalGeneral", locals)
.row.row-spaced
include _modal_group_inquiry