Skip to content
Snippets Groups Projects
Select Git revision
  • 760c46e8e764269ab89b9432b55e04afc793cd7c
  • main default protected
  • 0.1 protected
3 results

common.hpp

Blame
  • addItem.html 1.75 KiB
    <!DOCTYPE html>
    <html lang="en">
        <head>
            <meta charset="utf-8">
            <title>Add item</title>
            <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
        </head>
        <body>
            <header>
    
            </header>
            <main>
                <form class="container-fluid" action="{{ url_for('views.add_item') }}" method="POST">
                    <div class="container">
                        <div class="mb-3">
                            <label for="email" class="form-label">Email address</label>
                            <input type="email" class="form-control" id="email" name="email" aria-describedby="emailHelp">
                        </div>
                        <div class="mb-3">
                            <label for="nItem" class="form-label">Item's name</label>
                            <input type="text" class="form-control" id="nItem" name="nItem">
                        </div>
                        <div class="mb-3">
                            <label for="description" class="form-label">Description</label>
                            <textarea class="form-control" id="description" name="description" maxlength="700"></textarea>
                        </div>
                        <div class="mb-3">
                            <label for="sPrice" class="form-label">Starting price</label>
                            <input type="number" class="form-control" id="sPrice" name="sPrice" min="0" max="100000000">
                        </div>
                        <button type="submit" class="btn btn-primary">Submit</button>
                    </div>
                </form>
            </main>
            <footer>
    
            </footer>
        </body>
    </html>