Adding a HTML report system with a default template engine based on Text::Template
This commit is contained in:
parent
e2182f17b0
commit
f06212d18f
2 changed files with 603 additions and 476 deletions
1064
mysqltuner.pl
1064
mysqltuner.pl
File diff suppressed because it is too large
Load diff
15
template_example.tpl
Normal file
15
template_example.tpl
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Report Example</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<h1>Result output</h1>
|
||||||
|
<pre>
|
||||||
|
{$data}
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue