forked from indymedia/epicyon
New post header column widths
parent
ca53d2521e
commit
08227dac51
|
@ -704,7 +704,7 @@ input[type=submit] {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: var(--font-size-header);
|
font-size: var(--font-size-header);
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
width: 120px;
|
width: 8ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loginButton {
|
.loginButton {
|
||||||
|
|
|
@ -644,7 +644,17 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
||||||
newPostForm += \
|
newPostForm += \
|
||||||
' <label for="nickname"><b>' + newPostText + '</b></label>\n'
|
' <label for="nickname"><b>' + newPostText + '</b></label>\n'
|
||||||
newPostForm += ' <div class="containerNewPost">\n'
|
newPostForm += ' <div class="containerNewPost">\n'
|
||||||
newPostForm += ' <table style="width:100%" border="0"><tr>\n'
|
newPostForm += ' <table style="width:100%" border="0">\n'
|
||||||
|
newPostForm += ' <colgroup>\n'
|
||||||
|
newPostForm += ' <col span="1" style="width:50%">\n'
|
||||||
|
newPostForm += ' <col span="1" style="width:10%">\n'
|
||||||
|
if newswire and path.endswith('/newblog'):
|
||||||
|
newPostForm += ' <col span="1" style="width:20%">\n'
|
||||||
|
newPostForm += ' <col span="1" style="width:20%">\n'
|
||||||
|
else:
|
||||||
|
newPostForm += ' <col span="1" style="width:40%">\n'
|
||||||
|
newPostForm += ' </colgroup>\n'
|
||||||
|
newPostForm += '<tr>\n'
|
||||||
newPostForm += '<td>' + dropDownContent + '</td>\n'
|
newPostForm += '<td>' + dropDownContent + '</td>\n'
|
||||||
|
|
||||||
newPostForm += \
|
newPostForm += \
|
||||||
|
|
Loading…
Reference in New Issue