Skip to content
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
2 changes: 1 addition & 1 deletion app/_data/products/gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ topologies:

tiers:
enterprise:
text: Enterprise only
text: Konnect Plus
url: /gateway/
ai_gateway_enterprise:
text: AI License Required
Expand Down
33 changes: 32 additions & 1 deletion app/plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,35 @@ <h2>3rd Party Plugins</h2>
</div>
</div>
</div>
</div>
</div>

<script>
document.addEventListener('DOMContentLoaded', () => {
const tierCheckboxes = document.querySelectorAll('input[name="tier"]');
const deploymentCheckboxes = document.querySelectorAll('input[name="deployment-topology"]');

tierCheckboxes.forEach(tierCheckbox => {
tierCheckbox.addEventListener('change', () => {
if (tierCheckbox.value === 'enterprise' && tierCheckbox.checked) {
deploymentCheckboxes.forEach(deploymentCheckbox => {
if (deploymentCheckbox.value === 'on-prem') {
deploymentCheckbox.checked = false;
}
});
}
});
});

deploymentCheckboxes.forEach(deploymentCheckbox => {
deploymentCheckbox.addEventListener('change', () => {
if (deploymentCheckbox.value === 'on-prem' && deploymentCheckbox.checked) {
tierCheckboxes.forEach(tierCheckbox => {
if (tierCheckbox.value === 'enterprise') {
tierCheckbox.checked = false;
}
});
}
});
});
});
</script>
Loading