module documentation

luna_lms – Ein multimodales Lern-Management-System Copyright (c) 2022 Florian Berger <florian.berger@posteo.de>

Class WebApp Web application main class, suitable as cherrypy root.
Function main Main function, for IDE convenience.
Constant AUTORELOAD Flag whether CherryPy should watch the source file, and reload upon changes. Should be disabled for production use.
Constant CSS Additional CSS for all luna_lms HTML pages.
Constant HTML_FOOT The general HTML footer for all luna_lms pages, including the closing <body> tag.
Constant HTML_HEAD The general HTML head for all luna_lms pages, including the opening <body> tag.
Constant HTML_HEADER The <header> for all luna_lms pages, including logo and login status.
Constant PORT The TCP port luna_lms will listen on.
Constant THREADS The number of simultaneous CherryPy server threads.
Variable fossil_status Undocumented
Variable items Undocumented
def main():

Main function, for IDE convenience.

AUTORELOAD: bool =

Flag whether CherryPy should watch the source file, and reload upon changes. Should be disabled for production use.

Value
True
CSS =

Additional CSS for all luna_lms HTML pages.

Value
CSS.replace('{', '{{').replace('}', '}}')
HTML_FOOT =

The general HTML footer for all luna_lms pages, including the closing <body> tag.

Value
"""	<footer class="w3-container">
		<div class="w3-cell w3-mobile">
			<p class="w3-container">
				<a href="/faq" class="w3-margin-right">{}</a>
				<br>
				<a href="/report" class="w3-margin-right">{}</a>
			</p>
...
HTML_HEAD =

The general HTML head for all luna_lms pages, including the opening <body> tag.

Value
('''<!DOCTYPE html>
<html lang="de">
<head>
\t<meta charset="utf-8"/>
\t<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- https://developers.google.com/speed/docs/insights/ConfigureViewport -->
\t<meta name=viewport content="width=device-width, initial-scale=1">)
...
HTML_HEADER =

The <header> for all luna_lms pages, including logo and login status.

Value
HTML_HEADER.format('logo.svg')
PORT: int =

The TCP port luna_lms will listen on.

Value
10064
THREADS: int =

The number of simultaneous CherryPy server threads.

Value
4
fossil_status =

Undocumented

items =

Undocumented