pull/22/merge
Kim 2022-01-24 15:12:15 +08:00 committed by GitHub
commit 8d77c528f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -244,5 +244,12 @@ require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'device.php');
</div>
</div>
<script src="assets/dashboard.min.js"></script>
<script language="JavaScript">
if ($("#hostip").text().length > 15 ){
var scale = Math.round(15 / $("#hostip").text().length * 15000) / 100 + "%";
$("#hostip").css("font-size", scale);
}
</script>
</body>
</html>