Prześlij pliki do 'templates'
This commit is contained in:
parent
5ae38fd936
commit
bb52d8a78f
@ -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,10 +47,12 @@
|
||||
{% 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ę">
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user