summaryrefslogtreecommitdiffstats
path: root/templates/html/htmljsmenuletterdata.tpl
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-05-01 08:05:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-05-05 19:40:39 (GMT)
commit8480d35beef57ed08139b58972bfb83a3b37422c (patch)
tree13d486ed244ee6382a88d5d3312f0ea01b5131be /templates/html/htmljsmenuletterdata.tpl
parent33915cdce6b66af7e0f8d3e98d741df6e9cc5e32 (diff)
downloadDoxygen-8480d35beef57ed08139b58972bfb83a3b37422c.zip
Doxygen-8480d35beef57ed08139b58972bfb83a3b37422c.tar.gz
Doxygen-8480d35beef57ed08139b58972bfb83a3b37422c.tar.bz2
Applied responsive design to menu bar using smartmenus
Diffstat (limited to 'templates/html/htmljsmenuletterdata.tpl')
-rw-r--r--templates/html/htmljsmenuletterdata.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/html/htmljsmenuletterdata.tpl b/templates/html/htmljsmenuletterdata.tpl
new file mode 100644
index 0000000..ded3402
--- /dev/null
+++ b/templates/html/htmljsmenuletterdata.tpl
@@ -0,0 +1,12 @@
+{# inputs: page, list, section, text #}
+{text:'{{ text }}',url:'{{ page.fileName }}{{ section }}{{ config.HTML_FILE_EXTENSION }}'
+{% if list|length>maxItemsForMultiPageList %}
+,children:[
+ {% with index=list|alphaIndex:'name' %}
+ {% for sect in index %}
+ {text:'{{ sect.letter }}',url:'{{ page.fileName }}{{ section }}_{{ sect.label }}{{ config.HTML_FILE_EXTENSION }}'}{% if not forloop.last %},{% endif %}
+ {% endfor %}
+ {% endwith %}
+]
+{% endif %}
+}