예제 #1
0
파일: main.py 프로젝트: NeilBetham/accent
def artwork_gif(key=None, user=None):
    """Responds with a GIF version of the artwork image."""

    width, height = display_size(request)
    return content_response(artwork, gif_response, user, width, height)
예제 #2
0
파일: main.py 프로젝트: NeilBetham/accent
def calendar_gif(key=None, user=None):
    """Responds with a GIF version of the calendar image."""

    width, height = display_size(request)
    return content_response(calendar, gif_response, user, width, height)
예제 #3
0
파일: main.py 프로젝트: NeilBetham/accent
def gif(key=None, user=None):
    """Responds with a GIF version of the scheduled image."""

    width, height = display_size(request)
    return content_response(schedule, gif_response, user, width, height)
예제 #4
0
파일: main.py 프로젝트: NeilBetham/accent
def epd(key=None, user=None):
    """Responds with an e-paper display version of the scheduled image."""

    width, height = display_size(request)
    return content_response(schedule, epd_response, user, width, height)
예제 #5
0
파일: main.py 프로젝트: gacbert/accent
def MTB_gif(key=None, user=None):
    return content_response(mtb_status, gif_response, user)
예제 #6
0
파일: main.py 프로젝트: NeilBetham/accent
def everyone_gif(key=None, user=None):
    """Responds with a GIF version of the everyone image."""

    width, height = display_size(request)
    return content_response(everyone, gif_response, user, width, height)
예제 #7
0
파일: main.py 프로젝트: gacbert/accent
def commute_gif(key=None, user=None):
    """Responds with a GIF version of the commute image."""

    return content_response(commute, gif_response, user)
예제 #8
0
파일: main.py 프로젝트: gacbert/accent
def calendar_gif(key=None, user=None):
    """Responds with a GIF version of the calendar image."""

    return content_response(calendar, gif_response, user)
예제 #9
0
파일: main.py 프로젝트: gacbert/accent
def city_gif(key=None, user=None):
    """Responds with a GIF version of the city image."""

    return content_response(city, gif_response, user)
예제 #10
0
파일: main.py 프로젝트: gacbert/accent
def artwork_gif(key=None, user=None):
    """Responds with a GIF version of the artwork image."""

    return content_response(artwork, gif_response, user)
예제 #11
0
파일: main.py 프로젝트: gacbert/accent
def epd(key=None, user=None):
    """Responds with an e-paper display version of the scheduled image."""

    return content_response(schedule, epd_response, user)
예제 #12
0
파일: main.py 프로젝트: gacbert/accent
def gif(key=None, user=None):
    """Responds with a GIF version of the scheduled image."""

    return content_response(schedule, gif_response, user)
예제 #13
0
파일: main.py 프로젝트: gacbert/accent
def everyone_gif(key=None, user=None):
    """Responds with a GIF version of the everyone image."""

    return content_response(everyone, gif_response, user)