forked from keokilee/makahiki
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
520 additions
and
152 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,50 @@ | ||
{% load class_tags %} | ||
|
||
<div class="content-box"> | ||
<div class="content-box-title"> | ||
My Badges | ||
<a href="#" style="float: right"> | ||
<img src="{{ STATIC_URL}}/css/default/images/icon-help-sm.png" width="20" | ||
align="center" | ||
title="Click to get help about this window" | ||
onclick="toggleHelp('widget', 'my-badges'); return false;" | ||
/></a> | ||
</div> | ||
<div class="content-box"> | ||
{# <h5>Individual Badges</h5> #} | ||
<table> | ||
<tr> | ||
<th id="profile-user-badge-image-header"></th> | ||
<th>Badge</th> | ||
<th> | ||
Achievement | ||
</th> | ||
</tr> | ||
{% if user.badges_earned.count > 0 %} | ||
{% for awarded in user.badges_earned.all %} | ||
<tr> | ||
<td><img src="{{STATIC_URL}}{{awarded.badge.image}}"/></td> | ||
<td>{{ awarded.badge.name }}</td> | ||
<td>{{ awarded.badge.description.0 }}</td> | ||
</tr> | ||
{% endfor %} | ||
{% else %} | ||
<tr> | ||
<td colspan="3">You don't have any badges yet!</td> | ||
</tr> | ||
{% endif %} | ||
</table> | ||
<div > | ||
<a href="{% url profile_badges %}">See Badge Catalog</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="content-box-title"> | ||
My Badges | ||
<a href="#" style="float: right"> | ||
<img src="{{ STATIC_URL}}/css/default/images/icon-help-sm.png" width="20" | ||
align="center" | ||
title="Click to get help about this window" | ||
onclick="toggleHelp('widget', 'my-badges'); return false;" | ||
/></a> | ||
</div> | ||
{# <h5>Individual Badges</h5> #} | ||
<table> | ||
<tr> | ||
<th class="width-ten-percent"></th> | ||
<th>Badge</th> | ||
<th> | ||
Achievement | ||
</th> | ||
</tr> | ||
{% if user.badges_earned.count > 0 %} | ||
{% for awarded in user.badges_earned.all %} | ||
<tr> | ||
<td><img src="{{STATIC_URL}}{{awarded.badge.image}}"/></td> | ||
<td>{{ awarded.badge.name }}</td> | ||
<td>{{ awarded.badge.description.0 }}</td> | ||
</tr> | ||
{% endfor %} | ||
{% else %} | ||
<tr> | ||
<td colspan="3">You don't have any badges yet!</td> | ||
</tr> | ||
{% endif %} | ||
</table> | ||
<div > | ||
|
||
<!--Bootstrap modal dialog--> | ||
<a data-toggle="modal" href="#badge-catalog"> See Badge Catalog </a> | ||
<div id="badge-catalog" class="modal hide"> | ||
<div class="modal-body"> | ||
{% include "badge-catalog.html" %} | ||
</div> | ||
<div class="modal-footer"> | ||
<a href="#" class="btn" data-dismiss="modal">Close</a> | ||
</div> | ||
</div> | ||
|
||
<!--end modal--> | ||
<!-- <a href="{% url profile_badges %}" class="margin-one-third">See Badge Catalog</a>--> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.