Commit a43f7068 authored by Brandon Lyon's avatar Brandon Lyon 💬

bl-digmar-1400-1401-add-js-to-gated-content

parent c27b9555
......@@ -61,7 +61,7 @@ success_message: "You will also receive the webcast details and additional proof
.col-md-4.col-md-offset-1
.webcast-outer-wrapper
-#= partial "includes/webcast-single", locals: { youtube_url: "https://www.youtube.com/embed/isJu3P-pwc4", formid: "1592", webcasttitle: "Watch a webcast to learn how GitLab's CI/CD can help speed up your development cycle by 200%" }
= partial "includes/form-to-resource", locals: { destination_url: current_page.data.destination_url, form_id: current_page.data.form_id, form_type: current_page.data.form_type, cta_title: current_page.data.cta_title, cta_date: current_page.data.cta_date, cta_subtitle: current_page.data.cta_subtitle, link_text: current_page.data.link_text, success_message: current_page.data.success_message }
= partial "includes/form-to-resource"
.cta-featured-image
.row.u-margin-bottom-md
......
......@@ -46,7 +46,7 @@ success_message: "You will also receive a copy of the webcast in your inbox shor
.col-md-5.col-md-offset-1
.form-to-resource-outer-wrapper
= partial "includes/form-to-resource", locals: { destination_url: current_page.data.destination_url, form_id: current_page.data.form_id, form_type: current_page.data.form_type, cta_title: current_page.data.cta_title, cta_date: current_page.data.cta_date, cta_subtitle: current_page.data.cta_subtitle, link_text: current_page.data.link_text, success_message: current_page.data.success_message }
= partial "includes/form-to-resource"
.content-divider.u-margin-top-md.u-margin-bottom-md
= partial "includes/just-commit/dividers/just-commit-divider.svg"
......
.form-to-resource-content
.form-to-resource-content-section
.form-container
%h3.margin-top0 #{cta_title}
-if cta_date
%h4= cta_date
- if cta_subtitle
%p= cta_subtitle
%h3.margin-top0 #{current_page.data.cta_title}
-if current_page.data.cta_date
%h4= current_page.data.cta_date
- if current_page.data.cta_subtitle
%p= current_page.data.cta_subtitle
.form
%script{src: "//page.gitlab.com/js/forms2/js/forms2.min.js"}
%form{id: "mktoForm_#{form_id}"}
%form{id: "mktoForm_#{current_page.data.form_id}"}
:javascript
var formNumber = #{form_id || 'null'};
var formNumber = #{current_page.data.form_id || 'null'};
MktoForms2.loadForm("//page.gitlab.com", "194-VVC-221", #{current_page.data.form_id}, function(form)
{
var destinationUrlId = $('#destination-url');
......@@ -35,5 +35,5 @@
.confirmform{style: "visibility:hidden;height:0;"}
.centered-form-info
%h3
%a#destination-url.destination-url{href: "#{destination_url}"} #{link_text}
%p= success_message
%a#destination-url.destination-url{href: "#{current_page.data.destination_url}", target: "_blank"} #{current_page.data.link_text}
%p= current_page.data.success_message
......@@ -46,7 +46,7 @@ success_message: "You will also receive a link to the report to your inbox short
.col-md-5.col-md-offset-1
.form-to-resource-outer-wrapper
= partial "includes/form-to-resource", locals: { destination_url: current_page.data.destination_url, form_id: current_page.data.form_id, form_type: current_page.data.form_type, cta_title: current_page.data.cta_title, cta_date: current_page.data.cta_date, cta_subtitle: current_page.data.cta_subtitle, link_text: current_page.data.link_text, success_message: current_page.data.success_message }
= partial "includes/form-to-resource"
.content-divider.u-margin-top-md.u-margin-bottom-md
= partial "includes/just-commit/dividers/just-commit-divider.svg"
......
......@@ -46,7 +46,7 @@ success_message: "You will also receive a copy of the whitepaper to your inbox s
.col-md-5.col-md-offset-1
.form-to-resource-outer-wrapper
= partial "includes/form-to-resource", locals: { destination_url: current_page.data.destination_url, form_id: current_page.data.form_id, form_type: current_page.data.form_type, cta_title: current_page.data.cta_title, cta_date: current_page.data.cta_date, cta_subtitle: current_page.data.cta_subtitle, link_text: current_page.data.link_text, success_message: current_page.data.success_message }
= partial "includes/form-to-resource"
.content-divider.u-margin-top-md.u-margin-bottom-md
= partial "includes/just-commit/dividers/just-commit-divider.svg"
......
......@@ -46,7 +46,7 @@ success_message: "You will also receive a copy of the whitepaper to your inbox s
.col-md-5.col-md-offset-1
.form-to-resource-outer-wrapper
= partial "includes/form-to-resource", locals: { destination_url: current_page.data.destination_url, form_id: current_page.data.form_id, form_type: current_page.data.form_type, cta_title: current_page.data.cta_title, cta_date: current_page.data.cta_date, cta_subtitle: current_page.data.cta_subtitle, link_text: current_page.data.link_text, success_message: current_page.data.success_message }
= partial "includes/form-to-resource"
.content-divider.u-margin-top-md.u-margin-bottom-md
= partial "includes/just-commit/dividers/just-commit-divider.svg"
......
......@@ -11,7 +11,7 @@ cta_title: "Download the eBook"
cta_date:
cta_subtitle:
link_text: "Click here to download the eBook."
success_message: "You will also receive an copy of the eBook sent to your inbox shortly."
success_message: "You will also receive a copy of the eBook sent to your inbox shortly."
---
.wrapper
......@@ -40,4 +40,4 @@ success_message: "You will also receive an copy of the eBook sent to your inbox
%p Download the ebook to learn how you can utilize CI/CD without the costly integrations or plug-in maintenance.
.col-md-4.col-md-offset-1
= partial "includes/form-to-resource", locals: { destination_url: current_page.data.destination_url, form_id: current_page.data.form_id, form_type: current_page.data.form_type, cta_title: current_page.data.cta_title, cta_date: current_page.data.cta_date, cta_subtitle: current_page.data.cta_subtitle, link_text: current_page.data.link_text, success_message: current_page.data.success_message }
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: Forrester Cites GitLab As A Strong Performer In Value Stream Management T
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "/resources/forrester-new-wave-vsm-2018/"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -30,20 +38,4 @@ extra_css:
%p Download the full report to learn more about why GitLab was cited as a Strong Performer in The Forrester New Wave™: Value Stream Management Tools, Q3 2018.
.col-md-4.col-md-offset-1
%h2 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="/resources/forrester-new-wave-vsm-2018/">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: GitLab's Continuous Integration Cited As Leader In Forrester Tools Evalua
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "/resources/forrester-wave-ci-2017/"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -26,20 +34,4 @@ extra_css:
%br
.col-md-4.col-md-offset-1
%h2 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="/resources/forrester-wave-ci-2017/">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: Gartner Cites GitLab as a Niche Player in MQ for ARO
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://www.gartner.com/doc/reprints?id=1-5LXJXMS&ct=181017&st=sb"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive an copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -36,20 +44,4 @@ extra_css:
%p Gartner, Magic Quadrant for Application Release Orchestration, Colin Fletcher, Laurie Wurster, Christopher Little, 10 September 2018
.col-md-4.col-md-offset-1
%h2.margin-top0 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="https://www.gartner.com/doc/reprints?id=1-5LXJXMS&ct=181017&st=sb">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: Faster software delivery will accelerate digital transformation
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://reprints.forrester.com/#/assets/2/921/RES116443/reports"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -32,20 +40,5 @@ extra_css:
%p Download this report to learn how to reduce cycle time and gain a competitive edge.
.col-md-4.col-md-offset-1
%h2.margin-top0 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="https://reprints.forrester.com/#/assets/2/921/RES116443/reports">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: Best practices for running containers and Kubernetes in production
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://www.gartner.com/doc/reprints?id=1-WDD7VN8&ct=190628&st=sb"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -35,20 +43,4 @@ extra_css:
%p Gartner, Best Practices for Running Containers and Kubernetes in Production, Arun Chandrasekaran, 25 February 2019
.col-md-4.col-md-offset-1
%h2.margin-top0 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="https://www.gartner.com/doc/reprints?id=1-WDD7VN8&ct=190628&st=sb">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: DevOps success requires shift-right testing in production
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://www.gartner.com/doc/reprints?id=1-WDD7VN8&ct=190628&st=sb"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -33,20 +41,4 @@ extra_css:
%p Gartner, DevOps Success Requires Shift-Right Testing in Production, Jim Scheibmeir, Christopher Little, 15 January 2019
.col-md-4.col-md-offset-1
%h2.margin-top0 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="https://www.gartner.com/doc/reprints?id=1-WDD7VNB&ct=190628&st=sb">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: 'Survey Analysis: Results Show How Government CIOs Are Tackling Moderniza
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://www.gartner.com/doc/reprints?id=1-1OAOL395&ct=190719&st=sb"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -35,21 +43,4 @@ extra_css:
%p Gartner, Survey Analysis: Results Show How Government CIOs Are Tackling Modernization, Dean Lacheca, 7 June 2019
.col-md-4.col-md-offset-1
%h2.margin-top0 Download the report
%p If you don't see the form, try temporarily disabling ad blockers or use <a href="https://www.google.com/chrome/" target="_blank">another browser</a>.
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="https://www.gartner.com/doc/reprints?id=1-1OAOL395&ct=190719&st=sb">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: Gartner Evaluated GitLab as a Visionary in Magic Quadrant for Enterprise
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://www.gartner.com/doc/reprints?id=1-6K9591X&ct=190423&st=sb"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -35,20 +43,4 @@ extra_css:
%p Gartner, Magic Quadrant for Enterprise Agile, Keith Mann, Mike West, Thomas Murphy, Nathon wilson, 18 April 2019
.col-md-4.col-md-offset-1
%h2.margin-top0 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="https://www.gartner.com/doc/reprints?id=1-6K9591X&ct=190423&st=sb">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: Four steps to adopt open-source software as part of the DevOps toolchain
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://www.gartner.com/doc/reprints?id=1-10JDD46M&ct=190701&st=sb"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -35,20 +43,4 @@ extra_css:
%p Gartner, Four Steps to Adopt Open-Source Software as Part of the DevOps Toolchain, Manjunath Bhat, Daniel Betts, Christopher Little, 6 February 2019
.col-md-4.col-md-offset-1
%h2.margin-top0 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{ style: "visibility:hidden;" }
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="https://www.gartner.com/doc/reprints?id=1-10JDD46M&ct=190701&st=sb">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: IDC Innovators - Agile Code Development Technologies, 2018
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://page.gitlab.com/rs/194-VVC-221/images/IDC-Innovators-Agile-Code-Development-Technologies-2018.pdf"
form_id: "1002"
form_type: "resources"
cta_title: "Download the report"
cta_date:
cta_subtitle:
link_text: "Click here to download the report."
success_message: "You will also receive a copy of the report sent to your inbox shortly."
---
.wrapper
......@@ -25,20 +33,4 @@ extra_css:
%p Download the full report to learn why GitLab was chosen as an IDC Innovator, including an overall assessment, key differentiators, challenges in the market, and related research.
.col-md-4.col-md-offset-1
%h2 Download the report
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{style: "visibility:hidden;"}
.col-md-4.col-md-4.col-md-offset-1
%h3 <a href="https://page.gitlab.com/rs/194-VVC-221/images/IDC-Innovators-Agile-Code-Development-Technologies-2018.pdf" target="_blank">Click here to download the report.</a>
%p You will also receive an copy of the report sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,6 +4,14 @@ title: Starting and Scaling DevOps in the Enterprise by Gary Gruver
suppress_header: true
extra_css:
- styles-2018.css
destination_url: "https://page.gitlab.com/rs/194-VVC-221/images/Starting and Scaling DevOps in the Enterprise.pdf"
form_id: "1600"
form_type: "resources"
cta_title: "Download the book"
cta_date:
cta_subtitle:
link_text: "Click to download the the book pdf."
success_message: "You will also receive an email with download links (pdf, epub, mobi)."
---
.wrapper
......@@ -40,20 +48,4 @@ extra_css:
%li Chapter 10 - The Impact of Moving to DevOps in Larger, More Complex Organizations
.col-md-4.col-md-offset-1
%h2 Download the book
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1600
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1600, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{style: "visibility:hidden;"}
.col-md-4.col-md-4.col-md-offset-1
%h3 Thank you!
%p <a href="https://page.gitlab.com/rs/194-VVC-221/images/Starting and Scaling DevOps in the Enterprise.pdf" target="_blank">Click to download</a> the book pdf. You will also receive an email with download links (pdf, epub, mobi).
= partial "includes/form-to-resource"
......@@ -4,7 +4,14 @@ title: Demo - Security Testing
suppress_header: true
extra_css:
- styles-2018.css
- webcast.css
destination_url: "https://www.youtube.com/watch?v=2SCu2p6-mec"
form_id: "1002"
form_type: "resources"
cta_title: "Watch the demo"
cta_date:
cta_subtitle:
link_text: "Watch the demo"
success_message: "You will also receive a link to the demo sent to your inbox."
---
.wrapper
......@@ -33,20 +40,4 @@ extra_css:
.col-md-4.col-md-offset-1
%h3.margin-top0 Watch the demo
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{style: "visibility:hidden;"}
.col-md-4.col-md-4.col-md-offset-1
%a.btn.cta-btn.orange{ href: "https://www.youtube.com/watch?v=2SCu2p6-mec", target: "_blank" } Watch the demo
%p.margin-top20 You will also receive a link to the demo sent to your inbox.
= partial "includes/form-to-resource"
\ No newline at end of file
......@@ -4,7 +4,14 @@ title: Video - Going Cloud-Native
suppress_header: true
extra_css:
- styles-2018.css
- webcast.css
destination_url: "https://www.youtube.com/watch?v=wtaOQY_ITvQ"
form_id: "1002"
form_type: "resources"
cta_title: "Watch the video"
cta_date:
cta_subtitle:
link_text: "Watch the video"
success_message: "You will also receive a link to the video sent to your inbox."
---
.wrapper
......@@ -33,20 +40,4 @@ extra_css:
.col-md-4.col-md-offset-1
%h3.margin-top0 Watch the video
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{style: "visibility:hidden;"}
.col-md-4.col-md-4.col-md-offset-1
%a.btn.cta-btn.orange{ href: "https://www.youtube.com/watch?v=wtaOQY_ITvQ", target: "_blank" } Watch the video
%p.margin-top20 You will also receive a link to the video sent to your inbox.
= partial "includes/form-to-resource"
......@@ -4,7 +4,14 @@ title: Video - Security Capabilities
suppress_header: true
extra_css:
- styles-2018.css
- webcast.css
destination_url: "https://www.youtube.com/watch?v=DjgZAoXyO_k"
form_id: "1002"
form_type: "resources"
cta_title: "Watch the video"
cta_date:
cta_subtitle:
link_text: "Watch the video"
success_message: "You will also receive a link to the video sent to your inbox."
---
.wrapper
......@@ -33,20 +40,4 @@ extra_css:
.col-md-4.col-md-offset-1
%h3.margin-top0 Watch the video
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{style: "visibility:hidden;"}
.col-md-4.col-md-4.col-md-offset-1
%a.btn.cta-btn.orange{ href: "https://www.youtube.com/watch?v=DjgZAoXyO_k", target: "_blank" } Watch the video
%p.margin-top20 You will also receive a link to the video sent to your inbox.
= partial "includes/form-to-resource"
......@@ -4,7 +4,14 @@ title: Whitepaper - Bridging the divide
suppress_header: true
extra_css:
- styles-2018.css
- webcast.css
destination_url: "/resources/downloads/201806_WP_Bridging_developers_and_management.pdf"
form_id: "1002"
form_type: "resources"
cta_title: "Download the whitepaper"
cta_date:
cta_subtitle:
link_text: "Click here to download the whitepaper."
success_message: "You will also receive a copy of the whitepaper sent to your inbox shortly."
---
.wrapper
......@@ -33,20 +40,4 @@ extra_css:
.col-md-4.col-md-offset-1
%h3.margin-top0 Download the whitepaper
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}
%form#mktoForm_1002
:javascript
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", 1002, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
.confirmform{style: "visibility:hidden;"}
.col-md-4.col-md-4.col-md-offset-1
%a.btn.cta-btn.orange{ href: "/resources/downloads/201806_WP_Bridging_developers_and_management.pdf", target: "_blank" } Download the whitepaper
%p.margin-top20 You will also receive an copy of the whitepaper sent to your inbox shortly.
= partial "includes/form-to-resource"
......@@ -4,7 +4,14 @@ title: Whitepaper - Concurrent DevOps
suppress_header: true
extra_css:
- styles-2018.css
- webcast.css
destination_url: "/resources/downloads/gitlab-concurrent-devops-whitepaper.pdf"
form_id: "1002"
form_type: "resources"
cta_title: "Download the whitepaper"
cta_date:
cta_subtitle:
link_text: "Click here to download the whitepaper."
success_message: "You will also receive a copy of the whitepaper sent to your inbox shortly."
---
.wrapper
......@@ -33,20 +40,4 @@ extra_css:
.col-md-4.col-md-offset-1
%h3.margin-top0 Download the whitepaper
.centered-form
%script{src: "//app-ab13.marketo.com/js/forms2/js/forms2.min.js"}