upgraded ui

This commit is contained in:
Saifeddine ALOUI 2024-04-20 20:23:27 +02:00
parent 43e84d3ce3
commit 7251b6d557
6 changed files with 223 additions and 192 deletions

@ -1 +1 @@
Subproject commit 31cc452f583db584cc48a91a37e76142adbc87e0
Subproject commit 71287d0406cb33151eef3dcd5e943dd6815b0bf4

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-32236cca.js"></script>
<link rel="stylesheet" href="/assets/index-c1351dff.css">
<script type="module" crossorigin src="/assets/index-4d3aae9e.js"></script>
<link rel="stylesheet" href="/assets/index-908cb263.css">
</head>
<body>
<div id="app"></div>

View File

@ -533,7 +533,7 @@
</tr>
</table>
</Card>
<Card title="Code execution" :is_subcard="true" class="pb-2 m-2">
<Card title="Security settings" :is_subcard="true" class="pb-2 m-2">
<table class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
<tr>
<td style="min-width: 200px;">
@ -553,7 +553,7 @@
<tr>
<td style="min-width: 200px;">
<label for="turn_on_code_validation" class="text-sm font-bold" style="margin-right: 1rem;">turn on code validation:</label>
<label for="turn_on_code_validation" class="text-sm font-bold" style="margin-right: 1rem;">turn on code validation (very recommended for security reasons):</label>
</td>
<td style="width: 100%;">
@ -568,6 +568,22 @@
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="turn_on_setting_update_validation" class="text-sm font-bold" style="margin-right: 1rem;">turn on apply settings validation (very recommended for security reasons):</label>
</td>
<td style="width: 100%;">
<input
type="checkbox"
id="turn_on_setting_update_validation"
required
v-model="configFile.turn_on_setting_update_validation"
@change="settingsChanged=true"
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="turn_on_open_file_validation" class="text-sm font-bold" style="margin-right: 1rem;">turn on open file/folder validation:</label>
</td>
@ -582,6 +598,21 @@
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="turn_on_send_file_validation" class="text-sm font-bold" style="margin-right: 1rem;">turn on send file validation:</label>
</td>
<td style="width: 100%;">
<input
type="checkbox"
id="turn_on_send_file_validation"
required
v-model="configFile.turn_on_send_file_validation"
@change="settingsChanged=true"
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
>
</td>
</tr>
</table>
</Card>
<Card title="Knowledge database" :is_subcard="true" class="pb-2 m-2">

@ -1 +1 @@
Subproject commit bfe958bdf6b836aab462c146d9012ece48294dcf
Subproject commit 471fc77b42eaf7a04f6acbf64747fadfb3089186