aboutsummaryrefslogtreecommitdiffstats
path: root/web/fonctions.py
diff options
context:
space:
mode:
authorClyhtsuriva Synck <clyhtsuriva>2020-03-01 14:18:05 +0100
committerClyhtsuriva Synck <clyhtsuriva>2020-03-01 14:18:05 +0100
commit06ad4b73d54beb6f81d0b43d49f2a0701c87fcfb (patch)
treeadd0a5ceebaa19dcecd7240b661cd8ee96cb47c9 /web/fonctions.py
parent5071a27336700e4267325c038042565885ec6518 (diff)
downloadATS-06ad4b73d54beb6f81d0b43d49f2a0701c87fcfb.tar.gz
ATS-06ad4b73d54beb6f81d0b43d49f2a0701c87fcfb.tar.bz2
ATS-06ad4b73d54beb6f81d0b43d49f2a0701c87fcfb.zip
web update
Diffstat (limited to '')
-rw-r--r--web/fonctions.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/fonctions.py b/web/fonctions.py
new file mode 100644
index 0000000..1b18cc7
--- /dev/null
+++ b/web/fonctions.py
@@ -0,0 +1,16 @@
+#!/usr/bin/python3
+# -*- coding: utf-8 -*-
+
+def baseHTML(title,body):
+ content=("""<!DOCTYPE html>
+<html>
+ <head>
+ <title>"""+ title +"""</title>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" type="text/css" href="styde.css">
+ </head>
+ <body>"""+ body +"""</body>
+</html>
+
+ """)
+ return content
ezer.git/commit/target/classes/musichub/main/Main.class?id=ac2ff63e60bba8e841746a067f27441e491f4235&follow=1'>Catch exception related to search functionalitysaid belhadj4-3/+11 2021-06-27Delete TEST-musichub.business.CategoryTest.xmlSaid Belhadj1-58/+0 2021-06-27Add unit test for Category and Languagesaid belhadj4-0/+164 2021-06-27Update search functionalitysaid belhadj2-0/+8 2021-06-27Added an extension check for songs and covered it with a test.Clyhtsuriva65-77/+92 2021-06-27Fix : Javadoc missingClyhtsuriva80-0/+8465 2021-06-27PlayList class covered at 84%.Clyhtsuriva14-78/+117 2021-06-27Song class fully covered.Clyhtsuriva13-49/+96 2021-06-27Starting Song testsClyhtsuriva17-59/+119 2021-06-27Changed the log type for the JUnit test of LogHandlerClyhtsuriva5-26/+4 2021-06-27XMLHandler tests covered at 91%Clyhtsuriva93-7962/+82