copy ip to clipboard

This commit is contained in:
usmannasir 2025-04-15 13:19:41 +05:00
parent c59ac62c5b
commit 7859c17c4f
1 changed files with 3 additions and 5 deletions

View File

@ -245,13 +245,11 @@
<li class="header"><span>{% trans "Overview" %}</span></li>
<li>
<a id="sidebar-menu-item-server-ip-address" href="#"
title="{% trans 'Server IP Address' %}" style="display: flex; align-items: center;">
title="{% trans 'Server IP Address' %}">
<i class="glyph-icon tooltip-button icon-laptop" title="{% trans 'Server IP Address' %}"
data-original-title=".icon-laptop"></i>
<div style="display: flex; align-items: center; gap: 8px;">
<span style="color: #488a3f;font-weight: bold;">{{ ipAddress }}</span>
<i class="fa fa-copy" style="color: #488a3f; cursor: pointer; font-size: 14px;" onclick="copyIPAddress()" title="{% trans 'Copy IP Address' %}"></i>
</div>
<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>
</a>
<a id="sidebar-menu-item-dashboard" href="{% url 'index' %}"
title="{% trans 'Dashboard' %}">