1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

SRVCOM-2432 add 1.30 to version dropdown for serverless

This commit is contained in:
Gabriel McGoldrick
2023-09-14 12:23:48 +01:00
parent d41ee79928
commit 577d48c3af
3 changed files with 24 additions and 0 deletions

View File

@@ -186,6 +186,7 @@
<%= distro %>
</a>
<select id="version-selector" onchange="versionSelector(this);">
<option value="1.30">1.30</option>
<option value="1.29">1.29</option>
<option value="1.28">1.28</option>
</select>

View File

@@ -8,6 +8,8 @@
<%= render("_templates/_search_enterprise.html.erb", :version => version) %>
<% elsif distro_key == 'openshift-telco' %>
<%= render("_templates/_search_telco.html.erb", :version => version) %>
<% elsif distro_key == 'openshift-serverless' %>
<%= render("_templates/_search_serverless.html.erb", :version => version) %>
<% else %>
<%= render("_templates/_search_other.html") %>
<% end %>

View File

@@ -0,0 +1,21 @@
<div id="hc-search">
<input id="hc-search-input" type="text">
<button id="hc-search-btn">Search</button>
</div>
<div id="hc-search-modal">
<div id="hc-modal-content">
<span id="hc-modal-close">&times;</span>
<div id="hc-search-results-wrapper">
<div id="hc-search-results"></div>
<div id="hc-search-progress-indicator" class="text-center search-progress-indicator"><i class="fa fa-circle-o-notch fa-spin" style="font-size:42px"></i></div>
<div class="text-center">
<button id="hc-search-more-btn">Show more results</button>
</div>
</div>
</div>
</div>
<script>
hcSearchCategory("docs_serverless", "<%= version %>");
</script>