Prześlij pliki do 'templates'
This commit is contained in:
parent
d46c208009
commit
b5fc22d02d
@ -2,8 +2,41 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Admin</title>
|
||||
<link rel="stylesheet" href={{ url_for('static', filename='css/home.css') }} />
|
||||
<link rel="stylesheet" href={{ url_for('static', filename='css/topStyle.css') }} />
|
||||
</head>
|
||||
<body>
|
||||
<div id="title">
|
||||
<a href="/">
|
||||
<img id="logo" src= {{ url_for('static', filename='images/logo.png') }} />
|
||||
</a>
|
||||
<form>
|
||||
<input id="searchBox" type="text" name="searchQuery">
|
||||
<input id="searchButton" type="submit" value="Search">
|
||||
</form>
|
||||
|
||||
<div id="kart">
|
||||
<a class="link" href="/koszyk">
|
||||
<img src={{url_for('static', filename='images/koszyk_zakupowy.png')}} id="koszykIcon" />
|
||||
{{noOfItems}}
|
||||
</a>
|
||||
</div>
|
||||
{% if not loggedIn %}
|
||||
<div id="signInButton">
|
||||
<a class="link" href="/loginForm">Zaloguj się</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="dropdown">
|
||||
<button class="dropbtn">Cześć, <br>{{firstName}}</button>
|
||||
<div class="dropdown-content">
|
||||
<a href="/account/orders">Twoje zamówienie</a>
|
||||
<a href="/account/profile">Twój Profil</a>
|
||||
<hr>
|
||||
<a href="/logout">Wyloguj się</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<h2>Dodaj Produkt</h2>
|
||||
<form action="/addItem" method="POST" enctype="multipart/form-data">
|
||||
Nazwa: <input type="text" name="name"><br>
|
||||
|
Loading…
Reference in New Issue
Block a user