Fixed information panel

This commit is contained in:
Saifeddine ALOUI 2024-02-26 23:52:56 +01:00
parent d36e7071ba
commit 618f81a0ba
4 changed files with 217 additions and 211 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-0bcd468a.js"></script>
<link rel="stylesheet" href="/assets/index-b31ea3ec.css">
<script type="module" crossorigin src="/assets/index-4f922a1c.js"></script>
<link rel="stylesheet" href="/assets/index-88f48f62.css">
</head>
<body>
<div id="app"></div>

View File

@ -1,16 +1,22 @@
<template>
<transition name="fade">
<div v-if="showPopup" class="fixed inset-0 flex items-center justify-center z-50">
<div class="bg-white dark:bg-gray-800 rounded shadow p-6 m-4 max-w-xs max-h-full text-center overflow-auto">
<button @click="hide" class="mb-4 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Hide
<div class="bg-white dark:bg-gray-800 rounded shadow p-6 m-4 w-full h-full text-center overflow-auto relative">
<button @click="hide" class="absolute top-0 right-0 m-4 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
X
</button>
<iframe :src="webpageUrl" class="w-full"></iframe>
<iframe :src="webpageUrl" class="w-full h-full"></iframe>
<div class="absolute bottom-0 mb-4 w-full text-center">
<input type="checkbox" id="startup" name="startup" value="startup">
<label for="startup" class="m-5">Show at startup</label>
</div>
</div>
</div>
</transition>
</template>
<script>
export default {
data() {