summary refs log tree commit diff
path: root/docs/website_files/theme
diff options
context:
space:
mode:
authorAction Bot <action@synapse.bot.com>2023-12-11 14:52:45 +0000
committerAction Bot <action@synapse.bot.com>2023-12-11 14:52:45 +0000
commitefbe9959977c3663e752444ee2fa8078412bb1a4 (patch)
tree7a190887539f8445cfdb113b1cf5999329c49833 /docs/website_files/theme
parentFix typo again (diff)
downloadsynapse-github/release-v1.43.tar.xz
Version picker added for v1.43 docs github/release-v1.43 release-v1.43
Diffstat (limited to 'docs/website_files/theme')
-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>