Skip to content

Commit

Permalink
Re-add Admin category
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahsanders-docker committed Jan 14, 2025
1 parent 42471bf commit 09677f6
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 1 deletion.
76 changes: 75 additions & 1 deletion data/summary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
# - Label: GA | Icon: check_circle
# - Label: Retired | Icon: package_2
# 3. Minimum version:
# - Label: Version [version_number] | Icon: browser_updated
# - Label: [version_number] | Icon: browser_updated
# 4. For:
# - Label: Administrators | Icon: admin_panel_settings

# Instructions for adding summary bar: Create a new feature and fill out each
# line as needed. In your markdown file, use the following syntax to call the
Expand All @@ -26,3 +28,75 @@ features:
availabilityText: Early access
versionIcon: null
versionText: null
forText: null
forIcon: null

- name: Ask Gordon
subscriptionIcon: null
subscriptionText: null
availabilityIcon: bolt
availabilityText: Beta
versionIcon: null
versionText: null
forText: null
forIcon: null

- name: Dev Environments
subscriptionIcon: null
subscriptionText: null
availabilityIcon: bolt
availabilityText: Beta
versionIcon: null
versionText: null
forText: null
forIcon: null

- name: Docker Desktop CLI
subscriptionIcon: null
subscriptionText: null
availabilityIcon: bolt
availabilityText: Beta
versionIcon: browser_updated
versionText: 4.37 and later
forText: null
forIcon: null

- name: Docker VMM
subscriptionIcon: null
subscriptionText: null
availabilityIcon: bolt
availabilityText: Beta
versionIcon: browser_updated
versionText: 4.35.0 and later
forText: null
forIcon: null

- name: MSI Installer
subscriptionIcon: null
subscriptionText: null
availabilityIcon: bolt
availabilityText: Beta
versionIcon: browser_updated
versionText: 4.32 and later
forIcon: admin_panel_settings
forText: Administrator

- name: USB/IP support
subscriptionIcon: null
subscriptionText: null
availabilityIcon: null
availabilityText: null
versionIcon: browser_updated
versionText: 4.35.0 and later
forText: null
forIcon: null

- name: Wasm workloads
subscriptionIcon: null
subscriptionText: null
availabilityIcon: bolt
availabilityText: Beta
versionIcon: null
versionText: null
forText: null
forIcon: null
14 changes: 14 additions & 0 deletions layouts/shortcodes/summary-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@
style="border-left: 4px solid #677285; padding-left: 16px; padding-top: 8px; padding-bottom: 8px; margin-top: 8px; margin-bottom: 8px;">

<div class="flex flex-col gap-0.5">
{{ if $feature.subscriptionText }}
<div class="flex items-center gap-1">
<span class="text-black dark:text-white font-bold">Subscription:</span>
<span class="text-black dark:text-white">{{ $feature.subscriptionText }}</span>
<span class="material-symbols-rounded text-black dark:text-white">
{{ $feature.subscriptionIcon }}
</span>
</div>
{{ end }}

{{ if $feature.availabilityText }}
<div class="flex items-center gap-1">
<span class="text-black dark:text-white font-bold">Availability:</span>
<span class="text-black dark:text-white">{{ $feature.availabilityText }}</span>
<span class="material-symbols-rounded text-black dark:text-white">
{{ $feature.availabilityIcon }}
</span>
</div>
{{ end }}

{{ if $feature.versionText }}
<div class="flex items-center gap-1">
Expand All @@ -32,6 +36,16 @@
</span>
</div>
{{ end }}

{{ if $feature.forText }}
<div class="flex items-center gap-1">
<span class="text-black dark:text-white font-bold">For:</span>
<span class="text-black dark:text-white">{{ $feature.forText }}</span>
<span class="material-symbols-rounded text-black dark:text-white">
{{ $feature.forIcon }}
</span>
</div>
{{ end }}
</div>
</div>
{{ end }}

0 comments on commit 09677f6

Please sign in to comment.