mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
install lib, fix css, small test
This commit is contained in:
parent
c59b1d8cc9
commit
0f4bc6a943
4 changed files with 22 additions and 4 deletions
|
@ -1,9 +1,14 @@
|
|||
<script setup lang="ts">
|
||||
import { apiCall } from "../api";
|
||||
import Multiselect from 'vue-multiselect';
|
||||
|
||||
async function doShit(){
|
||||
apiCall("Firewall.GetForwardRules", {});
|
||||
}
|
||||
let value = $ref("");
|
||||
let options = [{ name: 'Vue.js', code: 'vu' },
|
||||
{ name: 'Javascript', code: 'js' },
|
||||
{ name: 'Open Source', code: 'os' }];
|
||||
|
||||
</script>
|
||||
|
||||
|
@ -12,7 +17,8 @@ async function doShit(){
|
|||
<PageHeader title="Dashboard">
|
||||
<button @click="doShit">Example Buttons</button>
|
||||
</PageHeader>
|
||||
|
||||
This is the main page, currently written in markdown because that's *pog*.
|
||||
<multiselect v-model="value" placeholder="Search" label="name" track-by="code" :options="options" :multiple="true"></multiselect>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<style src="vue-multiselect/dist/vue-multiselect.css"></style>
|
Loading…
Add table
Add a link
Reference in a new issue