aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2021-03-29 23:12:05 -0700
committerTrumeet <yuuta@yuuta.moe>2021-03-29 23:12:05 -0700
commit7c069d7bf1c2d5a1bdf03003d8b9462b6c88d443 (patch)
tree5626581bd74ce3f9cddfdbe6c4be4e3b4837b898
parent5dfdd45403578077dc5828d651c3e04d61549140 (diff)
downloaddn42peering-7c069d7bf1c2d5a1bdf03003d8b9462b6c88d443.tar
dn42peering-7c069d7bf1c2d5a1bdf03003d8b9462b6c88d443.tar.gz
dn42peering-7c069d7bf1c2d5a1bdf03003d8b9462b6c88d443.tar.bz2
dn42peering-7c069d7bf1c2d5a1bdf03003d8b9462b6c88d443.zip
feat(central): merge table IPv4 and IPv6 for better mobile experience
-rw-r--r--central/src/main/resources/manage/index.ftlh6
1 files changed, 2 insertions, 4 deletions
diff --git a/central/src/main/resources/manage/index.ftlh b/central/src/main/resources/manage/index.ftlh
index 7272b5b..2cac44a 100644
--- a/central/src/main/resources/manage/index.ftlh
+++ b/central/src/main/resources/manage/index.ftlh
@@ -12,16 +12,14 @@
<p><a href="/manage/new">New Peer</a></p>
<table style="width: 100%">
<tr>
- <th>IPv4</th>
- <th>IPv6</th>
+ <th>IP</th>
<th>Method</th>
<th>Provision</th>
<th>Actions</th>
</tr>
<#list peers as peer>
<tr>
- <td>${peer.ipv4}</td>
- <td><#if peer.ipv6??>${peer.ipv6}<#else>None</#if></td>
+ <td>${peer.ipv4}<#if peer.ipv6??><br />${peer.ipv6}</#if></td>
<td>${peer.type}</td>
<td>${peer.provisionStatus}</td>
<td><a href="/manage/edit?id=${peer.id}">Edit</a> |