added min values to some input fields

This commit is contained in:
Naumann 2020-06-08 10:38:14 +02:00
parent 5844c84381
commit eeed88c693
5 changed files with 14 additions and 9 deletions

View file

@ -3,15 +3,20 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Katalog</title>
<title>Inventar</title>
<link rel="stylesheet" type="text/css" href="scss/style.css" media="screen" />
</head>
<body>
<div class="Titel">
<a href="index.html"><button id= "zurueck">zurück</button></a>
<h1>Inventar</h1>
</div>
<div class="Eingabe">
<h2>Eingabe</h2>
<form action="inventar_search.php">
<input type="number" name="BookId" class="input" placeholder="Zu welchem Buch möchten sie neue Exemplare hinnzufügen?">
<input type="number" name="Anzahl" class="input" placeholder="Wieviele Exemplare möchten sie hinzufügen?">
<input type="number" name="BookId" class="input" placeholder="Zu welchem Buch möchten sie neue Exemplare hinnzufügen?"min= "0">
<input type="number" name="Anzahl" class="input" placeholder="Wieviele Exemplare möchten sie hinzufügen?" min="0">
<input type="submit" name="go" id="go">
</form>
</div>

View file

@ -29,7 +29,7 @@
<option>EPaper</option>
</select>
<input type="url" name="ImageLink" class="input" placeholder="Bild">
<input type="number" name="LendTime" class="input" placeholder="Verteihdauer">
<input type="number" name="LendTime" class="input" placeholder="Verteihdauer"min ="0">
<select class="input" name="Category">
<option>Physical</option>
<option>Virtual</option>

View file

@ -3,13 +3,13 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Katalog</title>
<title>Inventar</title>
<link rel="stylesheet" type="text/css" href="scss/style.css" media="screen" />
</head>
<body>
<div class="Titel">
<a href="index.html"><button id= "zurueck">zurück</button></a>
<h1>Katalog</h1>
<h1>Inventar</h1>
</div>
<div class="Eingabe">

View file

@ -15,7 +15,7 @@
<div class="Eingabe">
<h2>Eingabe</h2>
<form action="catalogue_search.php">
<input type="text" name="ProductId" class="input" placeholder="id">
<input type="number" name="ProductId" class="input" placeholder="id" min= "0">
<input type="submit" name="go" id="go">
</form>
</div>

View file

@ -3,13 +3,13 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Katalog</title>
<title>Inventar</title>
<link rel="stylesheet" type="text/css" href="scss/OutputOnly.css" media="screen" />
</head>
<body>
<div class="Titel">
<a href="index.html"><button id= "zurueck">zurück</button></a>
<h1>Katalog</h1>
<h1>Inventar</h1>
</div>