Revision 241a15cd
b/ui/static/main.css | ||
---|---|---|
739 | 739 |
float:left; |
740 | 740 |
} |
741 | 741 |
|
742 |
.machine span.name, .machine a.ip {
|
|
742 |
.machine span.name, .machine span.ip {
|
|
743 | 743 |
font-size: 75%; |
744 | 744 |
color: black; |
745 | 745 |
margin-top: 6px; |
... | ... | |
4144 | 4144 |
|
4145 | 4145 |
.ipv6-text, .ipv4-text { |
4146 | 4146 |
font-size: 0.9em; |
4147 |
cursor: pointer; |
|
4148 | 4147 |
} |
4149 | 4148 |
|
4150 | 4149 |
.tooltip { |
b/ui/templates/machines_icon.html | ||
---|---|---|
52 | 52 |
</div> |
53 | 53 |
</h5> |
54 | 54 |
</div> |
55 |
<a href="#" class="ip">
|
|
55 |
<span class="ip">
|
|
56 | 56 |
<h5> |
57 | 57 |
{% trans "IP:" %} <span class="ip-version-label">v4</span> <span class="public ipv4-text"></span> |
58 | 58 |
<span class="ip-version-label">v6</span> <span class="public ipv6-text"></span> |
59 | 59 |
</h5> |
60 |
</a>
|
|
60 |
</span>
|
|
61 | 61 |
</div> |
62 | 62 |
<div class="info"> |
63 | 63 |
<div class="info-header"> |
... | ... | |
646 | 646 |
} |
647 | 647 |
// find and display ips |
648 | 648 |
var ips = get_public_ips(server); |
649 |
existing.find("a.ip span.public").text(ips['ip4']);
|
|
650 |
existing.find("a.ip span.public.ipv6-text").text(ips['ip6']);
|
|
649 |
existing.find("span.ip span.public").text(ips['ip4']);
|
|
650 |
existing.find("span.ip span.public.ipv6-text").text(ips['ip6']);
|
|
651 | 651 |
} |
652 | 652 |
// if it doesn't exist and the server is not DELETED, make a new entry |
653 | 653 |
else if ( server.status != 'DELETED') { |
... | ... | |
698 | 698 |
machine.find(".image-size-data").text(image_params['size']); |
699 | 699 |
// find and display ips |
700 | 700 |
var ips = get_public_ips(server); |
701 |
machine.find("a.ip span.public").text(ips['ip4']);
|
|
702 |
machine.find("a.ip span.public.ipv6-text").text(ips['ip6']);
|
|
701 |
machine.find("span.ip span.public").text(ips['ip4']);
|
|
702 |
machine.find("span.ip span.public.ipv6-text").text(ips['ip6']);
|
|
703 | 703 |
} |
704 | 704 |
/* |
705 | 705 |
Do some repeated actions that include: |
Also available in: Unified diff