Пример #1
0
def image(imgFile):
    return static_file(imgFile, root=imagesDir)
Пример #2
0
def arelleIcon():
    return static_file("arelle.ico", root=imagesDir)
Пример #3
0
def arelleIcon():
    """Request for icon for URL display (get */favicon.ico*).
    
    :returns: ico -- Icon file for browsers
    """
    return static_file("arelle.ico", root=imagesDir, mimetype='image/vnd.microsoft.icon')
Пример #4
0
def image(imgFile):
    """Request for an image file for URL display (get */images/<imgFile>*).
    
    :returns: image file -- Requested image file from images directory of application for browsers
    """
    return static_file(imgFile, root=imagesDir)
Пример #5
0
def arelleIcon():
    """Request for icon for URL display (get */favicon.ico*).
    
    :returns: ico -- Icon file for browsers
    """
    return static_file("arelle.ico", root=imagesDir)