Newer
Older
book-metadata-service / src / main / resources / templates / search.html
@malexple malexple 17 hours ago 1 KB add UI
<!DOCTYPE html>
<html lang="ru" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Поиск книги — Book Metadata Service</title>
    <th:block th:replace="~{fragments :: head-assets}"></th:block>
</head>
<body>

<nav th:replace="~{fragments :: nav}"></nav>

<main class="container">

    <h1>Поиск книги</h1>
    <p class="muted">Введите ISBN или название — поиск бесплатный и анонимный, не требует ключа.</p>

    <form id="searchForm">
        <fieldset role="group">
            <input type="text" id="queryInput" name="q" placeholder="ISBN или название книги" required autocomplete="off">
            <button type="submit" id="searchBtn">Искать</button>
        </fieldset>
    </form>

    <p id="status"></p>
    <div id="results"></div>

    <footer th:replace="~{fragments :: footer}"></footer>

</main>

<script src="/js/search.js" defer></script>
</body>
</html>