Skip to content

Commit

Permalink
[CI] Publish Documentation for 330a4e7 - 330a4e7 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelhamidfg committed Jul 16, 2024
1 parent b29e25e commit bdac99a
Show file tree
Hide file tree
Showing 7 changed files with 209 additions and 311 deletions.
85 changes: 34 additions & 51 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,25 @@
<script>function gtag() { dataLayer.push(arguments) }; window.dataLayer = window.dataLayer || []; gtag('js', new Date()); gtag('config', 'G-21PT8RV6BR')</script>
</head>
<body class="status-404">
<!-- Google tag (gtag.js) -->

<!--
replace this with Google tag content
-->

<!-- Google tag (gtag.js) -->
<header class="header">

<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
const urlParams = new URLSearchParams(window.location.search);
const userId = urlParams.get('USERID');
const subdomain = urlParams.get('SUBDOMAIN');
if (userId) {
showUserId(userId, subdomain);
if (subdomain) {
showUserId(subdomain);
}
else {
showUserIdForm(subdomain);
}
});


function showUserId(userId, subdomain) {
function showUserId(subdomain) {

document.getElementById('navbar-form-empty').style.display = "none";
document.getElementById('navbar-form-filled').style.display = "flex";
document.getElementById('userIdDisplay').textContent = "User ID : " + userId;
document.getElementById('subdomainDisplay').textContent = "Subdomain : " + subdomain;
}

Expand All @@ -49,13 +42,11 @@
}

function goWithUserId() {
elUserIdInput = document.getElementById('userId');
elSubdomainInput = document.getElementById('subdomain');
window.location.search = ('&USERID=' + elUserIdInput.value + '&SUBDOMAIN=' + elSubdomainInput.value);
window.location.search = ( '&SUBDOMAIN=' + elSubdomainInput.value);
}

function recycle() {
document.getElementById('userId').value = '';
document.getElementById('subdomain').value = '';
window.location.search = ('');
}
Expand All @@ -67,63 +58,53 @@
href="https://redhat-solution-patterns.github.io/solution-patterns">
<img src="/solution-patterns/_/img/logo.png" height="35px" alt="Solution Patterns">&nbsp; Solution Patterns from Red Hat</a>
<button class="navbar-burger" data-target="topbar-nav">
<span></span>
<span></span>
<span></span>
</button>
</div>

<div class="navbar-item"><span class="navbar-text"
style="color: white; margin-left: 1rem; margin-right: 1rem;">|</span></div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#" style="color: white">Architectures &amp; Patterns</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://www.redhat.com/architect/portfolio/" target="_blank">Portfolio Architecture&nbsp; </a>
<a class="navbar-item" href="https://redhat-solution-patterns.github.io/solution-patterns/patterns.html" target="_blank">Solution Patterns </a>
<a class="navbar-item" href="https://validatedpatterns.io/" target="_blank">Validated Patterns&nbsp;</a>
<a class="navbar-item" href="https://catalog.redhat.com/solutions" target="_blank">Ecosystem Solutions&nbsp;</a>
</div>
</div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#" style="color: white">Resources</a>
<div class="navbar-dropdown">
<a class="navbar-item" target="_blank" href="https://developers.redhat.com">Red Hat Developers</a>
<a class="navbar-item" target="_blank" href="https://developers.redhat.com/app-dev-platform">App Dev Platform</a>
<a class="navbar-item" target="_blank" href="https://www.redhat.com/en/products/application-foundations">Red Hat Application Services</a>
</div>
</div>



<a class="navbar-item" style="color: white" target="_blank" href="https://github.com/redhat-solution-patterns/redhat-solution-patterns.github.io/issues">Feedback</a>
<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Architectures &amp; Patterns</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://www.redhat.com/architect/portfolio/" target="_blank">Portfolio Architecture&nbsp; </a>
<a class="navbar-item" href="https://redhat-solution-patterns.github.io/solution-patterns/patterns.html" target="_blank">Solution Patterns </a>
<a class="navbar-item" href="https://validatedpatterns.io/" target="_blank">Validated Patterns&nbsp;</a>
<a class="navbar-item" href="https://catalog.redhat.com/solutions" target="_blank">Ecosystem Solutions&nbsp;</a>
</div>
</div>

