mirror of https://gitlab.com/bashrc2/epicyon
Move custom font to theme section
parent
77dd1f3b7a
commit
270e4300eb
|
@ -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 = \
|
||||||
|
|
Loading…
Reference in New Issue