Module lib.htmltemplate
Class to manage the html templates
Expand source code
# Distributed under Pycameresp License
# Copyright (c) 2023 Remi BERTHOLET
""" Class to manage the html templates """
# pylint:disable=wrong-import-position
WWW_DIR = "www/"
TEMPLATE_FILE="template.html"
TEMPLATE_PY="lib/htmltemplate/htmlclasses.py"
from htmltemplate.template import *
from htmltemplate.htmltemplate import *
from htmltemplate.htmlclasses import *
Sub-modules
lib.htmltemplate.htmlclasses-
File automatically generated with template.html content
lib.htmltemplate.htmlparser-
This script parse the template.html file and creates the template classes that can be used to compose a web page. This automatically creates the …
lib.htmltemplate.htmltemplate-
Function to check if the template.html is changed and the generates the htmlclasses.py
lib.htmltemplate.template-
Base class of html templates