New post dropdown nav

merge-requests/8/head
Bob Mottram 2020-12-27 21:29:04 +00:00
parent 3f8f60515d
commit 2083a2d59a
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ def _htmlNewPostDropDown(scopeIcon: str, scopeDescription: str,
dropdownReportSuffix: str) -> str:
"""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" ' + \
'id="my-newPostDropdown" value="" name="my-checkbox">\n'
dropDownContent += ' <label for="my-newPostDropdown"\n'
@ -157,7 +157,7 @@ def _htmlNewPostDropDown(scopeIcon: str, scopeDescription: str,
translate['Ask a question'] + '</a></li>\n'
dropDownContent += ' </ul>\n'
dropDownContent += '</div>\n'
dropDownContent += '</div></nav>\n'
return dropDownContent