summary refs log tree commit diff
path: root/develop/postgres.html
diff options
context:
space:
mode:
authoranoadragon453 <anoadragon453@users.noreply.github.com>2023-12-11 14:20:01 +0000
committeranoadragon453 <anoadragon453@users.noreply.github.com>2023-12-11 14:20:01 +0000
commit87c6342a9e35d3965605487a2e274caf23b2f2a1 (patch)
tree86a82ad31905196090d6316041632749c4910071 /develop/postgres.html
parentdeploy: aa983c7b0f46db18bcafb5e78b447cfd096971a3 (diff)
downloadsynapse-87c6342a9e35d3965605487a2e274caf23b2f2a1.tar.xz
deploy: 483d22afc39d96b5e25292843806d0c0487e6446
Diffstat (limited to 'develop/postgres.html')
-rw-r--r--develop/postgres.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/develop/postgres.html b/develop/postgres.html
index c45c8502a7..db2a0655d4 100644
--- a/develop/postgres.html
+++ b/develop/postgres.html
@@ -28,6 +28,7 @@
         <link rel="stylesheet" href="docs/website_files/table-of-contents.css">
         <link rel="stylesheet" href="docs/website_files/remove-nav-buttons.css">
         <link rel="stylesheet" href="docs/website_files/indent-section-headers.css">
+        <link rel="stylesheet" href="docs/website_files/version-picker.css">
     </head>
     <body>
         <!-- Provide site root to javascript -->
@@ -103,6 +104,18 @@
                         <button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
                             <i class="fa fa-search"></i>
                         </button>
+                        <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">Synapse</h1>
@@ -394,5 +407,7 @@ successfully.</p>
 
         <!-- Custom JS scripts -->
         <script type="text/javascript" src="docs/website_files/table-of-contents.js"></script>
+        <script type="text/javascript" src="docs/website_files/version-picker.js"></script>
+        <script type="text/javascript" src="docs/website_files/version.js"></script>
     </body>
 </html>
\ No newline at end of file