Example #1
0
    def __init__(self):
        BasePage.__init__(self)

        # Object for wrapping HTML into the template
        self.__template = framework.Basics(
            "dns",
            javascript=("/scripts/jquery/ui/jquery-ui-personalized.min.js",
                        "/scripts/dns.js", "/scripts/json2.js"))
Example #2
0
    def __init__(self):
        """Class constructor to create global objects"""

        if (frontend.xmlrpc_ssl_enabled):
            # Remember the trailing slash! /
            self.__url = 'https://%s:%s/api/' % (frontend.xmlrpc_host,
                                                 frontend.xmlrpc_port)
        else:
            # Remember the trailing slash! /
            self.__url = 'http://%s:%s/api/' % (frontend.xmlrpc_host,
                                                frontend.xmlrpc_port)

        # Object for wrapping HTML into the template
        self.__template = framework.Basics("")
Example #3
0
	def __init__(self):
		BasePage.__init__(self)
		
		# Object for wrapping HTML into the template
		self.__template = framework.Basics("")