Separate container for buttons

main
Bob Mottram 2019-11-26 13:27:41 +00:00
parent cac5cf5cb7
commit a36380c476
1 changed files with 9 additions and 7 deletions

View File

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