mirror of
https://github.com/harish2704/ipv6-global-ip-demo.git
synced 2026-09-10 07:11:08 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>IPV6 global ip test</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<h3>List of global IPv6 address assigned to this server</h3>
|
||||
<ul id="cont-ip-list">
|
||||
<li v-for="ip in ips">
|
||||
<a :href="'http://[' + ip + ']:3553'">
|
||||
{{ ip }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<form action="./ips" method="post" @submit.prevent="addIp()">
|
||||
<input ref="ip" type="text" minlength="24" maxlength="39" pattern="^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$">
|
||||
<button type="submit">Add IP</button>
|
||||
</form>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
||||
<script src="./app.js" type="text/javascript" charset="utf-8"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user