Changeset View
Changeset View
Standalone View
Standalone View
src/kapidox/data/templates/subgroup-sidebar.html
1 | <div id="sidebar-header" class="menu-box"> | 1 | <div id="sidebar-header" class="menu-box"> | ||
---|---|---|---|---|---|
2 | <div class="menu-title"> | 2 | <div class="menu-title"> | ||
3 | <h2><a href="https://api.kde.org">api.kde.org</a></h2> | 3 | <h2><a href="https://api.kde.org">api.kde.org</a></h2> | ||
4 | </div> | 4 | </div> | ||
5 | </div> | 5 | </div> | ||
6 | <div class="menu-box"> | 6 | <div class="menu-box"> | ||
7 | <div class="menu-title"> | 7 | <div class="menu-title"> | ||
8 | <h2>Table of Content</h2> | 8 | <h2>Table of Content</h2> | ||
9 | </div> | 9 | </div> | ||
10 | <div class="menu-content"> | 10 | <div class="menu-content"> | ||
11 | <ul> | 11 | <ul> | ||
12 | <li> | | |||
13 | <ul> | | |||
14 | {% if group.libraries | selectattr('subproducts', 'none') | list | length > 0 %} | 12 | {% if group.libraries | selectattr('subproducts', 'none') | list | length > 0 %} | ||
15 | {% if group.subproduct | length > 0 %} | 13 | {% if group.subproduct | length > 0 %} | ||
16 | <li><a href="#sg-{{ nosubproduct }}">Without subgroup</a></li> | 14 | <li><a href="#sg-{{ nosubproduct }}">Without subgroup</a></li> | ||
17 | {% else %} | 15 | {% else %} | ||
18 | <li><a href="#content">All</a></li> | 16 | <li><a href="#content">All</a></li> | ||
19 | {% endif %} | 17 | {% endif %} | ||
20 | {% endif %} | 18 | {% endif %} | ||
21 | {% for subproduct in group.subproducts | sort(attribute='order') %} | 19 | {% for subproduct in group.subproducts | sort(attribute='order') %} | ||
22 | <li><a href="#sg-{{ subproduct.name }}">{{ subproduct.fancyname }}</a></li> | 20 | <li><a href="#sg-{{ subproduct.name }}">{{ subproduct.fancyname }}</a></li> | ||
23 | {% endfor %} | 21 | {% endfor %} | ||
24 | </ul> | 22 | </ul> | ||
25 | </li> | | |||
26 | </ul> | | |||
27 | </div> | 23 | </div> | ||
28 | </div> | 24 | </div> | ||
29 | 25 | | |||
30 | <div class="menu-box"> | 26 | <div class="menu-box"> | ||
31 | <div class="menu-title"> | 27 | <div class="menu-title"> | ||
32 | <h2>Filters</h2> | 28 | <h2>Filters</h2> | ||
33 | </div> | 29 | </div> | ||
34 | <div class="menu-content"> | 30 | <div class="menu-content"> | ||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |