|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="${trac_lang}"> {# jinjacheck: "attribute lang" OK #} |
| 3 | + |
| 4 | +# macro navigation(category) |
| 5 | +<div id="${category}" class="nav"> |
| 6 | + # if chrome.nav[category]: |
| 7 | + <ul>{% |
| 8 | + for item in chrome.nav[category] |
| 9 | + %}<li ${{'class': { |
| 10 | + 'first': loop.first, 'last': loop.last, 'active': item.active |
| 11 | + }}|htmlattr}>${item.label}</li>{% |
| 12 | + endfor |
| 13 | + %}</ul> |
| 14 | + # endif |
| 15 | +</div> |
| 16 | +# endmacro |
| 17 | + |
| 18 | +# macro main() |
| 19 | +<div role="main"> |
| 20 | + ${navigation('metanav')} |
| 21 | + ${navigation('mainnav')} |
| 22 | + <div id="main" ${{'class': { |
| 23 | + 'uisymbols': req.session.get('ui.use_symbols'), |
| 24 | + 'uinohelp': req.session.get('ui.hide_help'), |
| 25 | + }}|htmlattr}> |
| 26 | + |
| 27 | + # if req.authname != 'anonymous' and not req.session.email: |
| 28 | + <div class="system-message" id="warning"> |
| 29 | + Add an email address on the <a href="${req.href.prefs()}">Preferences</a> |
| 30 | + page to receive updates on tickets you own, have created, or been CCed on. |
| 31 | + </div> |
| 32 | + # endif |
| 33 | + |
| 34 | + # if resourcepath_template: |
| 35 | + # include resourcepath_template ignore missing |
| 36 | + # endif |
| 37 | + <div id="ctxtnav" class="nav"> |
| 38 | + <h2>${_("Context Navigation")}</h2> |
| 39 | + # if chrome.ctxtnav: |
| 40 | + <ul> |
| 41 | + # for elm in chrome.ctxtnav: |
| 42 | + <li ${{'class': {'first': loop.first, 'last': loop.last}}|htmlattr}>${ |
| 43 | + elm}</li> |
| 44 | + # endfor |
| 45 | + </ul> |
| 46 | + # endif |
| 47 | + <hr /> |
| 48 | + </div> |
| 49 | + |
| 50 | + ${jmacros.warnings(chrome.warnings)} |
| 51 | + |
| 52 | + ${jmacros.notices(chrome.notices)} |
| 53 | + |
| 54 | + # block content |
| 55 | + # endblock content |
| 56 | + </div> |
| 57 | + <a href="#top" class="backtotop"><i class="icon icon-chevron-up"></i> Back to Top</a> |
| 58 | +</div> |
| 59 | +# endmacro |
| 60 | + |
| 61 | +<head> |
| 62 | + # block head |
| 63 | + # endblock head |
| 64 | +</head> |
| 65 | + |
| 66 | +{# we don't use the modernizer js lib anymore, but the css still uses some classes from it #} |
| 67 | +<body class="mdzr-boxshadow"> |
| 68 | + # block body |
| 69 | + |
| 70 | + # include 'site_header.html' ignore missing |
| 71 | + |
| 72 | + <div id="banner"> |
| 73 | + <div class="copy-banner"> |
| 74 | + <div class="container"> |
| 75 | + <h1>Issues</h1> |
| 76 | + </div> |
| 77 | + </div> |
| 78 | + |
| 79 | + # if req.path_info == '/': |
| 80 | + <div class="container sidebar-right"> |
| 81 | + ${main()} |
| 82 | + <div role="complementary"> |
| 83 | + <form action="/search/" id="sidebar_search" class="search form-input" role="search"> |
| 84 | + <label class="visuallyhidden" for="q">Search:</label> |
| 85 | + <input id="id_sidebar_search_q" name="q" placeholder="Search Trac" type="search" /> |
| 86 | + |
| 87 | + <button type="submit"> |
| 88 | + <i class="icon icon-search"></i> |
| 89 | + <span class="visuallyhidden">Search</span> |
| 90 | + </button> |
| 91 | + </form> |
| 92 | + <h3>Useful links</h3> |
| 93 | + <dl> |
| 94 | + <dt><a href="https://docs.djangoproject.com/en/dev/internals/contributing/">Contribution Guide</a></dt> |
| 95 | + <dd>You'd like to contribute to Django but don't know how? This document will explain our process and how to get involved.</dd> |
| 96 | + |
| 97 | + <dt><a href="/query?status=!closed&easy=1">"Easy Pickings"</a></dt> |
| 98 | + <dd>First time contributor and you're looking for something manageable? The "easy pickings" list is a good start.</dd> |
| 99 | + |
| 100 | + <dt><a href="https://docs.djangoproject.com/en/dev/internals/security/">Security Policy</a></dt> |
| 101 | + <dd>You found a security issue in Django? You'd like to know more about our security policy? It's all in there.</dd> |
| 102 | + |
| 103 | + <dt><a href="https://github.com/django/django">GitHub</a></dt> |
| 104 | + <dd>Want to peek under the hood and see Django's source code, file or help review a pull request? It's all on GitHub.</dd> |
| 105 | + |
| 106 | + <dt><a href="https://dashboard.djangoproject.com/">Django Dashboard</a></dt> |
| 107 | + <dd>Confused about Trac's filtering system? This dashboard shows easy-to-read metrics and has links to pre-set filters to get you started.</dd> |
| 108 | + |
| 109 | + <dt><a href="irc://irc.freenode.net/django-dev">#django-dev IRC channel</a></dt> |
| 110 | + <dd>Questions about a ticket? Stuck on how to write a unit test for your pull request? Come chat with us!</dd> |
| 111 | + </dl> |
| 112 | + </div> |
| 113 | + </div> |
| 114 | + </div> |
| 115 | + # else |
| 116 | + <div class="container full-width"> |
| 117 | + ${main()} |
| 118 | + </div> |
| 119 | + # endif |
| 120 | + |
| 121 | + # include 'site_footer.html' ignore missing |
| 122 | + |
| 123 | + # endblock body |
| 124 | +</body> |
| 125 | + |
| 126 | +</html> |
0 commit comments