Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] summary bars #21667

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@
text: EA
---

{{% restricted title="Early Access" %}}
Settings Management in the Docker Admin Console is an [early access](/release-lifecycle#early-access-ea) feature and is available to Docker Business customers only.
{{% /restricted %}}
{{< summary-bar
subscription="domain"
subscriptionText="Business"
lifecycle="rocket_launch"
lifecycleText="EA"

Check warning on line 18 in content/manuals/security/for-admins/hardened-desktop/settings-management/configure-admin-console.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Docker.Acronyms] 'EA' has no definition. Raw Output: {"message": "[Docker.Acronyms] 'EA' has no definition.", "location": {"path": "content/manuals/security/for-admins/hardened-desktop/settings-management/configure-admin-console.md", "range": {"start": {"line": 18, "column": 20}}}, "severity": "WARNING"}
admin="admin_panel_settings"

Check warning on line 19 in content/manuals/security/for-admins/hardened-desktop/settings-management/configure-admin-console.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Docker.RecommendedWords] Consider using 'administrator' instead of 'admin' Raw Output: {"message": "[Docker.RecommendedWords] Consider using 'administrator' instead of 'admin'", "location": {"path": "content/manuals/security/for-admins/hardened-desktop/settings-management/configure-admin-console.md", "range": {"start": {"line": 19, "column": 5}}}, "severity": "INFO"}
adminText="Admin"

Check warning on line 20 in content/manuals/security/for-admins/hardened-desktop/settings-management/configure-admin-console.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Docker.RecommendedWords] Consider using 'administrator' instead of 'Admin' Raw Output: {"message": "[Docker.RecommendedWords] Consider using 'administrator' instead of 'Admin'", "location": {"path": "content/manuals/security/for-admins/hardened-desktop/settings-management/configure-admin-console.md", "range": {"start": {"line": 20, "column": 16}}}, "severity": "INFO"}
>}}

This page contains information for administrators on how to configure Settings Management with the Docker Admin Console. You can specify and lock configuration parameters to create a standardized Docker Desktop environment across your Docker company or organization.

Expand Down
59 changes: 59 additions & 0 deletions layouts/shortcodes/summary-bar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!--
Summary bar icon library:

1. Subscription:
- Label: Business | Icon: domain
- Label: Team | Icon: groups
- Label: Pro | Icon: person_add
- Label: Personal | Icon: person
- Label: Available to all | Icon: public

2. Release lifecycle:
- Label: Experimental | Icon: science
- Label: Beta | Icon: bolt
- Label: EA | Icon: rocket_launch
- Label: GA | Icon: check_circle
- Label: Retired | Icon: package_2

3. Minimum version:
- Label: Version [version_number] | Icon: browser_updated

-->

<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded" rel="stylesheet">

<div class="flex items-center gap-4 p-4 bg-background-light dark:bg-background-dark rounded-none">
<span class="text-base text-black dark:text-white">Available for:</span>
{{ if .Get "subscription" }}
<div class="flex items-center gap-2">
<span class="material-symbols-rounded text-sm text-black dark:text-white">
{{ .Get "subscription" }}
</span>
<span class="text-sm text-black dark:text-white">{{ .Get "subscriptionText" }}</span>
</div>
{{ end }}
{{ if .Get "lifecycle" }}
<div class="flex items-center gap-2">
<span class="material-symbols-rounded text-sm text-black dark:text-white">
{{ .Get "lifecycle" }}
</span>
<span class="text-sm text-black dark:text-white">{{ .Get "lifecycleText" }}</span>
</div>
{{ end }}
{{ if .Get "version" }}
<div class="flex items-center gap-2">
<span class="material-symbols-rounded text-sm text-black dark:text-white">
{{ .Get "version" }}
</span>
<span class="text-sm text-black dark:text-white">{{ .Get "versionText" }}</span>
</div>
{{ end }}
{{ if .Get "admin" }}
<div class="flex items-center gap-2">
<span class="material-symbols-rounded text-sm text-black dark:text-white">
{{ .Get "admin" }}
</span>
<span class="text-sm text-black dark:text-white">{{ .Get "adminText" }}</span>
</div>
{{ end }}
</div>