initial commit

This commit is contained in:
2021-12-20 12:50:53 +01:00
commit 839913d51a
51 changed files with 13051 additions and 0 deletions

28
web/template.inc Normal file
View File

@@ -0,0 +1,28 @@
<?php
class Template{
public static function render($content){
print "<!DOCTYPE html>";
print "<html>";
print " <head>";
print ' <meta name="viewport" content="width=device-width, initial-scale=1.0">';
print ' <style>
.errors{
width: 100%;
}
.ERROR{
background-color: #FAA;
}
.OK{
background-color: #AFA;
}
</style';
print " </head>";
print " <body>";
print $content;
print " </body>";
print "</html>";
}
}
?>