summary refs log tree commit diff
path: root/v1.58/admin_api/register_api.html
diff options
context:
space:
mode:
authorAction Bot <action@synapse.bot.com>2023-12-11 14:56:35 +0000
committerAction Bot <action@synapse.bot.com>2023-12-11 14:56:35 +0000
commit06fa8812ac577ff9ce12b1079ecf2ca92aaf7ebe (patch)
treee7d2dd7a27762b3a148a529ac101807182db56cf /v1.58/admin_api/register_api.html
parentVersion picker deployed for v1.59 docs to Github Pages (diff)
downloadsynapse-06fa8812ac577ff9ce12b1079ecf2ca92aaf7ebe.tar.xz
Version picker deployed for v1.58 docs to Github Pages
Diffstat (limited to 'v1.58/admin_api/register_api.html')
-rw-r--r--v1.58/admin_api/register_api.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/v1.58/admin_api/register_api.html b/v1.58/admin_api/register_api.html
index a94744fe1f..5cdfdc1564 100644
--- a/v1.58/admin_api/register_api.html
+++ b/v1.58/admin_api/register_api.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>
@@ -246,5 +259,7 @@ def generate_mac(nonce, user, password, admin=False, user_type=None):
 
         <!-- 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
+</html>