PIbd-21_Makarov_DV_Internet.../settings.html

120 lines
8.7 KiB
HTML
Raw Permalink Normal View History

2023-12-01 18:57:08 +04:00
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Настройки - Маркетплейс</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
2023-12-01 18:59:00 +04:00
<link rel="stylesheet" href="css/style.css">
<!--- https://stackoverflow.com/questions/9456289/how-to-make-a-div-visible-and-invisible-with-javascript --->
2023-12-01 18:57:08 +04:00
</head>
<body>
<header class="border-bottom ps-5 pe-5 sticky-top" style="background-color: #6376D7;">
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<button class="btn btn-main d-block d-sm-block d-md-none"
type="button" data-bs-toggle="offcanvas" data-bs-target="#staticBackdrop" aria-controls="staticBackdrop">
</button>
<a class="navbar-brand fs-3" href="/index.html" style="color: #ffffff;">Маркетплейс</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a href="/catalog.html" type="button" class="btn btn-main fs-5">Каталог</a>
</li>
</ul>
<form class="d-flex form-horizontal">
<input class="form-control me-2" type="search" placeholder="Поиск..." aria-label="Search" style="width: 40vw;">
<button class="btn btn-main me-2 fs-5" type="submit">Поиск</button>
</form>
<a href="/login.html" class="nav-link link-light">
<span class="fs-5" style="color: #ffffff;">Войти</span>
</a>
</div>
</div>
</nav>
</header>
<main class="container-fluid d-flex justify-content-center mt-5 mb-5">
<div class="offcanvas offcanvas-start" data-bs-backdrop="static" tabindex="-1" id="staticBackdrop" aria-labelledby="staticBackdropLabel"
style="max-width: 65%; background: #D1D9FF ">
<div class="offcanvas-header">
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Закрыть"></button>
</div>
<div class="offcanvas-body me-3 d-flex flex-column">
<button type="button" class="btn btn-main me-3 ms-3 mb-2" style="font-size: 20; min-height: 50px">Личные данные</button>
<button type="button" class="btn btn-main me-3 ms-3 mb-2" style="font-size: 20; min-height: 50px">Безопасность</button>
<button type="button" class="btn btn-main me-3 ms-3 mb-2" style="font-size: 20; min-height: 50px">Интерфейс</button>
<button type="button" class="btn btn-main me-3 ms-3 mb-2" style="font-size: 20; min-height: 50px">Помощь</button>
<button type="button" class="btn btn-quit mt-auto me-3 ms-3 mb-3" style="min-height: 65px; font-size: 20px; border-radius: 12px;">Выйти из аккаунта</button>
</div>
</div>
<div id="settings-menu" class="d-flex flex-column box me-3 xl-only">
<p class="mt-3 me-auto ms-auto mb-3 xl-only" style="font-size: 22; text-align: center;"> Настройки</p>
<button type="button" class="btn btn-main me-3 ms-3 mb-2 xl-only" style="font-size: 20; min-height: 50px">Личные данные</button>
<button type="button" class="btn btn-main me-3 ms-3 mb-2 xl-only" style="font-size: 20; min-height: 50px">Безопасность</button>
<button type="button" class="btn btn-main me-3 ms-3 mb-2 xl-only" style="font-size: 20; min-height: 50px">Интерфейс</button>
<button type="button" class="btn btn-main me-3 ms-3 mb-2 xl-only" style="font-size: 20; min-height: 50px">Помощь</button>
<button type="button" class="btn btn-quit mt-auto me-3 ms-3 mb-3 xl-only" style="min-height: 65px; font-size: 22px; border-radius: 12px;">Выйти из аккаунта</button>
</div>
<div id="personal-info" class="box d-flex flex-column">
<div>
<p class="mt-3 me-auto ms-5 mb-3" style="font-size: 22; text-align: left;">Личные данные</p>
</div>
<div class="d-flex flex-row flex-wrap">
<div class="ms-4 me-3">
<div class="mb-2 justify-content-center">
<label for="firstname" class="form-label">Имя</label>
<input id="firstname" class="form-control inputbox" placeholder="Имя" disabled> </input>
</div>
<div class="mb-2 justify-content-center">
<label for="lastname" class="form-label">Фамилия</label>
<input id="lastname" class="form-control inputbox" placeholder="Фамилия" disabled> </input>
</div>
<div class="mb-2 justify-content-center">
<label for="adress" class="form-label">Адрес доставки</label>
<input id="adress" class="form-control inputbox" placeholder="ул. ааа, 1" disabled> </input>
</div>
<div class="mb-2 justify-content-center">
<label for="telephone" class="form-label">Телефон</label>
<input id="telephone" class="form-control inputbox" placeholder="+7 (999) 999 99-99" disabled> </input>
</div>
</div>
<div class="ms-4 me-4">
<div class="mb-2 justify-content-center">
<label for="email" class="form-label">Почта</label>
<input id="email" class="form-control inputbox" placeholder="Почта" disabled> </input>
</div>
<div class="mb-2 justify-content-center">
<label for="card" class="form-label">Выбранная карта</label>
<input id="card" class="form-control inputbox" placeholder="** 9999" disabled> </input>
</div>
</div>
</div>
<div class="ms-4 mt-auto mb-3 d-flex align-items-end">
<button type="button" class="btn btn-main mt-4 me-5 ms-auto ps-5 pe-5" style="font-size: 20; height: 50px;">Сохранить</button>
</div>
</div>
</div>
</main>
<footer class="container-fluid py-5" style="background-color: #6376D7;">
<div class="row">
<div class="col-2 offset-1">
<ul class="nav flex-column">
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 link-light ">Контакты</a></li>
<li class="nav-item mb-2"><a href="./termsofuse.html" class="nav-link p-0 link-light">Пользовательское соглашение</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 link-light" >ЧаВо</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 link-light">О нас</a></li>
</ul>
</div>
<div class="col-6 offset-3" style="text-align: center; color: #ffffff;">
<p>© Маркетплейс,<br/> 2023 <br/> Все права защищены.</p>
</div>
</div>
</footer>
</body>
</html>