copy ip to clipboard

This commit is contained in:
usmannasir
2025-04-15 13:25:47 +05:00
parent 7859c17c4f
commit 043ea13912

View File

@@ -249,7 +249,9 @@
<i class="glyph-icon tooltip-button icon-laptop" title="{% trans 'Server IP Address' %}"
data-original-title=".icon-laptop"></i>
<span style="color: #488a3f;font-weight: bold;">{{ ipAddress }}</span>
<i class="fa fa-copy" style="color: #488a3f; margin-left: 5px; cursor: pointer;" onclick="copyIPAddress()" title="{% trans 'Copy IP Address' %}"></i>
<button onclick="copyIPAddress()" style="background: none; border: none; color: #488a3f; padding: 0; margin-left: 5px; cursor: pointer;">
<i class="fa fa-copy"></i>
</button>
</a>
<a id="sidebar-menu-item-dashboard" href="{% url 'index' %}"
title="{% trans 'Dashboard' %}">