Пример #1
0
 def get_loginform(self, redirect_uri=''):
     from plexpy.webserve import serve_template
     return serve_template(templatename="login.html",
                           title="Login",
                           redirect_uri=unquote(redirect_uri))
 def get_loginform(self, username="", msg=""):
     from plexpy.webserve import serve_template
     return serve_template(templatename="login.html",
                           title="Login",
                           username=escape(username, True),
                           msg=msg)
Пример #3
0
 def get_loginform(self, username="", msg=""):
     from plexpy.webserve import serve_template
     return serve_template(templatename="login.html", title="Login", username=escape(username, True), msg=msg)
Пример #4
0
 def get_loginform(self):
     from plexpy.webserve import serve_template
     return serve_template(templatename="login.html", title="Login")