summary refs log tree commit diff
path: root/docs/website_files/theme/index.hbs
diff options
context:
space:
mode:
authorAction Bot <action@synapse.bot.com>2023-12-11 14:51:53 +0000
committerAction Bot <action@synapse.bot.com>2023-12-11 14:51:53 +0000
commit055c015920616e3c019ed9ade1c04c6011d6e435 (patch)
treee996a84ac7d662ff4c07129f09b61552f8d34320 /docs/website_files/theme/index.hbs
parent1.79.0 (diff)
downloadsynapse-055c015920616e3c019ed9ade1c04c6011d6e435.tar.xz
Version picker added for v1.79 docs github/release-v1.79 release-v1.79
Diffstat (limited to 'docs/website_files/theme/index.hbs')
-rw-r--r--docs/website_files/theme/index.hbs14
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/website_files/theme/index.hbs b/docs/website_files/theme/index.hbs
index 3b7a5b6163..b169323a43 100644
--- a/docs/website_files/theme/index.hbs
+++ b/docs/website_files/theme/index.hbs
@@ -131,6 +131,18 @@
                             <i class="fa fa-search"></i>
                         </button>
                         {{/if}}
+                        <div class="version-picker">
+                            <div class="dropdown">
+                                <div class="select">
+                                    <span></span>
+                                    <i class="fa fa-chevron-down"></i>
+                                </div>
+                                <input type="hidden" name="version">
+                                <ul class="dropdown-menu">
+                                    <!-- Versions will be added dynamically in version-picker.js -->
+                                </ul>
+                            </div>
+                        </div>      
                     </div>
 
                     <h1 class="menu-title">{{ book_title }}</h1>
@@ -309,4 +321,4 @@
         {{/if}}
 
     </body>
-</html>
\ No newline at end of file
+</html>