|
| 1 | +<!doctype html> |
| 2 | +<html lang="{{ metadata.language }}"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title data-pagefind-meta="title">{{ title or metadata.title }}</title> |
| 7 | + <meta name="description" content="{{ description or metadata.description }}"> |
| 8 | + {% favicon './public/favicon.svg' %} |
| 9 | + {# |
| 10 | + CSS bundles are provided via the `eleventy-plugin-bundle` plugin: |
| 11 | + 1. You can add to them using `{% css %}` |
| 12 | + 2. You can get from them using `{% getBundle "css" %}` or `{% getBundleFileUrl "css" %}` |
| 13 | + 3. You can do the same for JS: {% js %}{% endjs %} and <script>{% getBundle "js" %}</script> |
| 14 | + 4. Learn more: https://github.com/11ty/eleventy-plugin-bundle |
| 15 | + #} |
| 16 | + {# |
| 17 | + Hot reload isn't working with the bundle plugin on windows |
| 18 | + See https://github.com/11ty/eleventy/issues/2807 |
| 19 | + #} |
| 20 | + {%- css %}{% include "public/css/index.css" %}{% endcss %} |
| 21 | + {%- css %}{% include "public/css/search.css" %}{% endcss %} |
| 22 | + {# These are in the njk so the path prefix is respected #} |
| 23 | + {%- css %} |
| 24 | + body { |
| 25 | + background-image: url({{ '/img/bg-interior-tile-drk.jpg' | htmlBaseUrl }}); |
| 26 | + } |
| 27 | + a.ext-link .icon { |
| 28 | + background: url({{ '/img/extlink.png' | htmlBaseUrl }}) 0 50% no-repeat; |
| 29 | + } |
| 30 | + #search:after { |
| 31 | + background: url({{ '/img/icon-search.png' | htmlBaseUrl }}) 0 0 no-repeat; |
| 32 | + } |
| 33 | + {% endcss %} |
| 34 | + {# Add an arbitrary string to the bundle #} |
| 35 | + {# {%- css %}* { box-sizing: border-box; }{% endcss %} #} |
| 36 | + {# Render the CSS bundle using Inlined CSS (for the fastest site performance in production) #} |
| 37 | + <style> |
| 38 | + {% getBundle "css" %} |
| 39 | + </style> |
| 40 | + {#- Renders the CSS bundle using a separate file, if you can't set CSP directive style-src: 'unsafe-inline' #} |
| 41 | + {# <link rel="stylesheet" href="{% getBundleFileUrl "css" %}"> #} |
| 42 | + </head> |
| 43 | + <body> |
| 44 | + <div class="banner flex-center"> |
| 45 | + <span>jQuery issues have moved to <a href="https://github.com/jquery/jquery/issues">GitHub</a>. This site is now a static archive of the old <a href="https://trac.edgewall.org/">Trac</a> bugs site. Some functions and pages are no longer available.</span> |
| 46 | + </div> |
| 47 | + <div class="container"> |
| 48 | + <a href="#skip" class="visually-hidden">Skip to main content</a> |
| 49 | + <header class="flex-column"> |
| 50 | + <div class="flex-row flex-between-start"> |
| 51 | + <a id="jq-siteLogo" href="/" title="jQuery Home"> |
| 52 | + <img src="/img/logo.svg" width="215" alt="jQuery: Write Less, Do More." /> |
| 53 | + </a> |
| 54 | + <input class="hamburger-toggle visually-hidden" id="jq-menutoggle" type="checkbox" /> |
| 55 | + <label aria-label="Toggle Menu" for="jq-menutoggle" class="hamburger-lines flex-column flex-between-center"> |
| 56 | + <span class="hamburger-line"></span> |
| 57 | + <span class="hamburger-line"></span> |
| 58 | + <span class="hamburger-line"></span> |
| 59 | + </label> |
| 60 | + <div id="jq-menus"> |
| 61 | + <nav id="jq-primaryNavigation"> |
| 62 | + <h2 class="visually-hidden">jQuery sites navigation menu</h2> |
| 63 | + <ul class="nav"> |
| 64 | + <li class="jq-jquery active"> |
| 65 | + <a href="https://jquery.com/" title="jQuery Home">jQuery</a> |
| 66 | + </li> |
| 67 | + <li class="jq-plugins"> |
| 68 | + <a href="https://plugins.jquery.com/" title="jQuery Plugins">Plugins</a> |
| 69 | + </li> |
| 70 | + <li class="jq-ui"> |
| 71 | + <a href="https://jqueryui.com/" title="jQuery UI">UI</a> |
| 72 | + </li> |
| 73 | + <li class="jq-meetup"> |
| 74 | + <a href="https://meetups.jquery.com/" title="jQuery Meetups">Meetups</a> |
| 75 | + </li> |
| 76 | + <li class="jq-forum"> |
| 77 | + <a href="https://forum.jquery.com/" title="jQuery Forum">Forum</a> |
| 78 | + </li> |
| 79 | + <li class="jq-blog"> |
| 80 | + <a href="https://blog.jquery.com/" title="jQuery Blog">Blog</a> |
| 81 | + </li> |
| 82 | + <li class="jq-about"> |
| 83 | + <a href="https://openjsf.org" title="About jQuery and OpenJS">About</a> |
| 84 | + </li> |
| 85 | + <li class="jq-donate"> |
| 86 | + <a href="https://openjsf.org/about/project-funding-opportunities/" title="Donate to OpenJS">Donate</a> |
| 87 | + </li> |
| 88 | + </ul> |
| 89 | + </nav> |
| 90 | + <nav id="jq-secondaryNavigation"> |
| 91 | + <h2 class="visually-hidden">jQuery Core navigation menu</h2> |
| 92 | + <ul class="nav"> |
| 93 | + <li class="jq-download"> |
| 94 | + <a href="https://jquery.com/download/"> |
| 95 | + Download |
| 96 | + </a> |
| 97 | + </li> |
| 98 | + <li class="jq-documentation"> |
| 99 | + <a href="https://api.jquery.com/"> |
| 100 | + Documentation |
| 101 | + </a> |
| 102 | + </li> |
| 103 | + <li class="jq-tutorials"> |
| 104 | + <a href="https://learn.jquery.com/"> |
| 105 | + Tutorials |
| 106 | + </a> |
| 107 | + </li> |
| 108 | + <li class="jq-bugTracker"> |
| 109 | + <a href="https://github.com/jquery/jquery/issues"> |
| 110 | + Bug Tracker |
| 111 | + </a> |
| 112 | + </li> |
| 113 | + <li class="jq-discussion"> |
| 114 | + <a href="https://forum.jquery.com/"> |
| 115 | + Discussion |
| 116 | + </a> |
| 117 | + </li> |
| 118 | + </ul> |
| 119 | + </nav> |
| 120 | + </div> |
| 121 | + </div> |
| 122 | + <div id="bug-tracker-form" class="flex-column flex-between-center"> |
| 123 | + <h1>Bug Tracker</h1> |
| 124 | + <div id="search"></div> |
| 125 | + {# <form class="flex-row flex-start-center" action="/search" method="get"> |
| 126 | + <label for="jq-primarySearch">Search Tickets</label> |
| 127 | + <input type="text" value="" title="Search jQuery" name="q" id="jq-primarySearch"> |
| 128 | + <button type="submit" name="go" id="jq-searchButton"> |
| 129 | + <span class="visually-hidden">Search</span> |
| 130 | + </button> |
| 131 | + </form> #} |
| 132 | + </div> |
| 133 | + </header> |
| 134 | + <main id="skip" class="flex-column"> |
| 135 | + <h2 class="visually-hidden">Side navigation</h2> |
| 136 | + <nav id="jq-sidenav" class="flex-column white-box"> |
| 137 | + <h5 class="sidenav-header">Bug Tracker</h5> |
| 138 | + <a href="/newticket">New Ticket</a> |
| 139 | + <a href="/report">View Tickets</a> |
| 140 | + <a href="/ticketgraph">Ticket Graph</a> |
| 141 | + <a href="/roadmap">Roadmap</a> |
| 142 | + <a href="/timeline">Recent Changes</a> |
| 143 | + </nav> |
| 144 | + <div id="jq-content" class="white-box"> |
| 145 | + {{ content | safe }} |
| 146 | + </div> |
| 147 | + </main> |
| 148 | + <footer> |
| 149 | + Copyright © {% currentYear %} |
| 150 | + <a href="https://openjsf.org">The OpenJS Foundation</a> |
| 151 | + </footer> |
| 152 | + </div> |
| 153 | + <script src="/pagefind/pagefind-ui.js" type="text/javascript"></script> |
| 154 | + <script> |
| 155 | + window.addEventListener('DOMContentLoaded', (event) => { |
| 156 | + new PagefindUI({ |
| 157 | + element: "#search", |
| 158 | + showImages: false, |
| 159 | + translations: { |
| 160 | + placeholder: '', |
| 161 | + zero_results: 'No matches found.' |
| 162 | + } |
| 163 | + }) |
| 164 | + }) |
| 165 | + </script> |
| 166 | + </body> |
| 167 | +</html> |
0 commit comments