init commit of new design

This commit is contained in:
Leon Noe Jovan
2021-11-16 18:45:20 +01:00
parent cead80ed79
commit 32fa0ad3a9
43 changed files with 2062 additions and 220 deletions

View File

@@ -3,63 +3,57 @@
<head>
<meta charset="UTF-8">
<title>Portal ŠOLAR</title>
<link rel="stylesheet" href="/static/style.css" type="text/css">
<link rel="stylesheet" href="/static/css/styles.css" type="text/css">
<link rel="stylesheet" href="/static/css/utils.css" type="text/css">
</head>
<body>
<div id="main-window">
<div id="rect1">
<div style="padding: 25px;">
<div id="logo-container">
<img src="/static/image/logo.svg" alt="logo"/>
</div>
<h1 id="title">Portal za oddajanje besedil</h1>
<h2 id="subtitle">Korpus Šolar</h2>
<div class="form-text"><em>Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje.</em></div>
<h3 id="title" style="font-size: 27px; text-align: left;">Prijava</h3>
<div>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div>
{{ messages[0] }}
</div>
{% endif %}
{% endwith %}
<form method="POST" action="../login">
<div>
<div>
<img src="../static/image/user.png" alt="user" style="float: left; width: 10%;"/>
<input type="email" name="email" placeholder="Email" autofocus=""
style="float: right; width: 85%; margin-bottom: 20px; margin-top: 10px;">
</div>
</div>
<div>
<div>
<img src="/static/image/password.png" alt="user" style="float: left; width: 10%; margin-top: 20px;"/>
<input type="password" name="password" placeholder="Geslo"
style="float: right; width: 85%; margin-bottom: 20px; margin-top: 10px;">
</div>
</div>
<button class="button-general" style="margin-top: 30px; margin-bottom: 20px;">PRIJAVA</button>
</form>
<a href="../forgotpass" class="contract-item-button">Pozabljeno geslo</a>
<a href="../register" class="contract-item-button"
style="-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
margin-top: 80px;
text-decoration: none;
color: #46535b;
width: 100%;"
><img src="../static/image/register.png" alt="user" style="float: left; width: 15%; margin-right: 25px;"/>
Registracija<br><div style="font-size: 11px; margin-top: 10px;">Še nimate uporabniškega računa? Registrirajte se!</div></a>
</div>
<div class="background">
<div class="panel login-panel">
<div class="panel-logo">
<img src="/static/image/logo.svg" alt="logo"/>
</div>
</div>
<div id="rect2" class="mock-side">
<h2 class="text-center">Portal za oddajanje besedil</h2>
<div class="line"></div>
<h1 class="text-center">Korpus ŠOLAR</h1>
<div class="text-center m-b-3"><em>Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje.</em></div>
<h1 class="m-b-3">Prijava</h1>
<div>
<form method="POST" action="../login" class="m-b-2">
<div class="input-wrapper">
<img src="../static/image/user.svg" alt="user" class="input-icon"/>
<div class="input-floating-label">
<input type="text" name="email">
<span class="floating-label">E-mail</span>
</div>
</div>
<div class="input-wrapper">
<img src="../static/image/password.svg" alt="user" class="input-icon"/>
<div class="input-floating-label">
<input type="password" name="password">
<span class="floating-label">Geslo</span>
</div>
</div>
<a href="../forgotpass" class="a-right m-b-1">Pozabljeno geslo</a>
<button class="btn" style="margin-left: 46px;">PRIJAVA</button>
</form>
</div>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="alert">
<img src="/static/image/alert.svg" alt="alert"/>
<p>{{ messages[0] }}</p>
</div>
{% endif %}
{% endwith %}
<a href="../register" class="register-button">
<img src="../static/image/register.svg" alt="register"/>
<h3>Registracija</h3>
<p>Še nimate uporabniškega računa? Registrirajte se!</p>
</a>
</div>
</div>
</body>