# -*- coding: utf-8 -*-
#
# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for
# more information about the licensing of this file.
""" Maintenance page """
import flask
from flask.views import MethodView
[docs]class MaintenancePage(MethodView):
""" Maintenance page """
[docs] def get(self, path=None):
""" GET request """
return flask.current_app.template_helper.render("maintenance.html")
[docs] def post(self, path=None):
""" POST request """
return flask.current_app.template_helper.render("maintenance.html")