mirror of https://gitlab.com/bashrc2/epicyon
Scope as first item
parent
35ef11d3d2
commit
d640cd2934
|
@ -259,7 +259,9 @@ input[type=number] {
|
||||||
input[type=submit] {
|
input[type=submit] {
|
||||||
background-color: #555;
|
background-color: #555;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 12px 20px;
|
float: right;
|
||||||
|
margin: 0px 10px;
|
||||||
|
padding: 12px 40px;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -293,6 +295,7 @@ input[type=submit]:hover {
|
||||||
|
|
||||||
/* The container <div> - needed to position the dropdown content */
|
/* The container <div> - needed to position the dropdown content */
|
||||||
.dropdown {
|
.dropdown {
|
||||||
|
margin: 10px auto;
|
||||||
padding: 0px 14px;
|
padding: 0px 14px;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -126,18 +126,7 @@ def htmlNewPost(baseDir: str,path: str) -> str:
|
||||||
'<form enctype="multipart/form-data" method="POST" action="'+path+'?'+endpoint+'">' \
|
'<form enctype="multipart/form-data" method="POST" action="'+path+'?'+endpoint+'">' \
|
||||||
' <div class="vertical-center">' \
|
' <div class="vertical-center">' \
|
||||||
' <label for="nickname"><b>'+newPostText+'</b></label>' \
|
' <label for="nickname"><b>'+newPostText+'</b></label>' \
|
||||||
' <input type="text" placeholder="'+placeholderSubject+'" name="subject">' \
|
|
||||||
'' \
|
|
||||||
' <textarea id="message" name="message" placeholder="'+placeholderMessage+'" style="height:200px"></textarea>' \
|
|
||||||
''+extraFields+ \
|
|
||||||
' <div class="container">' \
|
' <div class="container">' \
|
||||||
' <input type="text" placeholder="Image description" name="imageDescription">' \
|
|
||||||
' <input type="file" id="attachpic" name="attachpic"' \
|
|
||||||
' accept=".png, .jpg, .jpeg, .gif">' \
|
|
||||||
' </div>' \
|
|
||||||
' <div class="container">' \
|
|
||||||
' <input type="submit" value="Cancel">' \
|
|
||||||
' <input type="submit" value="Submit">' \
|
|
||||||
' <div class="dropdown">' \
|
' <div class="dropdown">' \
|
||||||
' <img src="/icons/'+scopeIcon+'"/><b class="scope-desc">'+scopeDescription+'</b>' \
|
' <img src="/icons/'+scopeIcon+'"/><b class="scope-desc">'+scopeDescription+'</b>' \
|
||||||
' <div class="dropdown-content">' \
|
' <div class="dropdown-content">' \
|
||||||
|
@ -148,6 +137,17 @@ def htmlNewPost(baseDir: str,path: str) -> str:
|
||||||
' <a href="'+pathBase+'/newshare"><img src="/icons/scope_share.png"/><b>Share</b><br>Describe a shared item</a>' \
|
' <a href="'+pathBase+'/newshare"><img src="/icons/scope_share.png"/><b>Share</b><br>Describe a shared item</a>' \
|
||||||
' </div>' \
|
' </div>' \
|
||||||
' </div>' \
|
' </div>' \
|
||||||
|
' <input type="submit" value="Submit">' \
|
||||||
|
' <input type="submit" value="Cancel">' \
|
||||||
|
' </div>' \
|
||||||
|
' <input type="text" placeholder="'+placeholderSubject+'" name="subject">' \
|
||||||
|
'' \
|
||||||
|
' <textarea id="message" name="message" placeholder="'+placeholderMessage+'" style="height:200px"></textarea>' \
|
||||||
|
''+extraFields+ \
|
||||||
|
' <div class="container">' \
|
||||||
|
' <input type="text" placeholder="Image description" name="imageDescription">' \
|
||||||
|
' <input type="file" id="attachpic" name="attachpic"' \
|
||||||
|
' accept=".png, .jpg, .jpeg, .gif">' \
|
||||||
' </div>' \
|
' </div>' \
|
||||||
' </div>' \
|
' </div>' \
|
||||||
'</form>'
|
'</form>'
|
||||||
|
|
Loading…
Reference in New Issue