Added html template

This commit is contained in:
Matthias@Dell 2022-11-23 16:49:16 +01:00
parent 15c378ba28
commit ea5189584e

38
regina/template.html Normal file
View File

@ -0,0 +1,38 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html">
<meta charset="utf-8">
<meta name="description" content="Regina - Nginx Analytics">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Analytics for %server_name</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Analytics for %server-name</h1>
<div class=box>
<center>
<h2>Last %last_x_days days</h2>
<img src="%img_daily" alt="Daily Statistics", title="User and request count for the last %last_x_days days">
<ul>
<li>Unique user count: <b>%total_user_count_x_days</b>, from which <b>%human_user_percentage_x_days%</b> are human</li>
<li>Unique request count: <b>%total_request_count_x_days</b>, from which <b>%human_request_percentage_x_days%</b> came from human users </li>
</ul>
</center>
</div>
<div class=box>
<center>
<h2>All times</h2>
<img src="%img_operating_system_ranking" alt="Operating system ranking", title="Operating system ranking">
<img src="%img_browser_ranking" alt="Browser ranking", title="Browser ranking">
<ul>
<li>Mobile user percentage: %mobile_user_percentage</li>
<li>Total user count: <b>%total_user_count</b>, from which <b>%human_user_percentage%</b> are human</li>
<li>Total request count: <b>%total_request_count</b>, from which <b>%human_request_percentage%</b> came from human users </li>
</ul>
<img src="%img_file_ranking" alt="File ranking", title="File ranking">
<img src="%img_referer_ranking" alt="Referer ranking", title="Referer ranking">
</center>
</div>
</body>
</html>