forked from Adleraci/adlerka.top
24 lines
948 B
HTML
24 lines
948 B
HTML
<header>
|
|
<h1 class="title">NEWS</h1>
|
|
<button id="articlecreateopen" onclick="togglearticlecreate()"><i class="ri-add-circle-line"></i></button>
|
|
</header>
|
|
|
|
<template data-template-name="article">
|
|
__TEMPLATE_FOR_ARTICLE_CONTENT__
|
|
</template>
|
|
|
|
<div id="articleslist">
|
|
__TEMPLATE__ARTICLES_HERE__
|
|
</div>
|
|
|
|
<div id="articlecreatecontainer" class="hidden">
|
|
<div id="articlecreate">
|
|
<input type="text" placeholder="Article Title" id="articletitleinput"><br>
|
|
<textarea id="articlebodyinput" placeholder="Article Body" rows="10" cols="80"></textarea><br>
|
|
<label for="articleprivilegeinput">Oprávnenie na pozretie článku:</label>
|
|
<input type="number" id="articleprivilegeinput" min="1" value="1" step="1">
|
|
<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>
|
|
</div>
|
|
</div>
|