2024-02-22 09:42:37 +01:00
|
|
|
<header>
|
|
|
|
<h1 class="title"></h1>
|
|
|
|
<p>Adlerka študentské news</p>
|
2024-02-22 10:43:18 +01:00
|
|
|
<button id="articlecreateopen" onclick="togglearticlecreate()"><i class="ri-add-circle-line"></i></button>
|
2024-02-22 09:42:37 +01:00
|
|
|
</header>
|
2024-02-22 13:57:05 +01:00
|
|
|
|
|
|
|
<template data-template-name="article">
|
|
|
|
__TEMPLATE_FOR_ARTICLE_CONTENT__
|
|
|
|
</template>
|
|
|
|
|
2024-02-22 10:43:18 +01:00
|
|
|
<div id="articleslist">
|
|
|
|
__TEMPLATE__ARTICLES_HERE__
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="articlecreatecontainer" class="hidden">
|
|
|
|
<div id="articlecreate">
|
|
|
|
<input type="text" placeholder="Article Title" id="articletitleinput"><br>
|
2024-05-15 19:23:02 +02:00
|
|
|
<textarea id="articlebodyinput" placeholder="Article Body" rows="10" cols="80"></textarea><br>
|
|
|
|
<label for="articleprivilegeinput">Oprávnenie na pozretie článku:</label><br>
|
2024-02-24 09:01:13 +01:00
|
|
|
<input type="number" id="articleprivilegeinput" min="1" value="1" step="1"><br>
|
2024-02-22 12:18:20 +01:00
|
|
|
<button id="articlesubmit" onclick="submitarticle()">Add</button>
|
2024-05-16 10:08:25 +02:00
|
|
|
<button id="articlecreateclose" onclick="togglearticlecreate()"><i class="ri-close-line"></i></button>
|
2024-02-22 10:43:18 +01:00
|
|
|
</div>
|
|
|
|
</div>
|