3 Commits
main ... 1Lab

Author SHA1 Message Date
f6754976df Загрузить файлы в «/» 2025-05-25 19:34:01 +04:00
a2531c5430 Загрузить файлы в «/» 2025-04-03 10:24:32 +04:00
RomaEredavkin
cf0091ed91 оно работает 2025-02-16 16:54:36 +04:00
24 changed files with 500 additions and 0 deletions

44
Album.html Normal file
View File

@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>СладкийАльбом</title>
<link rel="stylesheet" href="css/Style.css">
</head>
<body>
<img class="cover" src="src/cover.png" alt="Логотип SweetyDisk"/>
<div class="table-container">
<table>
<tr>
<td><a href="File.html" class="button">Файлы</a></td>
</tr>
<tr>
<td><a href="Photo.html" class="button">Фото</a></td>
</tr>
<tr>
<td><a href="Album.html" class="button">Альбом</a></td>
</tr>
<tr>
<td><a href="Basket.html" class="button">Корзина</a></td>
</tr>
<tr>
<td><a href="index.html" class="button">На главную</a></td>
</tr>
</table>
<button class="upload-button" onclick="document.getElementById('file-input').click()">Загрузить</button>
<input type="file" id="file-input" style="display: none;">
<a href="Password.html" class="login-button">Вход</a>
</div>
<div class="file-container">
<img src="src/Album.png">
<img src="src/Album1.png">
<img src="src/Album2.png">
</div>
</body>
</html>

46
Basket.html Normal file
View File

@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>СладкаяКорзинка</title>
<link rel="stylesheet" href="css/Style.css">
</head>
<body>
<img class="cover" src="src/cover.png" alt="Логотип SweetyDisk"/>
<div class="table-container">
<table>
<tr>
<td><a href="File.html" class="button">Файлы</a></td>
</tr>
<tr>
<td><a href="Photo.html" class="button">Фото</a></td>
</tr>
<tr>
<td><a href="Album.html" class="button">Альбом</a></td>
</tr>
<tr>
<td><a href="Basket.html" class="button">Корзина</a></td>
</tr>
<tr>
<td><a href="index.html" class="button">На главную</a></td>
</tr>
</table>
<button class="upload-button" onclick="document.getElementById('file-input').click()">Загрузить</button>
<input type="file" id="file-input" style="display: none;">
<a href="Password.html" class="login-button">Вход</a>
</div>
<div class="file-container">
<img src="src/Cart.png">
<img src="src/Cart1.png">
<img src="src/Cart2.png">
</div>
</body>
</html>

53
File.html Normal file
View File

@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Сладкие Файлы</title>
<link rel="stylesheet" href="css/Style.css">
</head>
<body>
<img class="cover" src="src/cover.png" alt="Логотип SweetyDisk"/>
<div class="table-container">
<table>
<tr>
<td><a href="File.html" class="button">Файлы</a></td>
</tr>
<tr>
<td><a href="Photo.html" class="button">Фото</a></td>
</tr>
<tr>
<td><a href="Album.html" class="button">Альбом</a></td>
</tr>
<tr>
<td><a href="Basket.html" class="button">Корзина</a></td>
</tr>
<tr>
<td><a href="index.html" class="button">На главную</a></td>
</tr>
</table>
<button class="upload-button" onclick="document.getElementById('file-input').click()">Загрузить</button>
<input type="file" id="file-input" style="display: none;">
<a href="Password.html" class="login-button">Вход</a>
</div>
<div class="file-container">
<div class="image-wrapper">
<img src="src/File.png">
<p>photo.png</p>
</div>
<div class="image-wrapper">
<img src="src/File2.png">
<p>Отп зачет.docx</p>
</div>
<div class="image-wrapper">
<img src="src/File3.png">
<p>Яндекс Музыка</p>
</div>
</div>
</body>
</html>

21
Password.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>СладкаяРегистрация</title>
<link rel="stylesheet" href="css/StylePass.css">
</head>
<body>
<!-- Окно входа -->
<div class="login-container">
<h2>Вход на СладкийДиск</h2>
<form class="login-form">
<input type="text" placeholder="Логин" required>
<input type="password" placeholder="Пароль" required>
<a href="index.html" class="login-button">Войти</a>
</form>
</div>
</body>
</html>

45
Photo.html Normal file
View File

@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>СладкоеФото</title>
<link rel="stylesheet" href="css/Style.css">
</head>
<body>
<!-- Обложка -->
<img class="cover" src="src/cover.png" alt="Логотип SweetyDisk"/>
<!-- Табличка с кнопками -->
<div class="table-container">
<table>
<tr>
<td><a href="File.html" class="button">Файлы</a></td>
</tr>
<tr>
<td><a href="Photo.html" class="button">Фото</a></td>
</tr>
<tr>
<td><a href="Album.html" class="button">Альбом</a></td>
</tr>
<tr>
<td><a href="Basket.html" class="button">Корзина</a></td>
</tr>
<tr>
<td><a href="index.html" class="button">На главную</a></td>
</tr>
</table>
<button class="upload-button" onclick="document.getElementById('file-input').click()">Загрузить</button>
<input type="file" id="file-input" style="display: none;">
<!-- Кнопка "Вход" -->
<a href="Password.html" class="login-button">Вход</a>
</div>
<div class="file-container">
<img src="src/photo.png">
<img src="src/pass.png">
<img src="src/con23.png">
<img src="src/cono.png">
</div>
</body>
</html>

172
css/Style.css Normal file
View File

@@ -0,0 +1,172 @@
/*Основной стиль */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #808080;
}
/* Стиль шапки*/
.cover {
display: block;
width: 100%;
max-height: 30vh;
object-fit: cover;
}
/* Стиль для таблицы с кнопками перехода на следующую страницу*/
.table-container {
position: absolute;
top: 350px;
right: 20px;
background-color: #fff;
padding: 10px;
border-radius: 4px;
box-shadow: 0 2px 6px rgba(223, 49, 167, 0.699);
}
/* Стиль таблицы */
table {
border-collapse: collapse;
width: 200px;
}
/*Стиль для кнопок в таблице*/
.button {
display: block;
padding: 10px 20px;
text-align: center;
background-color: #ff0088;
color: white;
text-decoration: none;
border-radius: 4px;
margin: 5px 0;
transition: background-color 0.3s ease;
}
/*закрашивание кнопок*/
.button:hover {
background-color: #ee80ee;
}
/* Стили для нового текстового блока */
.text-block {
text-align: center;
margin-top: 40px;
padding: 20px;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 2px 6px rgba(223, 49, 167, 0.699);
}
/*Стиль текста Заголовка основного текста*/
.text-block h2 {
color: #ee80ee;
font-size: 48px;
margin-bottom: 12px;
}
/*Cтиль для обычного текста в заголовке*/
.text-block p {
color: #ff0088;
font-size: 32px;
}
/* Стили для таблицы с подпиской */
.new-table-container {
margin-top: 40px;
max-width: 1300px;
margin-left: auto;
margin-right: auto;
}
.new-table-container table {
width: 100%;
border-collapse: collapse;
}
/* Стиль для колонок с расценками*/
.new-table-container th, .new-table-container td {
padding: 12px;
border: 1px solid #dddddd;
text-align: center;
color: #000;
background-color: #ff00ff;
}
.new-table-container th {
background-color: #ff0088;
color: white;
}
/* Стили для желтой кнопки "Загрузить" */
.upload-button {
padding: 10px 20px;
background-color: #ffcc00;
color: #000;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s ease;
margin-bottom: 10px;
}
.upload-button:hover {
background-color: #e6b800;
}
/* Стили для кнопки "Вход" */
.login-button {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s ease;
}
.login-button:hover {
background-color: #45a049; /* Темно-зеленый при наведении */
}
/*Стиль для блока где будут хранятся наши файлы*/
.file-container {
position: absolute;
top: 32%;
left: 5%;
width: 1500px;
max-height: 2500px;
background-color: #333;
border: 4px solid #ff0088;
border-radius: 8px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: flex-start;
color: #ff0088;
font-size: 32px;
font-weight: bold;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
overflow-y: auto;
overflow-x: hidden;
}
.file-container img {
max-width: 300px;
max-height: 300px;
object-fit: cover;
margin: 10px;
}
.image-wrapper {
display: flex;
flex-direction: column;
align-items: center;
margin: 10px;
}
.image-wrapper img {
max-width: 100%;
max-height: 300px;
object-fit: cover;
}
.image-wrapper p {
margin-top: 10px;
text-align: center;
font-size: 24px;
color: #ff0088;
}

62
css/StylePass.css Normal file
View File

@@ -0,0 +1,62 @@
/* Общие стили */
body {
margin: 0;
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
}
/* Окно входа */
.login-container {
background-color: rgba(255, 255, 255, 0.9);
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
width: 300px;
text-align: center;
}
h2 {
margin-bottom: 20px;
color: #333;
}
/* Форма */
.login-form {
display: flex;
flex-direction: column;
gap: 15px;
}
input {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
outline: none;
}
input:focus {
border-color: #ff0088;
}
/* Кнопка */
.login-button {
padding: 10px;
background-color: #ff0088;
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
text-align: center;
text-decoration: none;
transition: background-color 0.3s ease;
}
.login-button:hover {
background-color: #e60073;
}

57
index.html Normal file
View File

@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SweetyDisk</title>
<link rel="stylesheet" href="css/Style.css">
</head>
<body>
<img class="cover" src="src/cover.png" alt="Логотип SweetyDisk"/>
<div class="table-container">
<table>
<tr>
<td><a href="File.html" class="button">Файлы</a></td>
</tr>
<tr>
<td><a href="Photo.html" class="button">Фото</a></td>
</tr>
<tr>
<td><a href="Album.html" class="button">Альбом</a></td>
</tr>
<tr>
<td><a href="Basket.html" class="button">Корзина</a></td>
</tr>
</table>
<button class="upload-button" onclick="document.getElementById('file-input').click()">Загрузить</button>
<input type="file" id="file-input" style="display: none;">
<a href="Password.html" class="login-button">Вход</a>
</div>
<div class="text-block">
<h2>Добро пожаловать на SweetyDisk!</h2>
<p>Здесь вы сможете загружать и хранить важные для вас данные.</p>
<p>А самое главное по очень сладкой цене.</p>
</div>
<div class="new-table-container">
<table>
<tr>
<th colspan="3">Варианты Подписки</th>
</tr>
<tr>
<td>30 лет - 30.000 рублей - 30Тбайт</td>
<td>10 лет - 10.000 рублей - 10Тбайт</td>
<td>1 год - 1.000 рублей - 1Тбайт</td>
</tr>
</table>
</div>
</body>
</html>

BIN
src/Album.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
src/Album1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
src/Album2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
src/Cart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

BIN
src/Cart1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
src/Cart2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
src/File.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
src/File2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
src/File3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
src/con23.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 KiB

BIN
src/cono.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB

BIN
src/cover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

BIN
src/pass.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 KiB

BIN
src/photo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
Отчет_1.docx Normal file

Binary file not shown.

Binary file not shown.