Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
frozen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CSE6
frozen
Commits
43716931
"git@gitlab.jyu.fi:tornhale/ohj2.git" did not exist on "be8213102480537062c916d6a8447681b306fa31"
Commit
43716931
authored
2 years ago
by
ratyann
Browse files
Options
Downloads
Patches
Plain Diff
listBid page
parent
c0ec2342
No related branches found
No related tags found
No related merge requests found
Pipeline
#14142
failed
2 years ago
Stage: build
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/tjts5901/templates/listBid.html
+53
-0
53 additions, 0 deletions
src/tjts5901/templates/listBid.html
src/tjts5901/views.py
+10
-0
10 additions, 0 deletions
src/tjts5901/views.py
with
63 additions
and
0 deletions
src/tjts5901/templates/listBid.html
0 → 100644
+
53
−
0
View file @
43716931
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Add item
</title>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin=
"anonymous"
>
</head>
<body>
<header>
</header>
<main>
<div
class=
"list-group container"
>
<div
class=
"d-flex w-100 justify-content-between mb-4"
>
<img
class=
"w-25"
src=
"Gaming_5000x3125.jpg"
alt=
"Image"
/>
<a
href=
"#"
class=
"list-group-item list-group-item-action"
aria-current=
"true"
>
<div
class=
"d-flex w-100 justify-content-between"
>
<h5
class=
"mb-1"
>
Item 1
</h5>
<small>
3 days ago
</small>
</div>
<p
class=
"mb-1"
>
Description
</p>
<small>
Current bid
</small>
</a>
</div>
<div
class=
"d-flex w-100 justify-content-between mb-4"
>
<img
class=
"w-25"
src=
"Gaming_5000x3125.jpg"
alt=
"Image"
/>
<a
href=
"#"
class=
"list-group-item list-group-item-action"
aria-current=
"true"
>
<div
class=
"d-flex w-100 justify-content-between"
>
<h5
class=
"mb-1"
>
Item 1
</h5>
<small>
3 days ago
</small>
</div>
<p
class=
"mb-1"
>
Description
</p>
<small>
Current bid
</small>
</a>
</div>
<div
class=
"d-flex w-100 justify-content-between mb-4"
>
<img
class=
"w-25"
src=
"Gaming_5000x3125.jpg"
alt=
"Image"
/>
<a
href=
"#"
class=
"list-group-item list-group-item-action"
aria-current=
"true"
>
<div
class=
"d-flex w-100 justify-content-between"
>
<h5
class=
"mb-1"
>
Item 1
</h5>
<small>
3 days ago
</small>
</div>
<p
class=
"mb-1"
>
Description
</p>
<small>
Current bid
</small>
</a>
</div>
</div>
</main>
<footer>
</footer>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/tjts5901/views.py
+
10
−
0
View file @
43716931
...
...
@@ -99,3 +99,13 @@ def add_item():
def
adding_successful
():
return
"
Item added successfully
"
@bp.route
(
"
/listBid
"
)
def
index
():
"""
listBid page.
"""
html
=
render_template
(
"
listBid.html
"
)
return
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