Gitlab@Informatics
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
project-melon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
65160381
project-melon
Commits
cd924e2b
Commit
cd924e2b
authored
2 months ago
by
65160381
Browse files
Options
Downloads
Patches
Plain Diff
Update 2 files
- /views/order.ejs - /views/index.ejs
parent
d1105dbf
No related branches found
No related tags found
No related merge requests found
Pipeline
#533
passed with warnings
2 months ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
views/index.ejs
+111
-31
111 additions, 31 deletions
views/index.ejs
views/order.ejs
+165
-0
165 additions, 0 deletions
views/order.ejs
with
276 additions
and
31 deletions
views/index.ejs
+
111
−
31
View file @
cd924e2b
...
...
@@ -62,46 +62,125 @@
</ul>
</div>
</nav>
</div>
<!--header section end -->
<!-- Add Product section start -->
<div
class=
"add_product_section layout_padding"
>
<div
class=
"container"
>
<h1
class=
"gallery_taital"
>
Add New Product
</h1>
<form
action=
"/product/add"
method=
"POST"
enctype=
"multipart/form-data"
>
<!-- Show error message -->
<
%
if
(
message
&&
message.length
>
0) { %>
<div
class=
"alert alert-danger"
role=
"alert"
>
<
%=
message
%
>
</div>
<
%
}
%
>
<div
class=
"form-floating mb-3"
>
<label
for=
"productName"
>
Product Name
</label>
<input
type=
"text"
class=
"form-control"
id=
"productName"
name=
"product_name"
placeholder=
"Product Name"
required
>
<!-- banner section start -->
<div
class=
"banner_section layout_padding"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"/order"
>
Add Product
</a>
</li>
</div>
<!-- banner section end -->
<div
class=
"form-floating mb-3"
>
<label
for=
"productDescription"
>
Product Description
</label>
<textarea
class=
"form-control"
id=
"productDescription"
name=
"product_description"
placeholder=
"Product Description"
required
></textarea>
<!-- gallery section start -->
<div
class=
"gallery_section layout_padding"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<h1
class=
"gallery_taital"
>
Our Gallery
</h1>
<p
class=
"gallery_text"
>
Lorem Ipsum is simply dummy text of printing typesetting ststry lorem Ipsum the industry'ndard dummy text ever since of the 1500s, when an unknown printer took a galley of type and scra make a type specimen book. It has
</p>
</div>
<div
class=
"form-floating mb-3"
>
<label
for=
"productPrice"
>
Product Price
</label>
<input
type=
"number"
class=
"form-control"
id=
"productPrice"
name=
"product_price"
placeholder=
"Product Price"
required
>
</div>
<div
class=
"form-floating mb-3"
>
<label
for=
"productImage"
>
Product Image
</label>
<input
type=
"file"
class=
"form-control"
id=
"productImage"
name=
"product_image"
required
>
<div
class=
""
>
<div
class=
"gallery_section_2"
>
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-1.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-2.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-3.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"gallery_section_2"
>
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-4.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-5.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
<button
class=
"btn btn-primary w-100 py-2"
type=
"submit"
>
Add Product
</button>
</form>
</div>
</div>
<!-- Add Product section end -->
</div>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-6.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"gallery_section_2"
>
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-7.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-8.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
</div>
</div>
<div
class=
"col-md-4"
>
<div
class=
"container_main"
>
<img
src=
"images/img-9.png"
alt=
"Avatar"
class=
"image"
>
<div
class=
"overlay"
>
<div
class=
"text"
><a
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"seemore_bt"
><a
href=
"#"
>
See More
</a></div>
</div>
</div>
<!-- gallery section end -->
<!-- footer section start -->
<div
class=
"footer_section layout_padding"
>
...
...
@@ -119,6 +198,7 @@
</ul>
</div>
</div>
<div
class=
"col-lg-3 col-sm-6"
>
<h1
class=
"useful_text"
>
Contact Us
</h1>
<div
class=
"location_text"
>
...
...
This diff is collapsed.
Click to expand it.
views/order.ejs
0 → 100644
+
165
−
0
View file @
cd924e2b
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<!-- basic -->
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<!-- mobile metas -->
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"initial-scale=1, maximum-scale=1"
>
<!-- site metas -->
<title>
ASA
</title>
<meta
name=
"keywords"
content=
""
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
<!-- bootstrap css -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/bootstrap.min.css"
>
<!-- style css -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
>
<!-- Responsive-->
<link
rel=
"stylesheet"
href=
"css/responsive.css"
>
<!-- fevicon -->
<link
rel=
"icon"
href=
"images/fevicon.png"
type=
"image/gif"
/>
<!-- Scrollbar Custom CSS -->
<link
rel=
"stylesheet"
href=
"css/jquery.mCustomScrollbar.min.css"
>
<!-- Tweaks for older IEs-->
<link
rel=
"stylesheet"
href=
"https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"
>
<!-- owl stylesheets -->
<link
rel=
"stylesheet"
href=
"css/owl.carousel.min.css"
>
<link
rel=
"stylesheet"
href=
"css/owl.theme.default.min.css"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.css"
media=
"screen"
>
</head>
<body>
<!--header section start -->
<div
class=
"header_section"
>
<nav
class=
"navbar navbar-expand-lg navbar-light bg-dark"
>
<div
class=
"logo"
><a
href=
"/"
><img
src=
"images/logo.png"
></a></div>
<button
class=
"navbar-toggler"
type=
"button"
data-toggle=
"collapse"
data-target=
"#navbarNav"
aria-controls=
"navbarNav"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
<span
class=
"navbar-toggler-icon"
></span>
</button>
<div
class=
"collapse navbar-collapse"
id=
"navbarNav"
>
<ul
class=
"navbar-nav ml-auto"
>
<li
class=
"nav-item active"
>
<a
class=
"nav-link"
href=
"/"
>
Home
</a>
</li>
<
%
if
(
loggedIn
)
{
%
>
<li
class=
"nav-item"
>
<a
class=
"nav-link text-danger"
href=
"/logout"
>
Logout
</a>
</li>
<
%
}
%
>
<
%
if
(!
loggedIn
)
{
%
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"/login"
>
Login
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"/register"
>
Register
</a>
</li>
<
%
}
%
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"#"
><i
class=
"fa fa-search"
aria-hidden=
"true"
></i></a>
</li>
</ul>
</div>
</nav>
</div>
<!--header section end -->
<!-- Add Product section start -->
<div
class=
"add_product_section layout_padding"
>
<div
class=
"container"
>
<h1
class=
"gallery_taital"
>
Add New Product
</h1>
<form
action=
"/product/add"
method=
"POST"
enctype=
"multipart/form-data"
>
<!-- Show error message -->
<
%
if
(
message
&&
message.length
>
0) { %>
<div
class=
"alert alert-danger"
role=
"alert"
>
<
%=
message
%
>
</div>
<
%
}
%
>
<div
class=
"form-floating mb-3"
>
<label
for=
"productName"
>
Product Name
</label>
<input
type=
"text"
class=
"form-control"
id=
"productName"
name=
"product_name"
placeholder=
"Product Name"
required
>
</div>
<div
class=
"form-floating mb-3"
>
<label
for=
"productDescription"
>
Product Description
</label>
<textarea
class=
"form-control"
id=
"productDescription"
name=
"product_description"
placeholder=
"Product Description"
required
></textarea>
</div>
<div
class=
"form-floating mb-3"
>
<label
for=
"productPrice"
>
Product Price
</label>
<input
type=
"number"
class=
"form-control"
id=
"productPrice"
name=
"product_price"
placeholder=
"Product Price"
required
>
</div>
<div
class=
"form-floating mb-3"
>
<label
for=
"productImage"
>
Product Image
</label>
<input
type=
"file"
class=
"form-control"
id=
"productImage"
name=
"product_image"
required
>
</div>
<button
class=
"btn btn-primary w-100 py-2"
type=
"submit"
>
Add Product
</button>
</form>
</div>
</div>
<!-- Add Product section end -->
<!-- footer section start -->
<div
class=
"footer_section layout_padding"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-lg-3 col-sm-6"
>
<h3
class=
"useful_text"
>
About
</h3>
<p
class=
"footer_text"
>
Let's use our time to do good things and earn volunteer hours.
</p>
</div>
<div
class=
"col-lg-3 col-sm-6"
>
<h3
class=
"useful_text"
>
Menu
</h3>
<div
class=
"footer_menu"
>
<ul>
<li><a
href=
"/"
>
Home
</a></li>
</ul>
</div>
</div>
<div
class=
"col-lg-3 col-sm-6"
>
<h1
class=
"useful_text"
>
Contact Us
</h1>
<div
class=
"location_text"
>
<ul>
<li>
<a
href=
"#"
>
<i
class=
"fa fa-map-marker"
aria-hidden=
"true"
></i><span
class=
"padding_left_10"
>
Address : Loram Ipusm
</span>
</a>
</li>
<li>
<a
href=
"#"
>
<i
class=
"fa fa-phone"
aria-hidden=
"true"
></i><span
class=
"padding_left_10"
>
Call : +01 1234567890
</span>
</a>
</li>
<li>
<a
href=
"#"
>
<i
class=
"fa fa-envelope"
aria-hidden=
"true"
></i><span
class=
"padding_left_10"
>
Email : demo@gmail.com
</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- footer section end -->
<!-- copyright section start -->
<div
class=
"copyright_section"
>
<div
class=
"container"
>
<p
class=
"copyright_text"
>
@ASA 2025
</p>
</div>
</div>
<!-- copyright section end -->
<!-- Javascript files-->
<script
src=
"js/jquery.min.js"
></script>
<script
src=
"js/popper.min.js"
></script>
<script
src=
"js/bootstrap.bundle.min.js"
></script>
<script
src=
"js/jquery-3.0.0.min.js"
></script>
<script
src=
"js/plugin.js"
></script>
<!-- sidebar -->
<script
src=
"js/jquery.mCustomScrollbar.concat.min.js"
></script>
<script
src=
"js/custom.js"
></script>
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment