fix ipv6 out of box
parent
6a11e0877a
commit
850d312279
|
@ -244,5 +244,12 @@ require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'device.php');
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="assets/dashboard.min.js"></script>
|
<script src="assets/dashboard.min.js"></script>
|
||||||
|
<script language="JavaScript">
|
||||||
|
if $("#hostip").text().length > 15 {
|
||||||
|
var scale = Math.round($("#hostip").text().length /15 *10000) / 100 + "%"
|
||||||
|
$("#hostip").css("font-size", $scale)
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue