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
2edc5974
Commit
2edc5974
authored
2 years ago
by
ratyann
Browse files
Options
Downloads
Patches
Plain Diff
fixing changes
parent
a59d397d
No related branches found
No related tags found
No related merge requests found
Pipeline
#14951
passed
2 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tjts5901/templates/listBid.php
+9
-9
9 additions, 9 deletions
src/tjts5901/templates/listBid.php
with
9 additions
and
9 deletions
src/tjts5901/templates/listBid.php
+
9
−
9
View file @
2edc5974
...
...
@@ -32,19 +32,19 @@
</header>
<main>
<div
class=
"list-group container"
>
<!--
for item in items
.items-->
{%
for item in items
%}
<div
class=
"d-flex w-100 justify-content-between mb-4"
>
<img
class=
" col-md-2 col-xs-2"
src=
"Gaming_5000x3125.jpg"
{{
item.image
}}
alt=
"Image"
/
>
<
div
class=
"list-group-item list-group-item-action"
aria-current=
"true"
>
<img
src=
"data:image/png;base64,{{ item.image_base64 }}"
>
<
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 name-->
Item 1
</h5>
<small>
<!--creation date-->
3 days ago
</small>
<h5
class=
"mb-1"
>
{{ item.title }}
</h5>
<small>
{{ item.created_at }}
</small>
</div>
<p
class=
"mb-1"
>
D
escription
</p>
<small>
Current bid
</small>
<p
class=
"mb-1"
>
{{ item.d
escription
}}
</p>
<small>
{{ item.starting_bid }}
</small>
<?php
$x
++
;
echo
"<div class=
\"
row
\"
><button id=
\"
button"
.
$x
.
"
\"
for=
\"
item"
.
$x
.
"
\"
class=
\"
col-md-2
\"
onclick=
\"
bid("
.
$x
.
")
\"
>Bid</button><form method=
\"
post
\"
action=
\"
#
\"
class=
\"
col-md-4
\"
><input id=
\"
item"
.
$x
.
"
\"
type=
\"
hidden
\"
min=
\"
{{starting
price
}}
\"
placeholder=
\"
press enter to validate
\"
/></form></div>"
;
echo
"<div class=
\"
row
\"
><button id=
\"
button"
.
$x
.
"
\"
for=
\"
item"
.
$x
.
"
\"
class=
\"
col-md-2
\"
onclick=
\"
bid("
.
$x
.
")
\"
>Bid</button><form method=
\"
post
\"
action=
\"
#
\"
class=
\"
col-md-4
\"
><input id=
\"
item"
.
$x
.
"
\"
type=
\"
hidden
\"
min=
\"
{{
item.
starting
_bid
}}
\"
placeholder=
\"
press enter to validate
\"
/></form></div>"
;
?>
</div>
<div
class=
"row justify-content-md-center"
>
...
...
@@ -67,7 +67,7 @@
</div>
</div>
<!--
end
for
-->
{%
endfor
%}
</div>
</main>
...
...
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