24 lines
783 B
Plaintext
24 lines
783 B
Plaintext
|
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
|
||
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>Add Computer</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>Add New Computer</h1>
|
||
|
<form action="/addComputer" method="post">
|
||
|
<label for="name">Name: </label><br>
|
||
|
<input type="text" id="name" name="name"><br><br>
|
||
|
<label for="price">Price: </label><br>
|
||
|
<input type="text" id="price" name="price"><br><br>
|
||
|
<label for="stock">Stock: </label><br>
|
||
|
<input type="text" id="stock" name="stock"><br><br>
|
||
|
<input type="submit" value="Add Computer">
|
||
|
</form>
|
||
|
<br>
|
||
|
<a href="/computerList">Back to List</a>
|
||
|
</body>
|
||
|
</html>
|