Table format

merge-requests/6/head
Bob Mottram 2019-11-26 13:14:23 +00:00
parent 85e8a8a35c
commit bc8fb3c086
1 changed files with 5 additions and 5 deletions

View File

@ -1073,15 +1073,15 @@ def htmlNewPost(translate: {},baseDir: str, \
newPostForm+='<form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="'+path+'?'+endpoint+'?page='+str(pageNumber)+'">'
newPostForm+=' <div class="vertical-center">'
newPostForm+=' <label for="nickname"><b>'+newPostText+'</b></label>'
newPostForm+=' <div class="container">'
newPostForm+=' <div class="dropbtn" onclick="dropdown()">'
newPostForm+=' <div class="container"><table><tr>'
newPostForm+=' <td><div class="dropbtn" onclick="dropdown()">'
newPostForm+=' <img loading="lazy" src="/'+iconsDir+'/'+scopeIcon+'"/><b class="scope-desc">'+scopeDescription+'</b>'
newPostForm+=dropDownContent
newPostForm+=' </div>'
newPostForm+=' <input type="submit" name="submitPost" value="'+translate['Submit']+'"><br>'
newPostForm+=' </div></td>'
newPostForm+=' <td><input type="submit" name="submitPost" value="'+translate['Submit']+'"><br>'
newPostForm+=' <a href="'+pathBase+'/inbox"><button class="cancelbtn">'+translate['Cancel']+'</button></a><br>'
newPostForm+=' <a href="'+pathBase+'/searchemoji"><img loading="lazy" class="emojisearch" src="/emoji/1F601.png" title="'+translate['Search for emoji']+'" alt="'+translate['Search for emoji']+'"/></a>'
newPostForm+=' </div>'
newPostForm+=' </td></tr></table></div>'
newPostForm+=replyStr
newPostForm+=' <input type="text" placeholder="'+placeholderSubject+'" name="subject">'
newPostForm+=''