Skip to content

Commit 9a2141c

Browse files
committed
docs(theme): sync security docs
related to: camunda/team-automation-platform/issues/160
1 parent 0311357 commit 9a2141c

File tree

7 files changed

+66
-24
lines changed

7 files changed

+66
-24
lines changed

security/themes/camunda/assets/css/docs.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

security/themes/camunda/assets/js/docs.js

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{{/* This template is overridden to emit permalinks that (1) are absolute, and (2) specify the most recent version. This allows us to submit the sitemap to crawlers with true canonical URLs. */}}
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
3+
xmlns:xhtml="http://www.w3.org/1999/xhtml">
4+
{{ range .Data.Pages }}
5+
<url>
6+
{{- $permalink := .Permalink }}
7+
{{- if ($.Site.Params.section.versions) }}
8+
{{- $latestVersion := (index $.Site.Params.section.versions 1) }}
9+
{{- $replacementPattern := print "${1}" $latestVersion "/${3}" }}
10+
{{- $permalink = $permalink | replaceRE `(\/manual\/)([^\/]*\/)(.*)` $replacementPattern }}
11+
{{- end }}
12+
<loc>{{ $.Site.Params.canonicalBasePath }}{{ $permalink }}</loc>{{ if not .Lastmod.IsZero }}
13+
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
14+
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
15+
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
16+
<xhtml:link
17+
rel="alternate"
18+
hreflang="{{ .Lang }}"
19+
href="{{ $.Site.Params.canonicalBasePath }}{{ .Permalink }}"
20+
/>{{ end }}
21+
<xhtml:link
22+
rel="alternate"
23+
hreflang="{{ .Lang }}"
24+
href="{{ $.Site.Params.canonicalBasePath }}{{ .Permalink }}"
25+
/>{{ end }}
26+
</url>
27+
{{ end }}
28+
</urlset>

security/themes/camunda/layouts/partials/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</p>
99

1010
<p>
11-
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are part of Camunda Platform
11+
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are both part of Camunda
1212
<span class="splitter">|</span>
1313
Built by <a href="http://www.camunda.com">camunda</a> and contributors &mdash; <a href="https://camunda.com/legal/privacy/">Privacy Statement</a> &mdash; camunda Services GmbH &copy; {{ now.Format "2006"}}
1414
</p>

security/themes/camunda/layouts/partials/header.html

+13-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
66
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
77
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
8-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
8+
'https://ssgtm.camunda.org/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
99
})(window,document,'script','dataLayer','GTM-PP9MHKW');</script>
1010
<!-- End Google Tag Manager -->
1111

@@ -17,9 +17,9 @@
1717

1818
<meta name="viewport" content="width=device-width" />
1919

20-
<meta name="description" content="documentation of the Camunda Platform 7" />
20+
<meta name="description" content="documentation of Camunda 7" />
2121
<meta name="keywords" content="camunda, open source, free, Apache License, Apache 2.0, workflow, BPMN, BPMN 2.0, camunda.org, bpm, BPMS, engine, platform, process, automation, community, documentation" />
22-
<meta name="author" content="Camunda Platform 7 community" />
22+
<meta name="author" content="Camunda 7 community" />
2323
{{ if ($.Site.Params.section.versions)}}
2424
{{ if (not (eq (index $.Site.Params.section.versions 1) $.Site.Params.section.version))}}
2525
<meta name="robots" content="noindex" />
@@ -34,6 +34,13 @@
3434
{{ $styles := resources.Get "css/docs.css" | fingerprint }}
3535

3636
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
37+
{{- $permalink := .Permalink }}
38+
{{- if ($.Site.Params.section.versions) }}
39+
{{- $latestVersion := (index $.Site.Params.section.versions 1) }}
40+
{{- $replacementPattern := print "${1}" $latestVersion "/${3}" }}
41+
{{- $permalink = $permalink | replaceRE `(\/manual\/)([^\/]*\/)(.*)` $replacementPattern }}
42+
{{- end }}
43+
<link rel="canonical" href="{{ $.Site.Params.canonicalBasePath }}{{ $permalink }}" />
3744
</head>
3845
<body class="{{ .Params.bodyclass }}">
3946

