Exemplo n.º 1
0
def missingImagesHTML(conn):
    rows = db.findMissingPictures(conn)
    columns = ["Album", "Need Upload", "Need Download"]
    columnsclass = [None, None, None]
    if len(rows) == 0:
        return ""
    else:
        return webUtil.getTable(columns, rows, columnsclass)
Exemplo n.º 2
0
def findMissingPicturesHtml(conn):
    """
    list by album show the number of images that are not in both. This will
    only include albums that are in both
    """
    rows = db.findMissingPictures(conn)
    columns = ["Album","Need Upload","Need Download"]
    return webUtil.getTable(columns, rows)