ARLO Nester
|
Classes | |
class | CatalogForm |
Functions | |
def | catalog (request, projectId) |
Web interface to display a 'catalog' of tags. More... | |
def | sortTags (tags, sortBy) |
Sort tags by the real-time of the tag. More... | |
def workspace.tools.views.catalog.catalog | ( | request, | |
projectId | |||
) |
Web interface to display a 'catalog' of tags.
A GET will will display the CatalogForm, and the subsequent POST will retrieve the data.
request | The Django HTTP request object |
projectId | The database ID of the Project. |
def workspace.tools.views.catalog.sortTags | ( | tags, | |
sortBy | |||
) |
Sort tags by the real-time of the tag.
For each tag, calculate the real-time by the realStartTime of the file, and the file-startTime of the tag, and sort accordingly
tags | A Django queryset of the tags to sort |
sortOrder | A string specifying the sort order - strings defined by the select box in models |