mirror of
https://github.com/unraid/api.git
synced 2026-05-03 13:40:36 -05:00
fbbda5926b
This commit updates the `myservers1.php` file in the `dynamix.my.servers` plugin. It adds functionality to handle CSS values in addition to the existing file handling logic. The code now checks for CSS values in the local manifest and includes them in the rendered HTML if found.
18 lines
695 B
Vue
18 lines
695 B
Vue
<script setup lang="ts">
|
|
const visible = ref<boolean>(false);
|
|
|
|
const showSidebar = () => {
|
|
console.log('showSidebar');
|
|
visible.value = true;
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<div class="card flex justify-center">
|
|
<Drawer v-model:visible="visible" header="Drawers" position="right" class="!w-full md:!w-80 lg:!w-[30rem]">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
</Drawer>
|
|
<Button label="Open" class="p-button-rounded p-button-outlined" @click="showSidebar" />
|
|
</div>
|
|
</template>
|