forked from indymedia/epicyon
Style for pgp public key
parent
0d0a52e07d
commit
57a15fe2df
|
@ -75,6 +75,12 @@ a:link {
|
||||||
color: var(--main-link-color);
|
color: var(--main-link-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pgp {
|
||||||
|
font-size: var(--font-size4);
|
||||||
|
color: var(--main-link-color);
|
||||||
|
font-family: 'monospace';
|
||||||
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background-color: var(--button-background);
|
background-color: var(--button-background);
|
||||||
|
|
|
@ -284,6 +284,17 @@ a:link {
|
||||||
color: var(--main-fg-color);
|
color: var(--main-fg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.imText {
|
||||||
|
font-size: var(--font-size4);
|
||||||
|
color: var(--main-link-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pgp {
|
||||||
|
font-size: var(--font-size4);
|
||||||
|
color: var(--main-link-color);
|
||||||
|
font-family: 'monospace';
|
||||||
|
}
|
||||||
|
|
||||||
.container img.announceOrReply {
|
.container img.announceOrReply {
|
||||||
float: none;
|
float: none;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
|
|
|
@ -1552,7 +1552,7 @@ def htmlProfile(defaultTimeline: str, \
|
||||||
if matrixAddress:
|
if matrixAddress:
|
||||||
donateSection+='<p>'+translate['Matrix']+': '+matrixAddress+'</p>\n'
|
donateSection+='<p>'+translate['Matrix']+': '+matrixAddress+'</p>\n'
|
||||||
if PGPpubKey:
|
if PGPpubKey:
|
||||||
donateSection+='<p>'+translate['PGP']+': '+PGPpubKey+'</p>\n'
|
donateSection+='<p class="pgp">'+translate['PGP']+': '+PGPpubKey.replace('\n','<br>')+'</p>\n'
|
||||||
donateSection+=' </center>\n'
|
donateSection+=' </center>\n'
|
||||||
donateSection+='</div>\n'
|
donateSection+='</div>\n'
|
||||||
|
|
||||||
|
@ -3422,7 +3422,7 @@ def htmlPersonOptions(translate: {},baseDir: str, \
|
||||||
if matrixAddress:
|
if matrixAddress:
|
||||||
optionsStr+='<p class="imText">Matrix: '+matrixAddress+'</p>'
|
optionsStr+='<p class="imText">Matrix: '+matrixAddress+'</p>'
|
||||||
if PGPpubKey:
|
if PGPpubKey:
|
||||||
optionsStr+='<p class="imText">PGP: '+PGPpubKey+'</p>'
|
optionsStr+='<p class="pgp">PGP: '+PGPpubKey.replace('\n','<br>')+'</p>'
|
||||||
optionsStr+=' <form method="POST" action="'+originPathStr+'/personoptions">'
|
optionsStr+=' <form method="POST" action="'+originPathStr+'/personoptions">'
|
||||||
optionsStr+=' <input type="hidden" name="pageNumber" value="'+str(pageNumber)+'">'
|
optionsStr+=' <input type="hidden" name="pageNumber" value="'+str(pageNumber)+'">'
|
||||||
optionsStr+=' <input type="hidden" name="actor" value="'+optionsActor+'">'
|
optionsStr+=' <input type="hidden" name="actor" value="'+optionsActor+'">'
|
||||||
|
|
Loading…
Reference in New Issue