<a class="navbar-item" style="color: white" target="_blank" href="https://redhat-solution-patterns.github.io/solution-patterns/contributors-guide.html">Contribute</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Resources</a>
<div class="navbar-dropdown">
<a class="navbar-item" target="_blank" href="https://developers.redhat.com">Red Hat Developers</a>
<a class="navbar-item" target="_blank" href="https://developers.redhat.com/app-dev-platform">App Dev Platform</a>
<a class="navbar-item" target="_blank" href="https://www.redhat.com/en/products/application-foundations">Red Hat Application Services</a>
</div>
</div>

<div class="navbar-item"><span class="navbar-text"
style="color: white; margin-left: 1rem; margin-right: 1rem;">|</span></div>
<a class="navbar-item" target="_blank" href="https://github.com/redhat-solution-patterns/redhat-solution-patterns.github.io/issues">Feedback</a>
<a class="navbar-item" target="_blank" href="https://redhat-solution-patterns.github.io/solution-patterns/contributors-guide.html">Contribute</a>

<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<div class="navbar-item" id="navbar-form-empty">
<span class="navbar-text" style="margin-left: 2rem;">
<span class="navbar-text" style="margin-left: 1rem; margin-right: 1rem;">&nbsp;<i style="color: orange;"
class="fa fa-exclamation-triangle" aria-hidden="true"></i></span>
Your Workshop Environment
<form action="javascript:void(0);" onsu>
<input size="20" id="userId" type="text" placeholder="USER ID">
<input size="20" id="subdomain" type="text" placeholder="Subdomain">
<button type="hidden" onclick="goWithUserId();">Set</button>
</form>
</div>

<div class="navbar-item" id="navbar-form-filled" style="display: none;">
<div class="navbar-item" id="navbar-form-filled">
<span class="navbar-text" style="margin-left: 2rem;">
<span class="navbar-text " style="margin-left: 1rem; margin-right: 1rem; float:left">
&nbsp;Your Workshop Environment
<span class="navbar-text" style="margin-left: 1rem; margin-right: 1rem;">
&nbsp;<i alt="Clear details" title="Clear details" onclick="recycle();" style="color: green;" class="fa fa-recycle" aria-hidden="true"></i>
<br>
<span id="userIdDisplay"></span>
<span style="color: white; margin-left: 1rem; margin-right: 1rem;">|</span>
<span id="subdomainDisplay"></span>
</span>
</span>
Expand All @@ -132,7 +113,9 @@
</div>
</div>
</nav>
</header><div class="body">
</header>

<div class="body">
<div class="nav-container">
<aside class="nav">
<div class="panels">
Expand Down
85 changes: 34 additions & 51 deletions event-driven-api-mgmt/01-pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,25 @@
<script>function gtag() { dataLayer.push(arguments) }; window.dataLayer = window.dataLayer || []; gtag('js', new Date()); gtag('config', 'G-21PT8RV6BR')</script>
</head>
<body class="article">
<!-- Google tag (gtag.js) -->

<!--
replace this with Google tag content
-->

<!-- Google tag (gtag.js) -->
<header class="header">

<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
const urlParams = new URLSearchParams(window.location.search);
const userId = urlParams.get('USERID');
const subdomain = urlParams.get('SUBDOMAIN');
if (userId) {
showUserId(userId, subdomain);
if (subdomain) {
showUserId(subdomain);
}
else {
showUserIdForm(subdomain);
}
});


function showUserId(userId, subdomain) {
function showUserId(subdomain) {

document.getElementById('navbar-form-empty').style.display = "none";
document.getElementById('navbar-form-filled').style.display = "flex";
document.getElementById('userIdDisplay').textContent = "User ID : " + userId;
document.getElementById('subdomainDisplay').textContent = "Subdomain : " + subdomain;
}

Expand All @@ -50,13 +43,11 @@
}

function goWithUserId() {
elUserIdInput = document.getElementById('userId');
elSubdomainInput = document.getElementById('subdomain');
window.location.search = ('&USERID=' + elUserIdInput.value + '&SUBDOMAIN=' + elSubdomainInput.value);
window.location.search = ( '&SUBDOMAIN=' + elSubdomainInput.value);
}

function recycle() {
document.getElementById('userId').value = '';
document.getElementById('subdomain').value = '';
window.location.search = ('');
}
Expand All @@ -68,63 +59,53 @@
href="https://redhat-solution-patterns.github.io/solution-patterns">
<img src="../_/img/logo.png" height="35px" alt="Solution Patterns">&nbsp; Solution Patterns from Red Hat</a>
<button class="navbar-burger" data-target="topbar-nav">
<span></span>
<span></span>
<span></span>
</button>
</div>

