backup everything to local gitea

This commit is contained in:
QkoSad committed 2025-07-16 12:21:06 +03:00
1 parent a8c3c8a705
commit d47e89aa6c
8 files changed
+3271 -3652

No files matched your search

Vendored
BIN
View File
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
A site for restaurant. Build in JS and bootstrap.
Build in the course https://www.coursera.org/learn/bootstrap-4
The course used an older version of node, so after update to v22.9.0 there are
some bugs present. Also the sass processor package has been deprecated.
To run it use the command:
```bash
npm start
```
Executable → Regular
View File
File mode changed.
+25 -38
View File
@@ -1,67 +1,54 @@
.row-header {
margin: 0px auto;
padding: 0px 0px;
}
padding: 0px 0px; }
.row-content {
margin: 0px auto;
padding: 50px 0px;
border-bottom: 1px ridge;
min-height: 400px;
}
min-height: 400px; }
.footer {
background-color: #d1c4e9;
background-color: #D1C4E9;
margin: 0px auto;
padding: 20px 0px;
}
padding: 20px 0px; }
.jumbotron {
margin: 0px auto;
padding: 70px 30px;
background: #9575cd;
color: floralwhite;
}
background: #9575CD;
color: floralwhite; }
address {
font-size: 80%;
margin: 0px;
color: #0f0f0f;
}
color: #0f0f0f; }
body {
padding: 50px 0px 0px 0px;
z-index: 0;
}
z-index: 0; }
.navbar-dark {
background-color: #512da8;
}
background-color: #512DA8; }
.tab-content {
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
padding: 10px;
}
padding: 10px; }
.carousel {
background: #512da8;
}
.carousel .carousel-item {
height: 300px;
}
.carousel .carousel-item img {
background: #512DA8; }
.carousel .carousel-item {
height: 300px; }
.carousel .carousel-item img {
position: absolute;
top: 0;
left: 0;
min-height: 300px;
}
min-height: 300px; }
#carouselButton {
right: 0px;
position: absolute;
bottom: 0px;
z-index: 1;
}
.modal .modal-header {
background: #512da8;
color: floralwhite;
}
.modal .modal-body {
background: #d1c4e9;
}
.modal .close {
color: #d1c4e9;
}
z-index: 1; }
+3
View File
@@ -499,5 +499,8 @@
$("#loginModal").modal("show");
});
</script>
</body>
</html>
+18
View File
@@ -0,0 +1,18 @@
$("#carouselButton").click(function () {
if ($("#carouselButton").children("span").hasClass("fa-pause")) {
$("#mycarousel").carousel("pause");
$("#carouselButton").children("span").removeClass("fa-pause");
$("#carouselButton").children("span").addClass("fa-play");
} else if ($("#carouselButton").children("span").hasClass("fa-play")) {
$("#mycarousel").carousel("cycle");
$("#carouselButton").children("span").removeClass("fa-play");
$("#carouselButton").children("span").addClass("fa-pause");
}
});
$("#reserveButton").click(function () {
$("#reservationModal").modal("show");
});
$("#loginButton").click(function () {
$("#loginModal").modal("show");
});
+3210 -3607
View File
File diff suppressed because it is too large. Load diff
+7 -7
View File
@@ -11,15 +11,15 @@
},
"author": "",
"license": "ISC",
"devDependencies": {
"lite-server": "^2.3.0",
"node-sass": "^7.0.3"
},
"dependencies": {
"bootstrap": "^4.0.0",
"bootstrap": "^5.3.3",
"bootstrap-social": "^5.1.1",
"font-awesome": "^4.7.0",
"jquery": "^3.3.1",
"popper.js": "^1.12.9"
"jquery": "^3.7.1",
"popper.js": "^1.16.1"
},
"devDependencies": {
"lite-server": "^2.6.1",
"node-sass": "^9.0.0"
}
}