main
Bob Mottram 2020-05-28 09:53:24 +01:00
parent 3e9948374c
commit 559ce0262d
1 changed files with 0 additions and 7 deletions

View File

@ -938,7 +938,6 @@ def htmlEditProfile(translate: {}, baseDir: str, path: str,
"""Shows the edit profile screen
"""
imageFormats = '.png, .jpg, .jpeg, .gif, .webp'
# fontFormats = '.woff, .woff2, .ttf, .otf'
pathOriginal = path
path = path.replace('/inbox', '').replace('/outbox', '')
path = path.replace('/shares', '')
@ -1167,12 +1166,6 @@ def htmlEditProfile(translate: {}, baseDir: str, path: str,
themesDropdown += ' <option value="highvis">' + \
translate['HighVis'] + '</option>'
themesDropdown += ' </select><br>'
# themesDropdown += \
# ' <label class="labels">' + \
# translate['Custom Font'] + '</label>'
# themesDropdown += \
# ' <input type="file" id="customFont" name="customFont"'
# themesDropdown += ' accept="' + fontFormats + '">'
if os.path.isfile(baseDir + '/fonts/custom.woff') or \
os.path.isfile(baseDir + '/fonts/custom.woff2') or \
os.path.isfile(baseDir + '/fonts/custom.otf') or \