Prześlij pliki do 'templates'

This commit is contained in:
Sławomir Łopata 2023-02-20 17:26:59 +01:00
parent 5ae38fd936
commit bb52d8a78f
1 changed files with 7 additions and 4 deletions

View File

@ -4,6 +4,7 @@
<title>Zmień cenę</title>
<link rel="stylesheet" href={{url_for('static', filename='css/delete.css')}}>
<link rel="stylesheet" href={{ url_for('static', filename='css/topStyle.css') }} />
<script src={{ url_for('static', filename='js/checkprice.js') }}></script>
</head>
<body>
<div id="title">
@ -46,11 +47,13 @@
{% endif %}
</div>
<h2>Edytuj cenę przedmiotu:</h2>
<form action="/updateItem" method="POST" enctype="multipart/form-data">
<form action="/updateItem" method="POST" onsubmit="return validate()">
<p>Nazwa przedmiotu: <input type="text" name="name"></p>
<p>Nowa cena przedmiotu:<input type="number" name="price"></p>
<input type="submit" value="Zmień cenę">
</form>
<p>Stara cena przedmiotu:<input type="number" name="oldprice" id="OldPrice"></p>
<p>Nowa cena przedmiotu:<input type="number" name="price" id="NewPrice"></p>
<input type="submit" value="Zapisz">
</form>
<h2>Tabela z przedmiotami:</h2>
<table>
{% for i in range(6) %}