Edit meme creation
This commit is contained in:
parent
7c383141c6
commit
c9d62ecaea
@ -620,6 +620,7 @@ async function addMeme() {
|
|||||||
meme_image_id: memeImageElement.value
|
meme_image_id: memeImageElement.value
|
||||||
}, "Meme bol zmazaný", "Nastala chyba pri mazaní meme-u", false);
|
}, "Meme bol zmazaný", "Nastala chyba pri mazaní meme-u", false);
|
||||||
memeFormElement.reset();
|
memeFormElement.reset();
|
||||||
|
await togglememecreate();
|
||||||
}
|
}
|
||||||
|
|
||||||
async function deleteMeme(memeId) {
|
async function deleteMeme(memeId) {
|
||||||
|
@ -316,10 +316,10 @@ span#ye-span:hover + body{
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 15vh;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 70vh;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
backdrop-filter: blur(2px);
|
backdrop-filter: blur(2px);
|
||||||
}
|
}
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
<div id="articlecreate">
|
<div id="articlecreate">
|
||||||
<input type="text" placeholder="Article Title" id="articletitleinput"><br>
|
<input type="text" placeholder="Article Title" id="articletitleinput"><br>
|
||||||
<textarea id="articlebodyinput" placeholder="Article Body" rows="10" cols="80"></textarea><br>
|
<textarea id="articlebodyinput" placeholder="Article Body" rows="10" cols="80"></textarea><br>
|
||||||
<label for="articleprivilegeinput">Oprávnenie na pozretie článku:</label><br>
|
<label for="articleprivilegeinput">Oprávnenie na pozretie článku:</label>
|
||||||
<input type="number" id="articleprivilegeinput" min="1" value="1" step="1"><br>
|
<input type="number" id="articleprivilegeinput" min="1" value="1" step="1">
|
||||||
<button id="articlesubmit" onclick="submitarticle()">Add</button>
|
<button id="articlesubmit" onclick="submitarticle()"><i class="ri-add-circle-line"></i></button>
|
||||||
<button id="articlecreateclose" onclick="togglearticlecreate()"><i class="ri-close-line"></i></button>
|
<button id="articlecreateclose" onclick="togglearticlecreate()"><i class="ri-close-line"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user