Add survey

This commit is contained in:
Bruno Rybársky 2024-05-15 19:23:02 +02:00
parent 9d222c203c
commit d049848bff
4 changed files with 12 additions and 3 deletions

@ -295,7 +295,6 @@ span#ye-span:hover + body{
#articlecreate {
position: fixed;
border: 5px solid var(--pico-primary);
z-index: 5;
margin: auto;
@ -357,6 +356,11 @@ div#articleslist>article{
.meme_image {
max-width: 500px;
max-height: 300px;
width: auto;
height: auto;
}
.meme_link {
width: fit-content;
height: fit-content;
}

@ -13,6 +13,7 @@
<input type="radio" name="satisfaction" value="1" id="spokojnost_nanic">
<label for="spokojnost_nanic">Nanič</label>
<br>
<br>
<h3>Funkčnosť stránky:</h3>
<input type="radio" name="functionality" value="5" id="funkcnost_super">
<label for="funkcnost_super">Super</label>
@ -25,6 +26,7 @@
<input type="radio" name="functionality" value="1" id="funkcnost_nanic">
<label for="funkcnost_nanic">Nanič</label>
<br>
<br>
<h3>Obsah stránky:</h3>
<input type="radio" name="content" value="5" id="content_super">
<label for="content_super">Super</label>
@ -37,7 +39,9 @@
<input type="radio" name="content" value="1" id="content_nanic">
<label for="content_nanic">Nanič</label>
<br>
<br>
<textarea name="comment" placeholder="Komentár" cols="80" rows="20" required></textarea>
<br>
<br>
<button onclick="surveySubmit()">Odoslať</button>
</form>

@ -18,7 +18,7 @@
</div>
</div>
<div class="meme_body" id="meme_body___TEMPLATE_MEME_ID__">
<a href="__TEMPLATE_MEME_IMAGE__" download>
<a class="meme_link" href="__TEMPLATE_MEME_IMAGE__" download>
<img id="meme_image___TEMPLATE_MEME_ID__" src="__TEMPLATE_MEME_IMAGE__" width="__TEMPLATE_MEME_IMAGE_WIDTH__"
height="__TEMPLATE_MEME_IMAGE_HEIGHT__" alt="meme image"
class="meme_image"></a>

@ -15,7 +15,8 @@
<div id="articlecreatecontainer" class="hidden">
<div id="articlecreate">
<input type="text" placeholder="Article Title" id="articletitleinput"><br>
<textarea id="articlebodyinput" placeholder="Article Body" rows="20" 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>
<input type="number" id="articleprivilegeinput" min="1" value="1" step="1"><br>
<button id="articlesubmit" onclick="submitarticle()">Add</button>
</div>