mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 07:15:25 -05:00
Add group plan enquiry form
This commit is contained in:
parent
cb5206a49e
commit
9aa8682082
2 changed files with 43 additions and 2 deletions
|
@ -7,7 +7,7 @@ block content
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
.page-header.centered.plans-header.text-centered
|
.page-header.centered.plans-header.text-centered
|
||||||
h1 Start Your 30-Day Free Trial Today
|
h1 Start Your 30-Day Free Trial Today!
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-md-8.col-md-offset-2
|
.col-md-8.col-md-offset-2
|
||||||
|
@ -136,6 +136,42 @@ block content
|
||||||
|
|
||||||
.row(ng-cloak)
|
.row(ng-cloak)
|
||||||
p.text-centered Choose the plan that works for you with our 30-day free trial. Cancel at any time.
|
p.text-centered Choose the plan that works for you with our 30-day free trial. Cancel at any time.
|
||||||
|
|
||||||
|
.row(ng-cloak)
|
||||||
|
.col-md-8.col-md-offset-2
|
||||||
|
.alert.alert-info.text-centered
|
||||||
|
| Interested in using ShareLaTeX with a group, team or department wide account?
|
||||||
|
br
|
||||||
|
a(href, ng-click="openGroupPlanModal()") Get in touch for details!
|
||||||
|
|
||||||
|
script(type="text/ng-template", id="groupPlanModalTemplate")
|
||||||
|
.modal-header
|
||||||
|
h3 Group Plan Enquiry
|
||||||
|
.modal-body
|
||||||
|
form(name='form1', autocomplete='off', enctype='multipart/form-data', method='post', novalidate='', action='https://sharelatex.wufoo.com/forms/z7x3p3/#public', _lpchecked='1')
|
||||||
|
.form-group
|
||||||
|
label(for='Field9') Name
|
||||||
|
input.form-control(name='Field9', type='text', value='', maxlength='255', tabindex='1', onkeyup='')
|
||||||
|
|
||||||
|
.form-group
|
||||||
|
label(for='Field11') Email
|
||||||
|
input.form-control(name='Field11', type='email', spellcheck='false', value='', maxlength='255', tabindex='2')
|
||||||
|
|
||||||
|
.form-group
|
||||||
|
label(for='Field12') University
|
||||||
|
input.form-control(name='Field12', type='text', value='', maxlength='255', tabindex='3', onkeyup='')
|
||||||
|
|
||||||
|
.form-group
|
||||||
|
label(for='Field13') Position
|
||||||
|
input.form-control(name='Field13', type='text', value='', maxlength='255', tabindex='4', onkeyup='')
|
||||||
|
|
||||||
|
.form-group
|
||||||
|
input.btn.btn-primary.btn-large(name='saveForm', type='submit', value='Send')
|
||||||
|
div(style='display: none;')
|
||||||
|
label(for='comment') Do Not Fill This Out
|
||||||
|
textarea#comment(name='comment', rows='1', cols='1')
|
||||||
|
input#idstamp(type='hidden', name='idstamp', value='xkgLkZnS/AQW71jCS1d0XrrFjq26lJryIPVk2rx0YkU=')
|
||||||
|
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
define [
|
define [
|
||||||
"base"
|
"base"
|
||||||
], (App) ->
|
], (App) ->
|
||||||
App.controller "PlansController", ($scope, event_tracking) ->
|
App.controller "PlansController", ($scope, $modal, event_tracking) ->
|
||||||
|
|
||||||
$scope.ui =
|
$scope.ui =
|
||||||
view: "monthly"
|
view: "monthly"
|
||||||
|
@ -22,3 +22,8 @@ define [
|
||||||
$scope.switchToAnnual = ->
|
$scope.switchToAnnual = ->
|
||||||
$scope.ui.view = "annual"
|
$scope.ui.view = "annual"
|
||||||
event_tracking.send 'subscription-funnel', 'plans-page', 'student-prices'
|
event_tracking.send 'subscription-funnel', 'plans-page', 'student-prices'
|
||||||
|
|
||||||
|
$scope.openGroupPlanModal = () ->
|
||||||
|
$modal.open {
|
||||||
|
templateUrl: "groupPlanModalTemplate"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue