aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/handlers/index.py
blob: e95c3104f4bcca74ec02fd17fe65c341514b5479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (c) 2016 Weitian LI <liweitianux@live.com>
# MIT license

"""
Login handler
"""

import tornado.web

from .base import BaseRequestHandler


class IndexHandler(BaseRequestHandler):
    """
    Index page handler of the Web UI.
    """
    @tornado.web.authenticated
    def get(self):
        self.render("index.html")