Added a table to display inventory on the home page; fixed the item add route

This commit is contained in:
2022-11-02 14:29:46 -04:00
parent 12770a995d
commit 1b46e7c3fb
4 changed files with 32 additions and 9 deletions

View File

@ -17,19 +17,19 @@
<div class="row">
<div class="columns twelve">
<label for="item_name">Item name:</label>
<input class="u-full-width" type="text" placeholder="My new item" id="item_name">
<input class="u-full-width" type="text" placeholder="My new item" id="item_name" name="item_name">
</div>
</div>
<div class="row">
<div class="six columns">
<label for="item_manufacturer">Manufacturer:</label>
<input class="u-full-width" type="text" placeholder="Manufacturer" id="item_manufacturer">
<input class="u-full-width" type="text" placeholder="Manufacturer" id="item_manufacturer" name="item_manufacturer">
</div>
<div class="six columns">
<label for="item_type">Item type</label>
<select class="u-full-width" id="item_type">
<select class="u-full-width" id="item_type" name="item_type">
<option value="cpu">Processor</option>
<option value="motherboard">Motherboard</option>
<option value="memory">Memory (RAM)</option>