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:52:51 +0000
committerAction Bot <action@synapse.bot.com>2023-12-11 14:52:51 +0000
commita1d4e7f336df4c370ece008977c94a0a6a5c4b53 (patch)
tree63b22f9b2dead617d8454365b6fd3ecd68d8705b /docs/website_files/theme/index.hbs
parentFixup changelog (diff)
downloadsynapse-github/release-v1.39.tar.xz
Version picker added for v1.39 docs github/release-v1.39 release-v1.39
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>