Eingabe zu ner Form gemacht

This commit is contained in:
David Renner 2020-06-05 14:58:12 +02:00
parent f4020d8c07
commit a7b851a02d
3 changed files with 44 additions and 37 deletions

View file

@ -10,22 +10,41 @@
<div class="Titel">
<h1>Katalog</h1>
</div>
<!--
<div class="Eingabe">
<h2>Eingabe</h2>
<textarea name="Titel" class="text" placeholder="Titel"></textarea>
<textarea name="Author" class="text" placeholder="Author"></textarea>
<textarea name="Country" class="text" placeholder="Country"></textarea>
<textarea name="Link" class="text" placeholder="Link"></textarea>
<textarea name="Language" class="text" placeholder="Language"></textarea>
<textarea name="Pages" class="text" type="number" placeholder="Pages"></textarea>
<textarea name="Year" class="text" type="number" placeholder="Year"></textarea>
<textarea name="Category" class="text" placeholder="Category"></textarea>
<textarea name="ImageLink" class="text" placeholder="ImageLink"></textarea>
<textarea name="LendTime" class="text" type="number" placeholder="LendTime"></textarea>
<textarea name="LendType" class="text" placeholder="LendType"></textarea>
<button id="go">Go</button>
</div>
Das war die alte version. -->
<div class="Eingabe">
<h2>Eingabe</h2>
<textarea name="Titel" id="text" placeholder="Titel"></textarea>
<textarea name="Author" id="text" placeholder="Author"></textarea>
<textarea name="Country" id="text" placeholder="Country"></textarea>
<textarea name="Linnk" id="text" placeholder="Link"></textarea>
<textarea name="Language" id="text" placeholder="Language"></textarea>
<textarea name="Pages" id="text" placeholder="Pages"></textarea>
<textarea name="Year" id="text" placeholder="Year"></textarea>
<textarea name="Category" id="text" placeholder="Category"></textarea>
<textarea name="ImageLink" id="text" placeholder="ImageLink"></textarea>
<textarea name="LendTime" id="text" placeholder="LendTime"></textarea>
<textarea name="LendType" id="text" placeholder="LendType"></textarea>
<button id="go">Go</button>
<form action="catalogue_search.php">
<input type="text" name="Title" id="input" placeholder="Titel">
<input type="text" name="Author" id="input" placeholder="Autor">
<input type="text" name="Country" id="input" placeholder="Herkunft">
<input type="url" name="Link" id="input" placeholder="Link">
<input type="text" name="Language" id="input" placeholder="Sprache">
<input type="number" name="Pages" id="input" placeholder="Seiten">
<input type="date" name="Year" id="input" placeholder="Erscheinungsjahr"> <!-- Nur YYYY-->
<input type="text" name="Category" id="input" placeholder="Kategorie"> <!-- Nur Auswahl (per select?) -->
<input type="url" name="ImageLink" id="input" placeholder="Bild">
<input type="number" name="LendTime" id="input" placeholder="Verteihdauer">
<input type="text" name="LendType" id="input" placeholder="Verleihtyp">
<input type="submit" name="go" id="go">
</form>
</div>
<div class="Ausgabe">
<h2>Ausgabe</h2>

View file

@ -21,10 +21,10 @@
Buch im Katalog
<select name="selection" id="selection" onchange="location.assign(this.value);">
<option></option>
<option value=katalog/find.html>Finden</option>
<Option value="katalog/add.html">Hinzufügen</Option>
<option value="katalog/change.html">Bearbeiten</option>
<option value="katalog/delete.html">Löschen</option>
<option value=find.html>Finden</option>
<Option value="add.html">Hinzufügen</Option>
<option value="katalog.htm">Bearbeiten</option>
<option value="delete.html">Löschen</option>
</select>
</dd>
<dt>
@ -34,10 +34,10 @@
Buch im Inventar
<select name="selection" id="selection" onchange="location.assign(this.value);">
<option></option>
<option value=inventar/find.html>Finden</option>
<Option value="inventar/add.html">Hinzufügen</Option>
<option value="inventar/change.html">Bearbeiten</option>
<option value="inventar/delete.html">Löschen</option>
<option value=find.html>Finden</option>
<Option value="add.html">Hinzufügen</Option>
<option value="change.html">Bearbeiten</option>
<option value="delete.html">Löschen</option>
</select>
</dd>
<dt>
@ -47,10 +47,10 @@
Verleihvorgang
<select name="selection" id="selection" onchange="location.assign(this.value);">
<option></option>
<option value=verleihvorgang/find.html>Finden</option>
<Option value="verleihvorgang/add.html">Hinzufügen</Option>
<option value="verleihvorgang/change.html">Bearbeiten</option>
<option value="verleihvorgang/delete.html">Löschen</option>
<option value=find.html>Finden</option>
<Option value="add.html">Hinzufügen</Option>
<option value="change.html">Bearbeiten</option>
<option value="delete.html">Löschen</option>
</select>
</dd>
</form>

View file

@ -1,12 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Katalogeintrag ändern</title>
</head>
<body>
hier ändert man später mal einen Katalogeintrag.
<a href="../index.html">zurück</a>
</body>
</html>