Add request count element

This commit is contained in:
Aadi Desai 2024-03-31 13:58:00 +01:00
parent c0c99d3c82
commit 2ef06644f2
Signed by: supleed2
SSH key fingerprint: SHA256:CkbNRs0yVzXEiUp2zd0PSxsfRUMFF9bLlKXtE1xEbKM
2 changed files with 15 additions and 0 deletions

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -48,6 +48,21 @@
</svg> </svg>
</button> </button>
</div> </div>
<svg width="201" height="20" role="img">
<clipPath id="r">
<rect width="201" height="20" rx="10" fill="#fff" />
</clipPath>
<g clip-path="url(#r)">
<rect width="152" height="20" fill="#555" />
<rect x="152" width="49" height="20" fill="#2ae9ff" />
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif"
text-rendering="geometricPrecision" font-size="110">
<image x="5" y="3" width="14" height="14" xlink:href="/favicon.png" />
<text x="855" y="140" transform="scale(.1)" fill="#fff" textLength="1250">Total Requests Served</text>
<text id="request-count" x="1755" y="140" transform="scale(.1)" fill="#333" textLength="390">0</text>
</g>
</svg>
<div class="collapsible-container"> <div class="collapsible-container">
<span class="collapsible-text">Options</span> <span class="collapsible-text">Options</span>
<button class="collapsible"> <button class="collapsible">