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:26 +0000
committerAction Bot <action@synapse.bot.com>2023-12-11 14:51:26 +0000
commitee37039031de3fecfff04d61e021961ac05e8124 (patch)
tree552784a7254bde0ed0f371480a653b07bae70d18 /docs/website_files/theme/index.hbs
parentRevert postgres logical replication deltaas (diff)
downloadsynapse-ee37039031de3fecfff04d61e021961ac05e8124.tar.xz
Version picker added for v1.98 docs
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>