Merge f006b51d13
into da67d4c20d
commit
8d77c528f8
|
@ -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>
|
Loading…
Reference in New Issue