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
60a11fd0
Commit
60a11fd0
authored
Apr 07, 2015
by
Daniel W Bond
Browse files
lookout formatting
parent
15e52af6
Changes
4
Hide whitespace changes
Inline
Side-by-side
bookshare/core/templates/profile.html
View file @
60a11fd0
...
...
@@ -140,7 +140,7 @@ SRCT Bookshare • {{ student.user.first_name }} {{ student.user.last_name }}
<tr>
{% endif %}
<td
class=
"text-center"
><h5>
{{ bid.listing.isbn }}
</h5></td>
<td
class=
"text-center"
><h5><a
href=
"{{ bid.listing.get_absolute_url }}"
>
{{ bid.listing.isbn|isbn_name }}
<a/></h5></td>
<td
class=
"text-center"
><h5><a
href=
"{{ bid.listing.get_absolute_url }}"
>
{{ bid.listing.isbn|isbn_name
|title
}}
<a/></h5></td>
<td
class=
"text-center"
><h5>
${{ bid.price }}
</h5></td>
{% endfor %}
</tbody>
...
...
@@ -178,7 +178,7 @@ SRCT Bookshare • {{ student.user.first_name }} {{ student.user.last_name }}
{% for lookout in lookouts %}
<tr>
<td
class=
"text-center"
><h5>
{{ lookout.isbn }}
</h5></td>
<td
class=
"text-center"
><h5><a
href=
"{{ lookout.get_absolute_url }}"
>
{{ lookout.isbn|isbn_name }}
<a/></h5></td>
<td
class=
"text-center"
><h5><a
href=
"{{ lookout.get_absolute_url }}"
>
{{ lookout.isbn|isbn_name
|title
}}
<a/></h5></td>
<td
class=
"text-center"
><h5><a
href=
"{% url 'delete_lookout' lookout.slug %}"
><span
class=
"label label-danger"
>
Delete
</span></a></h5></td>
{% endfor %}
</tbody>
...
...
bookshare/lookouts/templates/delete_lookout.html
View file @
60a11fd0
...
...
@@ -12,7 +12,7 @@ SRCT Bookshare • Delete Lookout
<div
class=
"row text-center"
>
<form
action=
""
method=
"post"
>
{% csrf_token %}
<h3>
Are you sure you want to delete your lookout for
<em>
{{ lookout.isbn|isbn_name }}
</em>
?
</h3>
<h3>
Are you sure you want to delete your lookout for
<em>
{{ lookout.isbn|isbn_name
|title
}}
</em>
?
</h3>
<input
type=
"submit"
value=
"Confirm"
class=
"btn btn-danger btn-sm"
/>
<input
type=
"cancel"
value=
"Never Mind"
class=
"btn btn-default btn-sm"
onclick=
"history.back()"
/>
</form>
...
...
bookshare/lookouts/templates/detail_lookout.html
View file @
60a11fd0
...
...
@@ -12,7 +12,7 @@ SRCT Bookshare • Lookouts
<div
class=
"row"
>
<div
class=
"col-sm-12 text-center"
>
<h1><strong>
SRCT
</strong>
​
BOOKSHARE
</h1>
<p
class=
"lead"
><strong>
Your lookout for
<em>
{{ lookout.isbn|isbn_name }}
</em>
.
</strong></p>
<p
class=
"lead"
><strong>
Your lookout for
<em>
{{ lookout.isbn|isbn_name
|title
}}
</em>
.
</strong></p>
<a
href=
"{% url 'delete_lookout' lookout.slug %}"
><button
type=
"button"
class=
"btn btn-danger btn-xs"
>
Delete this Lookout
</button></a>
</div>
</div>
...
...
bookshare/templates/index.html
View file @
60a11fd0
...
...
@@ -25,7 +25,7 @@ SRCT Bookshare • Homepage
{% if lookouts %}
{% for lookout in lookouts %}
<legend><i
class=
"fa fa-book"
></i>
<a
href=
"{{ lookout.get_absolute_url }}"
>
{{ lookout.isbn|isbn_name }}
</a></legend>
<legend><i
class=
"fa fa-book"
></i>
<a
href=
"{{ lookout.get_absolute_url }}"
>
{{ lookout.isbn|isbn_name
|title
}}
</a></legend>
<div
class=
"row"
>
{% for listing in lookout.get_listings %}
{% if not listing.cancelled or listing.sold %}
...
...
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