diff options
author | Action Bot <action@synapse.bot.com> | 2023-12-11 14:56:30 +0000 |
---|---|---|
committer | Action Bot <action@synapse.bot.com> | 2023-12-11 14:56:30 +0000 |
commit | 0ba42b494d07b4015476ec88c7c3e39984ef98d9 (patch) | |
tree | ae95e3b50947c4d0c13eedae47dd0a7b17716578 /v1.59/templates.html | |
parent | Version picker deployed for v1.60 docs to Github Pages (diff) | |
download | synapse-0ba42b494d07b4015476ec88c7c3e39984ef98d9.tar.xz |
Version picker deployed for v1.59 docs to Github Pages
Diffstat (limited to 'v1.59/templates.html')
-rw-r--r-- | v1.59/templates.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/v1.59/templates.html b/v1.59/templates.html index 96654ecabf..060fdcbdb4 100644 --- a/v1.59/templates.html +++ b/v1.59/templates.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> @@ -467,5 +480,7 @@ When rendering, this template is given two variables: <!-- 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> |