[mod] vuetify improvements

This commit is contained in:
Andy Bunce 2022-04-16 22:21:53 +01:00
parent d183e775bc
commit 26c184f300
1 changed files with 30 additions and 23 deletions

View File

@ -14,32 +14,39 @@
<body>
<div id="app">
<v-app>
<v-app-bar app>
<div>
<span>Loaded at: {{ loaded }}</span>
<v-icon :title="loaded">mdi-clock</v-icon>
<span> {{ message }}</span>
<v-btn v-on:click="load">hits {{ hits }}</v-btn>
</div>
</v-app-bar>
<v-main>
<div>
<span>Loaded at: {{ loaded }}</span><v-icon :title="loaded">mdi-clock</v-icon>
<span> {{ message }}</span>
<v-btn v-on:click="load">hits {{ hits }}</v-btn>
</div>
<v-container>
<v-row>
<!-- item={href,port,text} -->
<v-col v-for="item in links">
<v-card width="10em">
<v-card-title class="text-caption">
<a :href="item.href" :target="target">{{ item.text }}</a>
</v-card-title>
<v-card-actions>
<v-btn>?</v-btn>
<v-btn>{{ item.port }}</v-btn>
</v-card-actions>
</v-card>
</v-col>
</v-row>
</v-container>
<v-container>
<v-row>
<v-col>
<iframe name="srv" src="icon.png" width="100%"></iframe>
</v-col>
<!-- item={href,port,text} -->
<v-col >
<v-card v-for="item in links" width="10em">
<v-card-title class="text-caption">
<a :href="item.href" :target="target">{{ item.text }}</a>
</v-card-title>
<v-card-actions>
<v-btn>?</v-btn>
<v-btn>{{ item.port }}</v-btn>
</v-card-actions>
</v-card>
</v-col>
</v-row>
</v-container>
<iframe name="srv" src="icon.png" width="100%"></iframe>
</v-main>
</v-main>
</v-app>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.js"></script>