Move custom font to theme section

main
Bob Mottram 2020-05-26 21:32:28 +01:00
parent 77dd1f3b7a
commit 270e4300eb
1 changed files with 6 additions and 6 deletions

View File

@ -1120,12 +1120,6 @@ def htmlEditProfile(translate: {}, baseDir: str, path: str,
instanceStr += \ instanceStr += \
' <input type="file" id="instanceLogo" name="instanceLogo"' ' <input type="file" id="instanceLogo" name="instanceLogo"'
instanceStr += ' accept="' + imageFormats + '">' instanceStr += ' accept="' + imageFormats + '">'
instanceStr += \
' <label class="labels">' + \
translate['Custom Font'] + '</label>'
instanceStr += \
' <input type="file" id="customFont" name="customFont"'
instanceStr += ' accept="' + fontFormats + '">'
instanceStr += '</div>' instanceStr += '</div>'
moderators = '' moderators = ''
@ -1158,6 +1152,12 @@ def htmlEditProfile(translate: {}, baseDir: str, path: str,
themesDropdown += ' <option value="highvis">' + \ themesDropdown += ' <option value="highvis">' + \
translate['HighVis'] + '</option>' translate['HighVis'] + '</option>'
themesDropdown += ' </select><br>' themesDropdown += ' </select><br>'
themesDropdown += \
' <label class="labels">' + \
translate['Custom Font'] + '</label>'
themesDropdown += \
' <input type="file" id="customFont" name="customFont"'
themesDropdown += ' accept="' + fontFormats + '">'
themesDropdown += '</div>' themesDropdown += '</div>'
themeName = getConfigParam(baseDir, 'theme') themeName = getConfigParam(baseDir, 'theme')
themesDropdown = \ themesDropdown = \