0% found this document useful (0 votes)
9 views4 pages

phytoncode

The document is an HTML template for 'Jollicious Food Park' featuring a header, navigation bar, and footer styled with Jollibee colors. It includes Bootstrap for responsive design and custom CSS for specific styling elements. Additionally, there is a section of Python code that handles form submissions to calculate the total cost of items added to a shopping cart.

Uploaded by

vivianpunay6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views4 pages

phytoncode

The document is an HTML template for 'Jollicious Food Park' featuring a header, navigation bar, and footer styled with Jollibee colors. It includes Bootstrap for responsive design and custom CSS for specific styling elements. Additionally, there is a section of Python code that handles form submissions to calculate the total cost of items added to a shopping cart.

Uploaded by

vivianpunay6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

<!

DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Jollicious Food Park</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap"
rel="stylesheet">
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet" integrity="sha384-
QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous">
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>

<!-- Custom CSS for Jollibee Style -->


<style>
.jollibee-header {
background-color: #D62300; /* Jollibee Red */
color: white;
padding: 10px 0;
}
.jollibee-header h2 {
color: #FFD600; /* Jollibee Yellow */
margin: 0;
font-family: 'Pacifico', cursive; /* Custom Font */
font-size: 2.5rem; /* Adjust font size as needed */
}
.logo-img {
width: 55px; /* Adjust width as needed */
height: 55px; /* Match height to make it square */
border-radius: 50%; /* Makes the image circular */
object-fit: cover; /* Ensures proper fit inside the circle */
}
.jollibee-nav .nav-link {
color: white !important;
}
.jollibee-nav .nav-link:hover {
background-color: #FFD600; /* Highlight on hover */
color: #D62300 !important;
}
</style>
</head>

<body>
<!-- Header and Navigation Bar with Jollibee Style -->
<div class="jollibee-header">
<div class="container d-flex justify-content-between align-items-center">
<!-- Left Side: Logo and Title -->
<div class="d-flex align-items-center">
<img src="images/prof.png" alt="Small Logo" class="logo-img me-2">
<h2 class="mb-0">Jollicious Food Park</h2>
</div>
<!-- Navigation Bar on the Right -->
<nav class="nav jollibee-nav">
<a class="nav-link" aria-current="page"
href="{{url_for('index')}}">Home</a>
<a class="nav-link" href="{{url_for('menu')}}">Menu</a>
<a class="nav-link" href="{{url_for('contact_us')}}">Contact Us</a>
</nav>
</div>
</div>

<!-- Footer -->


<footer class="jollibee-header text-center py-3">
<div class="container">
<small>&copy; 2024 Jollicious Food Park Corporation | All rights
reserved.</small>
</div>
</footer>
</body>
</html>

name2=request.form['name2']
cost2=request.form['cost2']
qty2=request.form['qty2']
list_carts.append([name2,cost2,qty2])
total_cost=total_cost+(float(cost2)*int(qty2))

name3=request.form['name3']
cost3=request.form['cost3']
qty3=request.form['qty3']
list_carts.append([name3,cost3,qty3])
total_cost=total_cost+(float(cost3)*int(qty3))

name4=request.form['name4']
cost4=request.form['cost4']
qty4=request.form['qty4']
list_carts.append([name4,cost4,qty4])
total_cost=total_cost+(float(cost4)*int(qty4))

name5=request.form['name5']
cost5=request.form['cost5']
qty5=request.form['qty5']
list_carts.append([name5,cost5,qty5])
total_cost=total_cost+(float(cost5)*int(qty5))

name6=request.form['name6']
cost6=request.form['cost6']
qty6=request.form['qty6']
list_carts.append([name6,cost6,qty6])
total_cost=total_cost+(float(cost6)*int(qty6))

name7=request.form['name7']
cost7=request.form['cost7']
qty7=request.form['qty7']
list_carts.append([name7,cost7,qty7])
total_cost=total_cost+(float(cost7)*int(qty7))

name8=request.form['name8']
cost8=request.form['cost8']
qty8=request.form['qty8']
list_carts.append([name8,cost8,qty8])
total_cost=total_cost+(float(cost8)*int(qty8))

name9=request.form['name9']
cost9=request.form['cost9']
qty9=request.form['qty9']
list_carts.append([name9,cost9,qty9])
total_cost=total_cost+(float(cost9)*int(qty9))

name10=request.form['name10']
cost10=request.form['cost10']
qty10=request.form['qty10']
list_carts.append([name10,cost10,qty10])
total_cost=total_cost+(float(cost10)*int(qty10))

name11=request.form['name11']
cost11=request.form['cost11']
qty11=request.form['qty11']
list_carts.append([name11,cost11,qty11])
total_cost=total_cost+(float(cost11)*int(qty11))

name12=request.form['name12']
cost12=request.form['cost12']
qty12=request.form['qty12']
list_carts.append([name12,cost12,qty12])
total_cost=total_cost+(float(cost12)*int(qty12))

name13=request.form['name13']
cost13=request.form['cost13']
qty13=request.form['qty13']
list_carts.append([name13,cost13,qty13])
total_cost=total_cost+(float(cost13)*int(qty13))

name14=request.form['name14']
cost14=request.form['cost14']
qty14=request.form['qty14']
list_carts.append([name14,cost14,qty14])
total_cost=total_cost+(float(cost14)*int(qty14))

name15=request.form['name15']
cost15=request.form['cost15']
qty15=request.form['qty15']
list_carts.append([name15,cost15,qty15])
total_cost=total_cost+(float(cost15)*int(qty15))

name16=request.form['name16']
cost16=request.form['cost16']
qty16=request.form['qty16']
list_carts.append([name16,cost16,qty16])
total_cost=total_cost+(float(cost16)*int(qty16))

name17=request.form['name17']
cost17=request.form['cost17']
qty17=request.form['qty17']
list_carts.append([name17,cost17,qty17])
total_cost=total_cost+(float(cost17)*int(qty17))

name18=request.form['name18']
cost18=request.form['cost18']
qty18=request.form['qty18']
list_carts.append([name18,cost18,qty18])
total_cost=total_cost+(float(cost18)*int(qty18))

name19=request.form['name19']
cost19=request.form['cost19']
qty19=request.form['qty19']
list_carts.append([name19,cost19,qty19])
total_cost=total_cost+(float(cost19)*int(qty19))

name20=request.form['name20']
cost20=request.form['cost20']
qty20=request.form['qty20']
list_carts.append([name20,cost20,qty20])
total_cost=total_cost+(float(cost20)*int(qty20))

name21=request.form['name21']
cost21=request.form['cost21']
qty21=request.form['qty21']
list_carts.append([name21,cost21,qty21])
total_cost=total_cost+(float(cost21)*int(qty21))

name22=request.form['name22']
cost22=request.form['cost22']
qty22=request.form['qty22']
list_carts.append([name22,cost22,qty22])
total_cost=total_cost+(float(cost22)*int(qty22))

name23=request.form['name23']
cost23=request.form['cost23']
qty23=request.form['qty23']
list_carts.append([name23,cost23,qty23])
total_cost=total_cost+(float(cost23)*int(qty23))

name24=request.form['name24']
cost24=request.form['cost24']
qty24=request.form['qty24']
list_carts.append([name24,cost24,qty24])
total_cost=total_cost+(float(cost24)*int(qty24))

name25=request.form['name25']
cost25=request.form['cost25']
qty25=request.form['qty25']
list_carts.append([name25,cost25,qty25])
total_cost=total_cost+(float(cost25)*int(qty25))

You might also like