Files
fb/app/static/admin.html
2018-05-08 23:33:13 +05:30

32 lines
1.5 KiB
HTML

<html>
<head><!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<body>
<h1>Welcome to Mini Amazon</h1>
<form action="/api/product" method="post">
<h3>Select operation type</h3>
<label for="operation_type">Select operation:</label>
<select class="form-control" id="operation_type" name="operation_type">
<option value="add">Add</option>
<option value="delete">Delete</option>
<option value="update">Update</option>
</select>
ID:<br>
<input type="text" name="_id" required><br>
Name:<br>
<input type="text" name="name" required><br>
Description:<br>
<input type="text" name="description" required><br>
Price:<br>
<input type="text" name="price" required><br>
<input type="submit">
</form>
</body>
</html>