Upgrades done

This commit is contained in:
Saifeddine ALOUI 2024-10-24 02:14:59 +02:00
parent c8f3ea8a47
commit fff7d93bb2
5 changed files with 28 additions and 21 deletions

View File

@ -68,7 +68,7 @@ def terminate_thread(thread):
else:
ASCIIColors.yellow("Canceled successfully")# The current version of the webui
lollms_webui_version="v14 beta (code name Saïph 🌟)"
lollms_webui_version="v14 (code name Saïph 🌟)"

View File

@ -1,4 +1,4 @@
@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap";.topbar-container[data-v-95f4bcd6]{position:fixed;top:0;left:0;right:0;z-index:1000}.topbar[data-v-95f4bcd6]{background-color:#ffffff1a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition:transform .3s ease-in-out;display:flex;justify-content:center}.topbar-hidden[data-v-95f4bcd6]{transform:translateY(-100%)}.topbar-content[data-v-95f4bcd6]{display:flex;justify-content:space-between;align-items:center;max-width:1200px;width:100%}.pin-button[data-v-95f4bcd6]{background-color:transparent;border:none;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center}.pin-button svg[data-v-95f4bcd6]{width:24px;height:24px;transition:transform .3s ease}.pin-button:hover svg[data-v-95f4bcd6]{transform:scale(1.2)}.placeholder[data-v-95f4bcd6]{height:10px}.toolbar-button[data-v-95f4bcd6]{cursor:pointer;border-style:none;background-color:transparent;padding:.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.toolbar-button[data-v-95f4bcd6]:hover{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.topbar-container[data-v-95f4bcd6]{position:relative;width:100%}.hover-zone[data-v-95f4bcd6]{opacity:0}.toastItem-enter-active[data-v-46f379e5],.toastItem-leave-active[data-v-46f379e5]{transition:all .5s ease}.toastItem-enter-from[data-v-46f379e5],.toastItem-leave-to[data-v-46f379e5]{opacity:0;transform:translate(-30px)}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:#ff9da4}.hljs-number,.hljs-built_in,.hljs-literal,.hljs-type,.hljs-params,.hljs-meta,.hljs-link{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#d1f1a9}.hljs-title,.hljs-section{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap";.topbar-container[data-v-8da5ff94]{position:fixed;top:0;left:0;right:0;z-index:1000}.topbar[data-v-8da5ff94]{background-color:#ffffff1a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition:transform .3s ease-in-out;display:flex;justify-content:center}.topbar-hidden[data-v-8da5ff94]{transform:translateY(-100%)}.topbar-content[data-v-8da5ff94]{display:flex;justify-content:space-between;align-items:center;max-width:1200px;width:100%}.pin-button[data-v-8da5ff94]{background-color:transparent;border:none;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center}.pin-button svg[data-v-8da5ff94]{width:24px;height:24px;transition:transform .3s ease}.pin-button:hover svg[data-v-8da5ff94]{transform:scale(1.2)}.placeholder[data-v-8da5ff94]{height:10px}.toolbar-button[data-v-8da5ff94]{cursor:pointer;border-style:none;background-color:transparent;padding:.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.toolbar-button[data-v-8da5ff94]:hover{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.topbar-container[data-v-8da5ff94]{position:relative;width:100%}.hover-zone[data-v-8da5ff94]{opacity:0}.toastItem-enter-active[data-v-46f379e5],.toastItem-leave-active[data-v-46f379e5]{transition:all .5s ease}.toastItem-enter-from[data-v-46f379e5],.toastItem-leave-to[data-v-46f379e5]{opacity:0;transform:translate(-30px)}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:#ff9da4}.hljs-number,.hljs-built_in,.hljs-literal,.hljs-type,.hljs-params,.hljs-meta,.hljs-link{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#d1f1a9}.hljs-title,.hljs-section{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
Theme: Tokyo-night-Dark
origin: https://github.com/enkia/tokyo-night-vscode-theme
Description: Original highlight.js style

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI</title>
<script type="module" crossorigin src="/assets/index-GJ0H796G.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-uovuhICQ.css">
<script type="module" crossorigin src="/assets/index-Do2d1uFW.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-D-SRf9s3.css">
</head>
<body>
<div id="app"></div>

View File

@ -30,7 +30,7 @@
<div class="toolbar-button" @mouseleave="hideInfosMenu">
<div class="relative inline-block">
<!-- Infos menu positioned above the button -->
<div v-show="isInfosMenuVisible" @mouseenter="showInfosMenu" >
<div v-if="isInfosMenuVisible" @mouseenter="showInfosMenu" class="absolute m-0 p-0 z-50 top-full right-0 transform bg-white dark:bg-gray-900 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2">
<div class="p-4 container flex flex-col lg:flex-row items-center gap-2">
<!-- SYSTEM STATUS -->
<div class="flex gap-3 flex-1 items-center justify-end">
@ -175,7 +175,7 @@ export default {
},
data() {
return {
isinfosMenuVisible: false,
isInfosMenuVisible: false,
isVisible: false,
isPinned: false,
selectedLanguage: '',
@ -262,11 +262,15 @@ export default {
showInfosMenu() {
this.isInfosMenuVisible = true;
console.log("showing menu")
console.log(this.isInfosMenuVisible)
nextTick(() => {
feather.replace()
})
},
hideInfosMenu() {
this.isInfosMenuVisible = false;
nextTick(() => {
feather.replace()
})
},
show() {
this.isVisible = true
@ -292,6 +296,9 @@ export default {
},
showNews(){
this.$store.state.news.show()
nextTick(() => {
feather.replace()
})
},
themeCheck() {