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:
@@ -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>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
21
_templates/_search_serverless.html.erb
Normal file
21
_templates/_search_serverless.html.erb
Normal 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">×</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>
|
||||
Reference in New Issue
Block a user