forked from DigitalCampus/django-oppia
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DigitalCampus#300: Implementing ajax pagination...
- Loading branch information
Showing
5 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% load i18n %} | ||
{% load sort_link %} | ||
|
||
<th class="col-xs-2 col-sm-1"></th> | ||
<th class="col-xs-7 col-sm-7">{% sort_link 'first_name' 'User' %}</th> | ||
<th class="col-xs-3 col-sm-4">{% sort_link 'date_joined' 'Registration date' %}</th> |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% load i18n %} | ||
{% load display_functions %} | ||
|
||
<tr id="{{ user.username }}"> | ||
<td class="col-xs-2 col-sm-1"> | ||
<button class="btn btn-sm btn-primary btn-add"><i class="glyphicon glyphicon-plus"></i> <i class="glyphicon glyphicon-ok hidden"></i> </button> | ||
<button class="btn btn-sm btn-primary btn-remove removing" style="display: none;"><i class="glyphicon glyphicon-remove"></i> </button> | ||
</td> | ||
<td class="col-xs-7 col-sm-7 ">{% if OPPIA_SHOW_GRAVATARS %} {{ user|gravatar:24 }} {% endif %} | ||
{{ user.first_name }} {{ user.last_name }} | ||
</td> | ||
<td class="col-xs-3 col-sm-4 ">{{ user.date_joined|date:"d/m/Y" }}</td> | ||
</tr> |
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