mirror of https://gitlab.com/bashrc2/epicyon
New post dropdown nav
parent
3f8f60515d
commit
2083a2d59a
|
@ -73,7 +73,7 @@ def _htmlNewPostDropDown(scopeIcon: str, scopeDescription: str,
|
||||||
dropdownReportSuffix: str) -> str:
|
dropdownReportSuffix: str) -> str:
|
||||||
"""Returns the html for a drop down list of new post types
|
"""Returns the html for a drop down list of new post types
|
||||||
"""
|
"""
|
||||||
dropDownContent = '<div class="newPostDropdown">\n'
|
dropDownContent = '<nav><div class="newPostDropdown">\n'
|
||||||
dropDownContent += ' <input type="checkbox" ' + \
|
dropDownContent += ' <input type="checkbox" ' + \
|
||||||
'id="my-newPostDropdown" value="" name="my-checkbox">\n'
|
'id="my-newPostDropdown" value="" name="my-checkbox">\n'
|
||||||
dropDownContent += ' <label for="my-newPostDropdown"\n'
|
dropDownContent += ' <label for="my-newPostDropdown"\n'
|
||||||
|
@ -157,7 +157,7 @@ def _htmlNewPostDropDown(scopeIcon: str, scopeDescription: str,
|
||||||
translate['Ask a question'] + '</a></li>\n'
|
translate['Ask a question'] + '</a></li>\n'
|
||||||
|
|
||||||
dropDownContent += ' </ul>\n'
|
dropDownContent += ' </ul>\n'
|
||||||
dropDownContent += '</div>\n'
|
dropDownContent += '</div></nav>\n'
|
||||||
return dropDownContent
|
return dropDownContent
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue