Skip to content
Merged
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
9 changes: 9 additions & 0 deletions docs/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,15 @@ function createPackCard(pack) {

const badges = document.createElement('div');
badges.className = 'pack-card-badges';
{
const zipBadge = document.createElement('a');
zipBadge.className = 'pack-eval-badge is-zip';
zipBadge.href = `https://github.com/RHEcosystemAppEng/agentic-plugins/releases/download/latest/${encodeURIComponent(pack.name)}.zip`;
zipBadge.rel = 'noopener noreferrer';
zipBadge.innerHTML = '<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" style="vertical-align:-2px;margin-right:4px"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>ZIP bundle';
zipBadge.addEventListener('click', (event) => event.stopPropagation());
badges.appendChild(zipBadge);
}
{
const badge = document.createElement('span');
badge.className = 'pack-eval-badge';
Expand Down
12 changes: 12 additions & 0 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,18 @@ section.collapsed .grid {
border-color: #d1d5db;
}

.pack-eval-badge.is-zip {
color: #4a7fd7;
background: #ffffff;
border-color: #a4c2f4;
text-decoration: none;
cursor: pointer;
}

.pack-eval-badge.is-zip:hover {
background: #eef4fc;
}


.pack-eval-divider {
width: 100%;
Expand Down
Loading