This commit is contained in:
Andy Bunce 2021-12-26 16:50:29 +00:00
parent ec78608a0e
commit c6301120d6
2 changed files with 8 additions and 8 deletions

View file

@ -6,17 +6,15 @@
</head>
<body>
This is a test
<div>Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}}</div>
<span>Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}}</span>
<div id="app">
<ul>
<li v-for="item in json"><a :href="item.href">{{ item.text }}</a></li>
</ul>
<button v-on:click="load">hits {{ hits }}</button>
<div> {{ message }}</div>
<pre>{{ json }}</pre>
<ul>
<li v-for="item in json"><a :href="item.href">{{ item.text }}</a></li>
</ul>
</div>
<script src="index.js"></script>
</body>

View file

@ -1,4 +1,6 @@
[
{"href": "http://n2-plus.local:19999/", "text": "netdata", "port": "19999"},
{"href": "http://n2-plus.local:9000/", "text": "portainer", "port": "9000"}
{"href": "http://n2-plus.local:9000/", "text": "portainer", "port": "9000"},
{"href": "http://n2-plus.local", "text": "index", "port": ""},
{"href": "http://fish.local", "text": "fish", "port": ""}
]