File indexing completed on 2024-05-12 03:53:40

0001 {% extends "base.html" %}
0002 
0003 {% macro write_toc(title, subgroups) %}
0004   <li>{{ title }}
0005     <ul>
0006       {% for subgroup in subgroups %}
0007         <li><a href="#sg-{{ subgroup.name }}">{{ subgroup.fancyname }}</a></li>
0008       {% endfor %}
0009     </ul>
0010   </li>
0011 {% endmacro %}
0012 
0013 {% macro write_library_list(libs) %}
0014   <table class="doxtable libraries">
0015     <tr>
0016       <th class="library-main-column">Framework</th>
0017       <th class="library-detail-column library-maintainer-column">Maintainer</th>
0018       <th class="library-detail-column library-type-column">Type</th>
0019     </tr>
0020   {% for lib in libs | sort(attribute='fancyname')%}
0021     <tr class="library-row" id="lib-{{ lib.name }}" data-platforms="{{ lib.platforms|join(',') }}">
0022       <td class="library-main-column">
0023         <img class="indicator not-available-indicator" src="{{resources}}/icons/bad.png"/>
0024         <img class="indicator available-indicator" src="{{resources}}/icons/ok.png"/>
0025         <div>
0026           <div class="library-platforms">
0027           {% for platform in available_platforms %}
0028             <span class="library-platform
0029               library-platform-{{ platform }}
0030               {% if platform not in lib.platforms %}library-platform-unsupported{% endif %}"
0031               >
0032             {% if lib.platforms.get(platform) %}
0033               <a data-note="{{ lib.platforms.get(platform) }}" href="#">
0034             {% endif %}
0035                 <span class="library-platform-text">{{ platform }}</span>
0036             {% if lib.platforms.get(platform) %}
0037                 <img class="warning-tooltip" src="{{resources}}/icons/warning.png"/></a>
0038             {% endif %}
0039             </span>
0040           {% endfor %}
0041           </div>
0042           <a class="library-fancyname" href="{{lib.href}}">{{lib.fancyname}}</a>
0043                 {% if qch %} [<a href="{{ lib.name }}/qch/{{lib.fancyname }}.qch">QCH file</a>]{% endif %}
0044                 {% if man %} <a href="{{ product.href }}/{{product.name}}.man">MAN</a>{% endif %}
0045         </div>
0046         <span class="library-description">{{lib.description}}</span>
0047       </td>
0048       <td class="library-detail-column library-maintainer-column">{% set product = lib %}{% include "maintainers.html" %}</td>
0049       <td class="library-detail-column library-type-column">{{ lib.type }}</td>
0050       </td>
0051     </tr>
0052   {% endfor %}
0053   </table>
0054 {% endmacro %}
0055 
0056 {% block page_title %}{{ title }}{% endblock %}
0057 
0058 {% block footer %}
0059   <script type="text/javascript" src="{{resources}}/js/notetip.js"></script>
0060   <script type="text/javascript" src="{{resources}}/js/subgroup.js"></script>
0061   <script defer>
0062   $(document).ready(main);
0063   </script>
0064 {% endblock %}
0065 
0066 {% block title %}
0067     {{ group.fancyname }}
0068 {% endblock %}
0069 
0070 {% block content %}
0071             <div class="contents">
0072               <div class="textblock">
0073                 {% for paragraph in group.long_description %}
0074                     <p>{{ paragraph }}</p>
0075                 {% endfor %}
0076 
0077               </div>
0078               <h2>List of the libraries</h2>
0079 
0080               {% if group.libraries | selectattr('subproduct', 'none') | list | length > 0 %}
0081                 {% if group.subproducts | length > 0 %}
0082                 <h3><a name="sg-{{ nosubproduct }}"></a>Without subgroup</h3>
0083                 {% endif %}
0084                 {{ write_library_list(group.libraries | selectattr('subproduct', 'none') )}}
0085               {% endif %}
0086               {% for subproduct in group.subproducts |sort(attribute='order') %}
0087                 <h3><a name="sg-{{ subproduct.name }}"></a>{{ subproduct.fancyname }}</h3>
0088                 <p> {{ subproduct.description }}</p>
0089                 {{ write_library_list(subproduct.libraries) }}
0090               {% endfor %}
0091 
0092 
0093             </div>
0094 
0095 {% endblock content %}
0096 
0097 {% block sidebar %}
0098     {% include "subgroup-sidebar.html" %}
0099 {% endblock %}