consolidate all repos to one for archive

This commit is contained in:
2025-01-28 13:46:42 +01:00
commit a6610fbc7a
5350 changed files with 2705721 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<h1>{{message}}</h1>
<h2>{{error.status}}</h2>
<pre>{{error.stack}}</pre>

View File

@@ -0,0 +1,2 @@
<h1>{{title}}</h1>
<p>Welcome to {{title}}</p>

View File

@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>{{title}}</title>
<link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
<!--
<nav>
<ul>
<li><a href='/'>Domov</a></li>
{{#if session.userId}}
<li><a href='/users/profile'>Profil</a></li>
<li><a href='/photos/publish'>Objavi sliko</a></li>
<li><a href='/users/logout'>Odjava</a></li>
{{else}}
<li><a href='/users/login'>Prijava</a></li>
<li><a href='/users/register'>Registracija</a></li>
{{/if}}
</ul>
</nav>
-->
{{{body}}}
</body>
</html>

View File

@@ -0,0 +1,7 @@
<h1>Slike:</h1>
{{#each photos}}
<h2>slika:</h2>
<img src="{{path}}" title="{{name}}" width="400"/><br/>
Objavil: <span>{{postedBy.username}}</span>
<hr/>
{{/each}}

View File

@@ -0,0 +1,8 @@
<h1>Dodaj sliko</h1>
<form action="/photos" method="post" enctype="multipart/form-data">
<input type="text" name="name" placeholder="ime slike" required>
<input type="file" name="image">
<div class="tp">
<input type="submit" value="Dodaj">
</div>
</form>

View File

@@ -0,0 +1,8 @@
<h1>Prijava</h1>
<form action="login" method="post">
<input type="text" name="username" placeholder="Uporabniško ime" required>
<input type="password" name="password" placeholder="Geslo" required>
<div class="tp">
<input type="submit" value="prijava">
</div>
</form>

View File

@@ -0,0 +1,6 @@
<h1>Profil uporabnika</h1>
<h2>Ime: </h2>
<h3>{{username}}</h3>
<h2>Mail:</h2>
<h3>{{email}}</h3>
<br><a type="button" href="logout">Odjava </a>

View File

@@ -0,0 +1,8 @@
<h1>Registracija</h1>
<form action="/users" method="post">
<input type="text" name="email" placeholder="E-mail" required="">
<input type="text" name="username" placeholder="Username" required="">
<input type="password" name="password" placeholder="Password" required="">
<input type="submit" value="REGISTER">
</form>