Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
php_value display_errors 1

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L]
2 changes: 1 addition & 1 deletion adminSide/config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php // Rememeber to change the username,password and database name to acutal values
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PASS','');
define('DB_PASS','root');
define('DB_NAME','restaurantDB');

//Create Connection
Expand Down
Binary file added assets/image/BurgerGrilling.mp4
Binary file not shown.
15 changes: 15 additions & 0 deletions css/stars.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.star-rating {
margin: 10px 0;
display: inline-block;
}
.star-rating li {
padding: 0;
}
.star-rating i {
font-size: 3em;
color: #ffc000;
}
.list-inline-item {
display: inline-block;
list-style-type: none;
}
111 changes: 111 additions & 0 deletions customerSide/css/style.css → css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,117 @@ p {
}
/* End Footer */

/* FOR REVIEWS */
#reviews .reviews {
flex-direction: column;
max-width: 1200px;
margin: 0 auto;
padding: 100px 0;
}

#reviews .container {
align-items: inherit !important;
justify-content: left !important;
}

#reviews-box {
margin-top: 10px;
padding: 50px;
overflow-x: hidden;
overflow-y: auto;
height: 250px;
}

.review {
outline: 1px solid black;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
margin-bottom: 20px;
padding: 10px;
}

.review h2 {
font-size: 3em;
display: inline-block;
margin-right: 10px;
}

#review-btn {
appearance: none;
background-color: #2ea44f;
border: 1px solid rgba(27, 31, 35, .15);
border-radius: 6px;
box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: flex;
font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
font-size: 3em;
font-weight: 600;
justify-content: center;
line-height: 20px;
margin-top: 20px;
padding: 20px 16px;
position: relative;
text-align: center;
text-decoration: none;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
white-space: nowrap;
}

#review-btn:focus:not(:focus-visible):not(.focus-visible) {
box-shadow: none;
outline: none;
}

#review-btn:hover {
background-color: #2c974b;
}

#review-btn:focus {
box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
outline: none;
}

#review-btn:disabled {
background-color: #94d3a2;
border-color: rgba(27, 31, 35, .1);
color: rgba(255, 255, 255, .8);
cursor: default;
}

#review-btn:active {
background-color: #298e46;
box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

/* Writing Reviews */
#review-writing label, input {
display: block;
}

#review-writing #title {
height: 30px;
width: 100%;
}

#review-writing label {
margin-top: 20px;
margin-bottom: 10px;
font-size: 2em;
color: #FFF;
}

#review-writing textarea {
font-family: Arial, Helvetica, sans-serif;
}

.rateYo {
margin-bottom: 15px;
}

/* Keyframes */
@keyframes hamburger_puls {
0% {
Expand Down
141 changes: 0 additions & 141 deletions customerSide/customerLogin/register_process.php

This file was deleted.

Loading