W10 done
This commit is contained in:
parent
a449bbb4c5
commit
c045c7b30d
4 changed files with 250 additions and 0 deletions
118
w10/index.html
Normal file
118
w10/index.html
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
<!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">
|
||||
<title>Картинкогенератор</title>
|
||||
|
||||
<link href="/assets/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<main>
|
||||
<div class="container py-4">
|
||||
<header class="pb-3 mb-4 border-bottom">
|
||||
<a href="/" class="d-flex align-items-center text-dark text-decoration-none">
|
||||
<span class="fs-4">Картинкогенератор</span>
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<div wizardPage="1" class="row align-items-md-stretch">
|
||||
<div class="col">
|
||||
<div class="h-100 p-5 text-white bg-dark rounded-3">
|
||||
<h2>Какой текст вы хотите нанести на картинку?</h2>
|
||||
|
||||
<div class="my-3">
|
||||
<label for="inputText" class="form-label">Мой текст</label>
|
||||
<input type="text" class="form-control" id="inputText" placeholder="Lorem ipsum dolor sit amet..." required>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-info" type="button" wizardCurrent="1" wizardNext="2">Дальше</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div wizardPage="2" class="row align-items-md-stretch" hidden>
|
||||
<div class="col">
|
||||
<div class="h-100 p-5 text-white bg-dark rounded-3">
|
||||
<h2>Теперь давайте настроим внешний вид текста</h2>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label for="inputFontSize" class="col-sm-2 col-form-label">Размер текста</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="number" class="form-control" id="inputFontSize" value="40" placeholder="Размер текста" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="inputColor" class="col-sm-2 col-form-label">Цвет текста</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="color" value="#FFFFFF" class="form-control h-100" id="inputColor" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-5">
|
||||
<div class="col-auto">
|
||||
<button class="btn btn-warning" type="button" wizardCurrent="2" wizardNext="1">Назад</button>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button class="btn btn-info" type="button" wizardCurrent="2" wizardNext="3">Дальше</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div wizardPage="3" class="row align-items-md-stretch" hidden>
|
||||
<div class="col">
|
||||
<div class="h-100 p-5 text-white bg-dark rounded-3">
|
||||
<h2>Добавим фоновое изображение?</h2>
|
||||
<p>Вставьте в поле ниже идентификатор изображения с Unsplash. Можете оставить "random" для случайной кратинки.</p>
|
||||
|
||||
<div class="my-3">
|
||||
<label for="inputUnsplashID" class="form-label">UnsplashID</label>
|
||||
<input type="text" class="form-control" id="inputUnsplashID" value="random" placeholder="https://unsplash.com/photos/{UnsplashID}" required>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row g-5">
|
||||
<div class="col-auto">
|
||||
<button class="btn btn-warning" type="button" wizardCurrent="3" wizardNext="2">Назад</button>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button class="btn btn-success" type="button" wizardCurrent="3" wizardNext="4">Создать картинку!</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div wizardPage="4" class="row align-items-md-stretch" hidden>
|
||||
<div class="col">
|
||||
<div class="container-fluid py-5 text-center">
|
||||
<div id="beforeImage">
|
||||
<h1 class="display-5 fw-bold m-0">Секундочку...</h1>
|
||||
<div class="spinner-border m-5" role="status">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="imageHolder" hidden>
|
||||
<img class="mb-2" src>
|
||||
<div class="row g-5">
|
||||
<button class="btn btn-success col" type="button" onclick="javascript:location.reload()">Создать новую картинку</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="pt-3 mt-4 text-muted border-top">
|
||||
© 2022
|
||||
</footer>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
<script src="/assets/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
|
||||
<script src="/app.js"></script>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue