Commit 89d6f35e authored by Jarek Ostrowski's avatar Jarek Ostrowski 👉

Merge branch '3514-remove-forms' into 'master'

Resolve "Remove forms from about.gitlab.com/analysts/*.*"

Closes #3514

See merge request gitlab-com/www-gitlab-com!17251
parents 410e023f 46710583
Pipeline #39790491 passed with stages
in 29 minutes and 51 seconds
......@@ -2,51 +2,27 @@
title: "Forrester Value Stream Management Report"
image: /images/home/forrester-vsm-graphic.png
subtitle: "Forrester Cites GitLab As A Strong Performer In VSM Tools Evaluation"
form: 1002
success_message: |
Thanks for registering! Please check your inbox to download the report.
resource_link: /resources/forrester-new-wave-vsm-2018/
include_file: /analysts/includes/forrester-vsm
- url: gartner-aro
title: "Gartner Application Release Orchestration Report"
subtitle: "Gartner Cites GitLab as a Niche Player in MQ for ARO"
form: 1002
success_message: |
Thanks for registering!
[View the report](http://www.gartner.com/reprints/gitlab----ca?id=1-5LXJXMS&ct=181017&st=sb){: .btn .cta-btn .orange .gated-button-aro }
include_file: /analysts/includes/gartner-aro
- url: forrester-ci
title: "Forrester Continuous Integration Tools Report "
subtitle: "Forrester Cites GitLab As A Leader In CI Tools Evaluation"
form: 1002
success_message: |
Thanks for registering! Please check your inbox to download the report.
resource_link: /resources/forrester-wave-ci-2017/
include_file: /analysts/includes/forrester-ci
- url: idc-innovators
title: "IDC Innovators Agile Code Development Technologies, 2018"
subtitle: "by International Data Corporation"
form: 1002
success_message: |
Thanks for registering! Please check your inbox to download the report.
resource_link: /resources/report-idc-innovators-agile-code-development-2018/
include_file: /analysts/includes/idc-innovators
- url: forrester-cdra
title: "Forrester Continuous Delivery & Release Automation Report "
title: "Forrester Continuous Delivery & Release Automation Report"
subtitle: "Forrester Cites GitLab As A Contender in CDRA Report"
form: 1002
success_message: |
Thanks for registering! Please check your inbox to download the report.
include_file: /analysts/includes/forrester-cdra
......@@ -12,52 +12,14 @@ extra_css:
<div class="webcast-info">
<h1><%= report.title %></h1>
<p><%= report.subtitle %></p>
<% if report.resource_link %>
<a href="<%= report.resource_link %>" class="btn cta-btn orange margin-top20">Download the report</a>
<% end %>
</div>
</div>
<div class="gitlab-content-container flex-column">
<div class="share-container">
<p>Share:</p>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://about.gitlab.com<%= current_page.url %>" target="_blank">
<i class="fab fa-facebook"></i>
</a>
<a href=" https://twitter.com/intent/tweet?url=https%3A%2F%2Fabout.gitlab.com<%= current_page.url %>&via=gitlab&text=Check%20out%20this%20analyst%20report%20on%20GitLab%3A%20&hashtags=gitlab%2Canalystreport" target="_blank">
<i class="fab fa-twitter"></i>
</a>
<a href="https://www.linkedin.com/shareArticle?url=https://about.gitlab.com<%= current_page.url %>&summary=<%= report.title %>">
<i class="fab fa-linkedin"></i>
</a>
<a href="http://www.reddit.com/submit?url=https://about.gitlab.com<%= current_page.url %>&title=Post%20to%20Reddit%20via%20URL" target="_blank">
<i class="fab fa-reddit"></i>
</a>
</div>
<div class="gitlab-content-container">
<div class="analyst-content-container">
<% if report.form %>
<div class="form-container float-right">
<h3 class="margin-top0">Download the report:</h3>
<p class="font-small">If form does not render, please use <a href="https://www.google.com/chrome/" target="_blank">another browser</a>.</p>
<div class="form">
<script src="//app-ab13.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_<%= report.form %>"></form>
<script type="text/javascript">
var formNumber = <%= report.form || 'null' %>;
MktoForms2.loadForm("//app-ab13.marketo.com", "194-VVC-221", formNumber, function(form) {
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
$('.confirmform').attr('style', 'height: initial');
return false;
});
});
</script>
<div class="confirmform" style="visibility:hidden;height:0;">
<div class="centered-form-info">
<%= kramdown(report.success_message) %>
</div>
</div>
</div>
</div>
<% end %>
<div class="webcast-content">
<div class="webcast-content-section">
<%= partial report.include_file %>
......
......@@ -76,9 +76,14 @@
a {
color: $color-white;
text-decoration: underline;
&:hover {
&:not(.btn) {
text-decoration: underline;
}
&:hover,
&:focus,
&:visited {
color: $color-white;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment