Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
bookshare
Commits
2aa40235
Commit
2aa40235
authored
Aug 24, 2015
by
Daniel W Bond
Browse files
created templates for creation and removal of bid flags
parent
9e53f167
Changes
2
Hide whitespace changes
Inline
Side-by-side
bookshare/trades/templates/create_bid_flag.html
0 → 100644
View file @
2aa40235
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Bookshare
•
{{ bid.listing.title }}
•
{{ bid.bidder.user.first_name }}'s Bid
•
Flag
{% endblock title %}
{% block content %}
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-lg-12 text-center"
>
<h1><strong>
SRCT
</strong>
​
BOOKSHARE
</h1>
<p
class=
"lead text-center"
><strong>
Flag {{ bid.bidder.user.get_full_name }}'s Bid for ${{ bid.price }} on {{ bid.listing.poster.user.get_full_name }}'s Listing
<em>
{{ bid.listing.title }}
</em></strong></p>
</div>
</div>
</div>
{% load crispy_forms_tags %}
<div
class=
"row"
>
<div
class=
"col-lg-8 col-lg-offset-2"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-body"
>
<div
class=
"row"
>
<div
class=
"col-md-10 col-md-offset-1"
>
{% crispy my_form %}
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock content %}
bookshare/trades/templates/delete_bid_flag.html
0 → 100644
View file @
2aa40235
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Bookshare
•
{{ bidflag.bid.listing.title }}
•
{{ bidflag.bid.bidder.user.first_name }}'s Bid
•
Remove Flag
{% endblock title %}
{% block content %}
<hr
/>
<div
class=
"row text-center"
>
<form
action=
""
method=
"post"
>
{% csrf_token %}
<h3>
Are you sure you want to remove your flag on {{ bidflag.bid.bidder.user.get_full_name }}'s Bid for ${{ bidflag.bid.price }} on {{ bidflag.bid.listing.poster.user.get_full_name }}'s listing
<em>
{{ bidflag.bid.listing.title }}
</em>
?
</h3>
<input
type=
"submit"
value=
"Confirm"
class=
"btn btn-danger btn-sm"
/>
<input
type=
"submit"
value=
"Never Mind"
class=
"btn btn-default btn-sm"
onclick=
"history.back()"
/>
</form>
</div>
<hr
/>
{% endblock content %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment