mirror of https://gitlab.com/bashrc2/epicyon
Style of delete post confirmation screen
parent
a2ec26c7d4
commit
af02d7a021
|
@ -1681,10 +1681,11 @@ def htmlDeletePost(session,baseDir: str,messageId: str, \
|
||||||
if not os.path.isfile(baseDir+'/accounts/delete-background.png'):
|
if not os.path.isfile(baseDir+'/accounts/delete-background.png'):
|
||||||
copyfile(baseDir+'/img/delete-background.png',baseDir+'/accounts/delete-background.png')
|
copyfile(baseDir+'/img/delete-background.png',baseDir+'/accounts/delete-background.png')
|
||||||
|
|
||||||
|
deletePostStr=None
|
||||||
with open(baseDir+'/epicyon-profile.css', 'r') as cssFile:
|
with open(baseDir+'/epicyon-profile.css', 'r') as cssFile:
|
||||||
profileStyle = cssFile.read()
|
profileStyle = cssFile.read()
|
||||||
deletePostStr=htmlHeader(profileStyle)
|
deletePostStr=htmlHeader(profileStyle)
|
||||||
deletePostStr='<script>'+contentWarningScript()+'</script>'
|
deletePostStr+='<script>'+contentWarningScript()+'</script>'
|
||||||
deletePostStr+= \
|
deletePostStr+= \
|
||||||
individualPostAsHtml(baseDir,session,wfRequest,personCache, \
|
individualPostAsHtml(baseDir,session,wfRequest,personCache, \
|
||||||
nickname,domain,port,postJsonObject,None,True,False, \
|
nickname,domain,port,postJsonObject,None,True,False, \
|
||||||
|
|
Loading…
Reference in New Issue