api / settings.html
DmitrMakeev's picture
Update settings.html
4a18aaf verified
raw
history blame
3.35 kB
<!doctype html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://unpkg.com/@vkontakte/vk-bridge/dist/browser.min.js"></script>
<script type="text/javascript" src="https://vk.com/js/api/openapi.js?169"></script>
</head>
<style>
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #f8f9fa;
font-family: Arial, sans-serif;
}
#focusis {
text-align: center;
margin-bottom: 20px;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
padding: 20px;
}
#contactForm {
max-width: 500px;
width: 100%;
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
}
input, select {
width: 100%;
padding: 10px;
margin-bottom: 5px;
border: 1px solid #ccc;
border-radius: 5px;
}
.form-check {
margin-bottom: 15px;
}
.form-check-input {
margin-right: 5px;
}
.btn-primary {
display: inline-block;
padding: 10px 20px;
color: #fff;
background-color: orange;
border: none;
border-radius: 5px;
cursor: pointer;
text-align: center;
text-decoration: none;
}
.btn-primary:hover {
background-color: darkorange;
}
.responsive-image {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="container">
<div id="focusis">
<h1>Привет ВК</h1>
</div>
<img src="https://via.placeholder.com/600x200" alt="Placeholder Image" class="responsive-image">
<div id="maaasg"></div>
<form id="contactForm">
<div class="form-group">
<label for="name">Имя</label>
<input type="text" id="name" required>
</div>
<div class="form-group">
<label for="phone">Телефон</label>
<input type="tel" id="phone" required>
</div>
<div class="form-group">
<label for="email">Почта</label>
<input type="email" id="email" required>
</div>
<div class="form-group">
<label for="options">Выберите опцию</label>
<select id="options">
<option>Опция 1</option>
<option>Опция 2</option>
<option>Опция 3</option>
</select>
</div>
<div class="form-check">
<input type="checkbox" id="newsletter">
<label for="newsletter">Согласен на рассылку</label>
</div>
<button type="submit" class="btn-primary">Отправить</button>
</form>
</div>
<script type="text/javascript" src="https://huggingface.co/spaces/vkatis/api/resolve/main/bundle.3ea86973b4b6c8f6c2bf.js"></script></body>
</html>