mirror of https://gitlab.com/bashrc2/epicyon
Header style
parent
a0913398ba
commit
7bc10aa868
|
@ -1226,7 +1226,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
adminNickname = getConfigParam(baseDir, 'admin')
|
adminNickname = getConfigParam(baseDir, 'admin')
|
||||||
if adminNickname:
|
if adminNickname:
|
||||||
if path.startswith('/users/' + adminNickname + '/'):
|
if path.startswith('/users/' + adminNickname + '/'):
|
||||||
# Instance details section
|
# Instance details section
|
||||||
instanceDescription = \
|
instanceDescription = \
|
||||||
getConfigParam(baseDir, 'instanceDescription')
|
getConfigParam(baseDir, 'instanceDescription')
|
||||||
instanceDescriptionShort = \
|
instanceDescriptionShort = \
|
||||||
|
@ -1299,7 +1299,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
# Themes section
|
# Themes section
|
||||||
themes = getThemesList(baseDir)
|
themes = getThemesList(baseDir)
|
||||||
themesDropdown = '<div class="container">'
|
themesDropdown = '<div class="container">'
|
||||||
themesDropdown += ' <b>' + translate['Theme'] + '</b><br>'
|
themesDropdown += ' <b><label class="labels">' + \
|
||||||
|
translate['Theme'] + '</label></b><br>\n'
|
||||||
grayscaleFilename = \
|
grayscaleFilename = \
|
||||||
baseDir + '/accounts/.grayscale'
|
baseDir + '/accounts/.grayscale'
|
||||||
grayscale = ''
|
grayscale = ''
|
||||||
|
@ -1338,7 +1339,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
with open(moderatorsFile, "r") as f:
|
with open(moderatorsFile, "r") as f:
|
||||||
moderators = f.read()
|
moderators = f.read()
|
||||||
moderatorsStr = '<div class="container">'
|
moderatorsStr = '<div class="container">'
|
||||||
moderatorsStr += ' <b>' + translate['Moderators'] + '</b><br>'
|
moderatorsStr += ' <b><label class="labels">' + \
|
||||||
|
translate['Moderators'] + '</label></b><br>\n'
|
||||||
moderatorsStr += ' ' + \
|
moderatorsStr += ' ' + \
|
||||||
translate['A list of moderator nicknames. One per line.']
|
translate['A list of moderator nicknames. One per line.']
|
||||||
moderatorsStr += \
|
moderatorsStr += \
|
||||||
|
@ -1355,7 +1357,8 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
||||||
with open(editorsFile, "r") as f:
|
with open(editorsFile, "r") as f:
|
||||||
editors = f.read()
|
editors = f.read()
|
||||||
editorsStr = '<div class="container">'
|
editorsStr = '<div class="container">'
|
||||||
editorsStr += ' <b>' + translate['Site Editors'] + '</b><br>'
|
editorsStr += ' <b><label class="labels">' + \
|
||||||
|
translate['Site Editors'] + '</label></b><br>\n'
|
||||||
editorsStr += ' ' + \
|
editorsStr += ' ' + \
|
||||||
translate['A list of editor nicknames. One per line.']
|
translate['A list of editor nicknames. One per line.']
|
||||||
editorsStr += \
|
editorsStr += \
|
||||||
|
|
Loading…
Reference in New Issue