Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Handlee&family=Montserrat:wght@300;400&family=Roboto:wght@300;400&family=Space+Mono&display=swap" rel="stylesheet">
- <title> Library </title>
- <style>
- * {
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- font-family: "Roboto", sans-serif;
- }
- body {
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- }
- main {
- padding: 1rem;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- gap: 0.5rem;
- flex: 1 0;
- width: 100%;
- }
- main form {
- width: 100%;
- max-width: 500px;
- padding: 1rem;
- margin-top: 2rem ;
- background: #eee;
- border-radius: 10px;
- display: flex;
- flex-direction: column;
- gap: 0.5rem;
- }
- main form label {
- display: flex;
- flex-direction: column;
- gap: 0.25rem;
- }
- footer {
- background-color: indigo;
- padding: 1rem;
- display: flex;
- justify-content: center;
- align-items: center;
- color: white;
- font-size: 0.8rem;
- }
- </style>
- </head>
- <body>
- <main>
- <h1> Library (<a href="/library/all"> Ver Libros </a>) </h1>
- <h2> 23/03/2023 14:00 </h2>
- <form action="/library/add">
- <label for="isbn-field">
- ISBN:
- <input type="text" name="isbn" id="isbn-field">
- </label>
- <label for="title-field">
- Title:
- <input type="text" name="title" id="title-field">
- </label>
- <label for="owner-field">
- Owner:
- <input type="text" name="owner" id="owner-field">
- </label>
- <input type="submit" value="Register">
- </form>
- </main>
- <footer>
- Copyright @ DouglasHdezT, 2023
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement