-
+
Ульяновский Государственный Политехнический Университет
diff --git a/Lab3/Statement3/Statement3.docx b/Lab3/Statement3/Statement3.docx
index 45f2268..d7b2653 100644
Binary files a/Lab3/Statement3/Statement3.docx and b/Lab3/Statement3/Statement3.docx differ
diff --git a/Lab3/admin.html b/Lab3/admin.html
index 3c3151e..a6e46e0 100644
--- a/Lab3/admin.html
+++ b/Lab3/admin.html
@@ -74,10 +74,6 @@
alt="placeholder">
-// // но не атрибуты
-// cntrls.itemDate.innerHTML = "";
-// // пустое значение
-// cntrls.itemDate.appendChild(createItemsOption("Выберите значение", "", true));
-// // цикл по результату ответа от сервера
-// // используется лямбда-выражение
-// // (item) => {} аналогично function(item) {}
-// data.forEach((item) => {
-// cntrls.itemDate.appendChild(createItemsOption(item.name, item.id));
-// });
-// }
-
async function drawLinesTable() {
console.info("Try to load data");
if (!cntrls.table) {
@@ -302,7 +283,6 @@ export async function UpdateNews() {
data.forEach((item) => {
cntrls.form.addEventListener("submit", async (event) => {
- // console.info("Form on Submit231");
event.preventDefault();
event.stopPropagation();
});
diff --git a/Lab4/Statement4/Statement4.docx b/Lab4/Statement4/Statement4.docx
new file mode 100644
index 0000000..476fccf
Binary files /dev/null and b/Lab4/Statement4/Statement4.docx differ
diff --git a/Lab4/package-lock.json b/Lab4/package-lock.json
index 374b55b..dad1eb8 100644
--- a/Lab4/package-lock.json
+++ b/Lab4/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "lec4",
+ "name": "ulstu",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "lec4",
+ "name": "ulstu",
"version": "0.0.0",
"dependencies": {
"bootstrap": "^5.3.2",
diff --git a/Lab4/package.json b/Lab4/package.json
index ceea5ff..3ce2689 100644
--- a/Lab4/package.json
+++ b/Lab4/package.json
@@ -1,5 +1,5 @@
{
- "name": "lec4",
+ "name": "ulstu",
"private": true,
"version": "0.0.0",
"type": "module",
diff --git a/Lab4/public/favicon.svg b/Lab4/public/favicon.svg
deleted file mode 100644
index 7e1bd9a..0000000
--- a/Lab4/public/favicon.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
\ No newline at end of file
diff --git a/Lab4/src/components/banner/Banner.css b/Lab4/src/components/banner/Banner.css
deleted file mode 100644
index a15107b..0000000
--- a/Lab4/src/components/banner/Banner.css
+++ /dev/null
@@ -1,25 +0,0 @@
-#banner {
- margin: 2px;
- display: flex;
- align-items: center;
- flex-direction: column;
-}
-
-#banner img {
- border: 1px solid #3c3c3f;
- border-radius: 5px;
-}
-
-#banner img.banner-show {
- width: 100%;
- opacity: 1;
- transition: opacity 1s, visibility 0s;
-}
-
-#banner img.banner-hide {
- height: 0;
- width: 0;
- opacity: 0;
- visibility: hidden;
- transition: opacity 1s, visibility 0s 1s;
-}
\ No newline at end of file
diff --git a/Lab4/src/components/banner/Banner.jsx b/Lab4/src/components/banner/Banner.jsx
deleted file mode 100644
index 7386227..0000000
--- a/Lab4/src/components/banner/Banner.jsx
+++ /dev/null
@@ -1,40 +0,0 @@
-import { useEffect, useState } from 'react';
-import banner1 from '../../assets/banner1.png';
-import banner2 from '../../assets/banner2.png';
-import banner3 from '../../assets/banner3.png';
-import './Banner.css';
-
-const Banner = () => {
- const [currentBanner, setCurrentBanner] = useState(0);
- const banners = [banner1, banner2, banner3];
-
- const getBannerClass = (index) => {
- return currentBanner === index ? 'banner-show' : 'banner-hide';
- };
-
- useEffect(() => {
- const bannerInterval = setInterval(
- () => {
- console.info('Banner changed');
- let current = currentBanner + 1;
- if (current === banners.length) {
- current = 0;
- }
- setCurrentBanner(current);
- },
- 5000,
- );
- return () => clearInterval(bannerInterval);
- });
-
- return (
-
- {
- banners.map((banner, index) =>
-
)
- }
-
- );
-};
-
-export default Banner;