<div class="navbar-item"><span class="navbar-text"
style="color: white; margin-left: 1rem; margin-right: 1rem;">|</span></div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#" style="color: white">Architectures &amp; Patterns</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://www.redhat.com/architect/portfolio/" target="_blank">Portfolio Architecture&nbsp; </a>
<a class="navbar-item" href="https://redhat-solution-patterns.github.io/solution-patterns/patterns.html" target="_blank">Solution Patterns </a>
<a class="navbar-item" href="https://validatedpatterns.io/" target="_blank">Validated Patterns&nbsp;</a>
<a class="navbar-item" href="https://catalog.redhat.com/solutions" target="_blank">Ecosystem Solutions&nbsp;</a>
</div>
</div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#" style="color: white">Resources</a>
<div class="navbar-dropdown">
<a class="navbar-item" target="_blank" href="https://developers.redhat.com">Red Hat Developers</a>
<a class="navbar-item" target="_blank" href="https://developers.redhat.com/app-dev-platform">App Dev Platform</a>
<a class="navbar-item" target="_blank" href="https://www.redhat.com/en/products/application-foundations">Red Hat Application Services</a>
</div>
</div>



<a class="navbar-item" style="color: white" target="_blank" href="https://github.com/redhat-solution-patterns/redhat-solution-patterns.github.io/issues">Feedback</a>
<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Architectures &amp; Patterns</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://www.redhat.com/architect/portfolio/" target="_blank">Portfolio Architecture&nbsp; </a>
<a class="navbar-item" href="https://redhat-solution-patterns.github.io/solution-patterns/patterns.html" target="_blank">Solution Patterns </a>
<a class="navbar-item" href="https://validatedpatterns.io/" target="_blank">Validated Patterns&nbsp;</a>
<a class="navbar-item" href="https://catalog.redhat.com/solutions" target="_blank">Ecosystem Solutions&nbsp;</a>
</div>
</div>

<a class="navbar-item" style="color: white" target="_blank" href="https://redhat-solution-patterns.github.io/solution-patterns/contributors-guide.html">Contribute</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Resources</a>
<div class="navbar-dropdown">
<a class="navbar-item" target="_blank" href="https://developers.redhat.com">Red Hat Developers</a>
<a class="navbar-item" target="_blank" href="https://developers.redhat.com/app-dev-platform">App Dev Platform</a>
<a class="navbar-item" target="_blank" href="https://www.redhat.com/en/products/application-foundations">Red Hat Application Services</a>
</div>
</div>

<div class="navbar-item"><span class="navbar-text"
style="color: white; margin-left: 1rem; margin-right: 1rem;">|</span></div>
<a class="navbar-item" target="_blank" href="https://github.com/redhat-solution-patterns/redhat-solution-patterns.github.io/issues">Feedback</a>
<a class="navbar-item" target="_blank" href="https://redhat-solution-patterns.github.io/solution-patterns/contributors-guide.html">Contribute</a>

<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<div class="navbar-item" id="navbar-form-empty">
<span class="navbar-text" style="margin-left: 2rem;">
<span class="navbar-text" style="margin-left: 1rem; margin-right: 1rem;">&nbsp;<i style="color: orange;"
class="fa fa-exclamation-triangle" aria-hidden="true"></i></span>
Your Workshop Environment
<form action="javascript:void(0);" onsu>
<input size="20" id="userId" type="text" placeholder="USER ID">
<input size="20" id="subdomain" type="text" placeholder="Subdomain">
<button type="hidden" onclick="goWithUserId();">Set</button>
</form>
</div>

<div class="navbar-item" id="navbar-form-filled" style="display: none;">
<div class="navbar-item" id="navbar-form-filled">
<span class="navbar-text" style="margin-left: 2rem;">
<span class="navbar-text " style="margin-left: 1rem; margin-right: 1rem; float:left">
&nbsp;Your Workshop Environment
<span class="navbar-text" style="margin-left: 1rem; margin-right: 1rem;">
&nbsp;<i alt="Clear details" title="Clear details" onclick="recycle();" style="color: green;" class="fa fa-recycle" aria-hidden="true"></i>
<br>
<span id="userIdDisplay"></span>
<span style="color: white; margin-left: 1rem; margin-right: 1rem;">|</span>
<span id="subdomainDisplay"></span>
</span>
</span>
Expand All @@ -133,7 +114,9 @@
</div>
</div>
</nav>
</header><div class="body">
</header>

<div class="body">
<div class="nav-container" data-component="event-driven-api-mgmt" data-version="master">
<aside class="nav">
<div class="panels">
Expand Down
Loading

0 comments on commit bdac99a

Please sign in to comment.