forked from Adleraci/adlerka.top
Add article creation frontend
This commit is contained in:
parent
ac95ba5b60
commit
5090c8e4bd
@ -191,7 +191,8 @@ async function submitarticle(){
|
|||||||
|
|
||||||
async function articleInit(){
|
async function articleInit(){
|
||||||
let articleSubmitElement = document.getElementById("articlesubmit");
|
let articleSubmitElement = document.getElementById("articlesubmit");
|
||||||
await togglearticlecreate();
|
let articleAddElement = document.getElementById("articlecreateopen");
|
||||||
|
articleAddElement.addEventListener("click", togglearticlecreate);
|
||||||
articleSubmitElement.addEventListener("click", submitarticle);
|
articleSubmitElement.addEventListener("click", submitarticle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -373,6 +373,9 @@ body:has(.ye-span:hover) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#articlecreatecontainer{
|
#articlecreatecontainer{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
align-content: center;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
Loading…
Reference in New Issue
Block a user