"Fossies" - the Fresh Open Source Software Archive

Member "pmd-src-6.47.0/docs/_includes/sidebar.html" (25 Jun 2022, 3308 Bytes) of package /linux/misc/pmd-src-6.47.0.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 {% include custom/sidebarconfigs.html %}
    2 
    3 <ul id="mysidebar" class="nav">
    4     <li class="sidebarTitle">{{sidebar[0].product}} {{sidebar[0].version | replace: '!PMD_VERSION!', site.pmd.version}}</li>
    5     <div class="sidebarTitleDate">Release date: {{site.pmd.date}}</div>
    6     {% for entry in sidebar %}
    7     {% for folder in entry.folders %}
    8     {% if folder.output contains "web" %}
    9     <li>
   10         {% if folder.url %}
   11         <a href="{{ folder.url | remove: "/" }}">{{ folder.title }}</a>
   12         {% else %}
   13         <a href="#">{{ folder.title }}</a>
   14         {% endif %}
   15         <ul>
   16             {% for folderitem in folder.folderitems %}
   17             {% if folderitem.output contains "web" %}
   18 
   19             {% unless folderitem.subfolders %}
   20 
   21                 {% if folderitem.external_url %}
   22                 <li><a href="{{folderitem.external_url}}" target="_blank">{{folderitem.title}}</a></li>
   23                 {% elsif folderitem.url and page.url == folderitem.url or page.sidebaractiveurl == folderitem.url %}
   24                 <li class="active"><a href="{{folderitem.url | remove: "/"}}">{{folderitem.title}}</a></li>
   25                 {% elsif folderitem.url %}
   26                 <li><a href="{{folderitem.url | remove: "/"}}">{{folderitem.title}}</a></li>
   27                 {% else %}
   28                 <li><a href="#">{{folderitem.title}}</a></li>
   29                 {% endif %}
   30 
   31             {% else %}
   32 
   33                 {% for subfolders in folderitem.subfolders %}
   34                 {% if subfolders.output contains "web" %}
   35                 <li class="subfolders">
   36                     <a href="#">{{ subfolders.title }}</a>
   37                     <ul>
   38                         {% for subfolderitem in subfolders.subfolderitems %}
   39                         {% if subfolderitem.output contains "web" %}
   40                         {% if subfolderitem.external_url %}
   41                         <li><a href="{{subfolderitem.external_url}}" target="_blank">{{subfolderitem.title}}</a></li>
   42                         {% elsif page.url == subfolderitem.url %}
   43                         <li class="active"><a href="{{subfolderitem.url | remove: "/"}}">{{subfolderitem.title}}</a></li>
   44                         {% else %}
   45                         <li><a href="{{subfolderitem.url | remove: "/"}}">{{subfolderitem.title}}</a></li>
   46                         {% endif %}
   47                         {% endif %}
   48                         {% endfor %}
   49                     </ul>
   50                 </li>
   51                 {% endif %}
   52                 {% endfor %}
   53 
   54             {% endunless %}
   55 
   56             {% endif %}
   57             {% endfor %}
   58         </ul>
   59      </li>
   60        {% endif %}
   61         {% endfor %}
   62         {% endfor %}
   63         <!-- if you aren't using the accordion, uncomment this block:
   64            <p class="external">
   65                <a href="#" id="collapseAll">Collapse All</a> | <a href="#" id="expandAll">Expand All</a>
   66            </p>
   67            -->
   68 </ul>
   69 
   70 <!-- this highlights the active parent class in the navgoco sidebar. this is critical so that the parent expands when you're viewing a page. This must appear below the sidebar code above. Otherwise, if placed inside customscripts.js, the script runs before the sidebar code runs and the class never gets inserted.-->
   71 <script>$("li.active").parents('li').toggleClass("active");</script>