@@ -44,7 +51,7 @@
4451

4552
<nav class="navbar navbar-fixed-top">
4653
<div class="navbar-container navbar-top-section">
47-
<span>Looking for Camunda Platform 8? >></span>
54+
<span>Looking for Camunda 8? >></span>
4855
<a target="_blank" href="https://docs.camunda.io/">Docs</a>
4956
<a target="_blank" href="https://signup.camunda.com/accounts?utm_source=docs.camunda.org&utm_medium=referral">Create account</a>
5057
<a target="_blank" href="https://console.cloud.camunda.io/">Sign-In</a>
@@ -100,9 +107,9 @@
100107

101108
<div class="search-underlay"></div>
102109

103-
<div class="site-menu">
110+
<nav class="site-menu">
104111
{{ partialCached "menu.html" . }}
105-
</div>
112+
</nav>
106113

107114

108115
<div class="page-wrapper">

security/themes/camunda/layouts/shortcodes/ee-download.html

+10-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
camDownloads.servers = {};
2020
{{ range $info := sort $.Page.Params.downloads.servers "weight" }}
21-
camDownloads.servers['{{ $info.path }}'] = '{{ $info.name }}';{{ end }}
21+
camDownloads.servers['{{ $info.id }}'] = {name:'{{ $info.name }}',path:'{{ $info.path }}'};{{ end }}
2222

2323
camDownloads.formats = [];
2424
{{ range $.Page.Params.downloads.formats }}
@@ -45,14 +45,19 @@
4545
<div class="selected-server">
4646
<div class="info">
4747
<h3></h3>
48+
<p>
4849
Released on <span class="date"></span>, <a class="notes">release notes</a>.
50+
</p>
51+
<p>
52+
Camunda 7 Enterprise Edition provides Enterprise components under a license agreement containing restrictions on use and disclosure and that are protected by intellectual property laws (<a class="licenses-link">view licenses</a>). Third-party libraries or application servers included are distributed under their respective licenses (<a class="third-party-licenses-link">view third-party notices</a>).
53+
</p>
4954
</div>
5055

5156
<div class="full">
5257
<h4>Full Distribution</h4>
5358

5459
<a class="details full" href="/manual/latest/installation/full">What is the Full Distribution?</a>
55-
<a class="details run" href="/manual/latest/installation/camunda-bpm-run">How to install Camunda Platform Run?</a>
60+
<a class="details run" href="/manual/latest/installation/camunda-bpm-run">How to install Camunda 7 Run?</a>
5661

5762
<div class="links">
5863
<a class="tar-gz btn btn-primary">.tar.gz</a>
@@ -62,7 +67,9 @@ <h4>Full Distribution</h4>
6267
</div>
6368

6469
<div class="standalone">
65-
<h4>Standalone Web Application</h4>
70+
<h4></h4>
71+
72+
<p class="hint"></p>
6673

6774
<a class="details" href="/manual/latest/installation/standalone-webapplication">What is the Standalone Webapplication Distribution?</a>
6875

security/themes/camunda/layouts/shortcodes/enterprise.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ <h3>Enterprise Feature</h3>
44
<p class="description">{{ trim .Inner "" | markdownify }}</p>
55

66
<p>
7-
Check the <a href="http://camunda.com/bpm/enterprise/">Camunda enterprise homepage</a>
7+
Check the <a href="http://camunda.com/platform-7/editions/">Camunda enterprise homepage</a>
88
for more information or get your
9-
<a href="http://camunda.com/bpm/enterprise/trial/">free trial version.</a>
9+
<a href="http://camunda.com/download/enterprise/">free trial version.</a>
1010
</p>
1111
</div>

0 commit comments

Comments
 (0)