svrjs-statistics-server/backend/templates/index.template

72 lines
2.5 KiB
Text
Raw Normal View History

2024-08-06 14:49:57 +02:00
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/main.css">
<title>SVR.JS statistics</title>
</head>
<body>
<main>
<h1>SVR.JS statistics</h1>
<p>The page will be refreshed every minute.</p>
<h2>Insights</h2>
<ul class="insights">
<li>
<div class="insightwrapper">
<span class="insightheading">Daily SVR.JS starts</span>
<span class="insightvalue">{{dailyStarts}}</span>
</div>
</li>
<li>
<div class="insightwrapper">
<span class="insightheading">Monthly SVR.JS starts</span>
<span class="insightvalue">{{monthlyStarts}}</span>
</div>
</li>
<li>
<div class="insightwrapper">
<span class="insightheading">Yearly SVR.JS starts</span>
<span class="insightvalue">{{yearlyStarts}}</span>
</div>
</li>
<li>
<div class="insightwrapper">
<span class="insightheading">Total SVR.JS starts</span>
<span class="insightvalue">{{totalStarts}}</span>
</div>
</li>
<li>
<div class="insightwrapper">
<span class="insightheading">SVR.JS version distribution (monthly)</span>
<img src="/chart.svr?scope=versiondistribution" alt="SVR.JS version distribution" class="insightimage">
</div>
</li>
<li>
<div class="insightwrapper">
<span class="insightheading">SVR.JS mods distribution (monthly)</span>
<img src="/chart.svr?scope=modsdistribution" alt="SVR.JS mods distribution" class="insightimage">
</div>
</li>
<li>
<div class="insightwrapper">
<span class="insightheading">JavaScript runtime distribution (monthly)</span>
<img src="/chart.svr?scope=jsruntimedistribution" alt="JavaScript runtime distribution" class="insightimage">
</div>
</li>
<li>
<div class="insightwrapper">
<span class="insightheading">JS runtime version distribution (monthly)</span>
<img src="/chart.svr?scope=jsruntimeversiondistribution" alt="JavaScript runtime version distribution" class="insightimage">
</div>
</li>
</ul>
<div class="clearfix"></div>
<h2>10 latest SVR.JS starts</h2>
<ol class="latest">
{{latestStarts}}
</ol>
</main>
</body>
</html>