This commit is contained in:
Saifeddine ALOUI 2023-09-23 01:13:24 +02:00
parent 69ae9628af
commit 7394d876d7
5 changed files with 13 additions and 4 deletions

View File

@ -52,6 +52,8 @@ Source: "run_script.sh"; DestDir: "{app}"; Flags: ignoreversion
Source: "ubuntu.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "petals_server.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "petals_server.sh"; DestDir: "{app}"; Flags: ignoreversion
Source: "uninstall.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "../../assets\logo.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "../../assets\ubuntu.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "../../assets\petals.ico"; DestDir: "{app}"; Flags: ignoreversion
@ -64,6 +66,9 @@ Filename: "{app}\requirements_installer.bat"; Flags: shellexec waituntiltermina
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: shellexec postinstall skipifsilent
[UninstallRun]
Filename: "{app}\uninstall.bat"; Flags: shellexec; RunOnceId: 1
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\logo.ico"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; IconFilename: "{app}\logo.ico"

File diff suppressed because one or more lines are too long

2
web/dist/index.html vendored
View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-e5ee3294.js"></script>
<script type="module" crossorigin src="/assets/index-74b12ab0.js"></script>
<link rel="stylesheet" href="/assets/index-9d0cda62.css">
</head>
<body>

View File

@ -49,7 +49,6 @@
</div>
<div class="flex items-center flex-row-reverse gap-2 my-1">
<!-- CONTROLS -->
<DynamicUIRenderer v-if="binding.ui" class="w-full h-full" :code="binding.ui"></DynamicUIRenderer>
<button v-if="!binding.installed" title="Click to install" type="button" @click.stop="toggleInstall"
class="inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
Install
@ -69,6 +68,7 @@
<span class="sr-only">Settings</span>
</button>
</div>
<DynamicUIRenderer v-if="binding.ui" class="w-full h-full" :code="binding.ui"></DynamicUIRenderer>
<!-- <div class=" justify-end">
<i data-feather="sliders" class="w-5 m-1"></i>
</div>

View File

@ -451,6 +451,10 @@ export default {
}
}
},
'message.ui': function (newContent) {
console.log("ui changed")
console.log(this.message_ui)
},
showConfirmation() {
nextTick(() => {
feather.replace()