Last change
on this file was 17657, checked in by Jun Omae, 14 months ago |
1.5.4dev: update copyright year to 2023 (refs #13402)
[skip ci]
|
-
Property svn:eol-style
set to
native
|
File size:
1.7 KB
|
Line | |
---|
1 | {# Copyright (C) 2006-2023 Edgewall Software
|
---|
2 |
|
---|
3 | This software is licensed as described in the file COPYING, which
|
---|
4 | you should have received as part of this distribution. The terms
|
---|
5 | are also available at https://trac.edgewall.org/wiki/TracLicense.
|
---|
6 |
|
---|
7 | This software consists of voluntary contributions made by many
|
---|
8 | individuals. For the exact contribution history, see the revision
|
---|
9 | history and logs, available at https://trac.edgewall.org/.
|
---|
10 | #}
|
---|
11 |
|
---|
12 | # extends 'layout.html'
|
---|
13 |
|
---|
14 | <!DOCTYPE html>
|
---|
15 | <html>
|
---|
16 |
|
---|
17 | <head>
|
---|
18 | <title>
|
---|
19 | # block title
|
---|
20 | ${_("Administration:")}
|
---|
21 | # block admintitle
|
---|
22 | # endblock admintitle
|
---|
23 | ${ super() }
|
---|
24 | # endblock title
|
---|
25 | </title>
|
---|
26 | </head>
|
---|
27 |
|
---|
28 | <body>
|
---|
29 | # block content
|
---|
30 | <div id="content" class="admin">
|
---|
31 | <h1>${_("Administration")}</h1>
|
---|
32 | <div id="tabs">
|
---|
33 | # for category, category_panels in panels:
|
---|
34 | # set cat_is_active = category.id == active_cat
|
---|
35 | <ul>
|
---|
36 | <li${{'class': 'active' if cat_is_active}|htmlattr}>
|
---|
37 | ${category.label}
|
---|
38 | <ul>
|
---|
39 | # for panel in category_panels:
|
---|
40 | # set panel = panel.panel
|
---|
41 | # set pan_is_active = cat_is_active and panel.id == active_panel
|
---|
42 | <li${{'class': 'active' if pan_is_active}|htmlattr}>
|
---|
43 | <a href="${href.admin(category.id, panel.id)}">${
|
---|
44 | panel.label}</a>
|
---|
45 | </li>
|
---|
46 | # endfor
|
---|
47 | </ul>
|
---|
48 | </li>
|
---|
49 | </ul>
|
---|
50 | # endfor
|
---|
51 | </div>
|
---|
52 | <div id="tabcontent">
|
---|
53 | # block adminpanel
|
---|
54 | # endblock adminpanel
|
---|
55 | <br style="clear: right" />
|
---|
56 | </div>
|
---|
57 | </div>
|
---|
58 | ${ super() }
|
---|
59 | # endblock content
|
---|
60 | </body>
|
---|
61 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.