upgraded ui

This commit is contained in:
Saifeddine ALOUI 2023-08-31 23:14:33 +02:00
parent 664a45414c
commit e0dcf2648d
4 changed files with 45 additions and 25 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"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title> <title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-c865d936.js"></script> <script type="module" crossorigin src="/assets/index-6b9b2c54.js"></script>
<link rel="stylesheet" href="/assets/index-5e1ef413.css"> <link rel="stylesheet" href="/assets/index-aa2e80de.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -608,7 +608,8 @@
<label for="auto_show_browser" class="text-sm font-bold" style="margin-right: 1rem;">Auto show browser:</label> <label for="auto_show_browser" class="text-sm font-bold" style="margin-right: 1rem;">Auto show browser:</label>
</td> </td>
<td> <td>
<input <div class="flex flex-row">
<input
type="checkbox" type="checkbox"
id="auto_show_browser" id="auto_show_browser"
required required
@ -616,6 +617,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600 " class="m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600 "
> >
</div>
</td> </td>
</tr> </tr>
@ -645,6 +647,7 @@
<label for="auto_save" class="text-sm font-bold" style="margin-right: 1rem;">Auto save:</label> <label for="auto_save" class="text-sm font-bold" style="margin-right: 1rem;">Auto save:</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="auto_save" id="auto_save"
@ -653,6 +656,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -660,6 +664,7 @@
<label for="auto_update" class="text-sm font-bold" style="margin-right: 1rem;">Auto update:</label> <label for="auto_update" class="text-sm font-bold" style="margin-right: 1rem;">Auto update:</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="auto_update" id="auto_update"
@ -668,6 +673,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
</table> </table>
@ -722,6 +728,7 @@
<label for="use_user_name_in_discussions" class="text-sm font-bold" style="margin-right: 1rem;">Use User Name in discussions:</label> <label for="use_user_name_in_discussions" class="text-sm font-bold" style="margin-right: 1rem;">Use User Name in discussions:</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="use_user_name_in_discussions" id="use_user_name_in_discussions"
@ -730,6 +737,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class=" w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class=" w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
</table> </table>
@ -741,6 +749,7 @@
<label for="use_files" class="text-sm font-bold" style="margin-right: 1rem;">Activate files support:</label> <label for="use_files" class="text-sm font-bold" style="margin-right: 1rem;">Activate files support:</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="use_files" id="use_files"
@ -749,6 +758,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -756,6 +766,7 @@
<label for="data_vectorization_activate" class="text-sm font-bold" style="margin-right: 1rem;">Activate files vectorization:</label> <label for="data_vectorization_activate" class="text-sm font-bold" style="margin-right: 1rem;">Activate files vectorization:</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="data_vectorization_activate" id="data_vectorization_activate"
@ -764,6 +775,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -771,6 +783,7 @@
<label for="data_vectorization_build_keys_words" class="text-sm font-bold" style="margin-right: 1rem;">Build keywords when querying the vectorized database:</label> <label for="data_vectorization_build_keys_words" class="text-sm font-bold" style="margin-right: 1rem;">Build keywords when querying the vectorized database:</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="data_vectorization_build_keys_words" id="data_vectorization_build_keys_words"
@ -779,6 +792,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
@ -821,6 +835,7 @@
<label for="data_vectorization_save_db" class="text-sm font-bold" style="margin-right: 1rem;">Save the new files to the database (The database wil always grow and continue to be the same over many sessions):</label> <label for="data_vectorization_save_db" class="text-sm font-bold" style="margin-right: 1rem;">Save the new files to the database (The database wil always grow and continue to be the same over many sessions):</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="data_vectorization_save_db" id="data_vectorization_save_db"
@ -829,6 +844,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -887,6 +903,7 @@
<label for="audio_auto_send_input" class="text-sm font-bold" style="margin-right: 1rem;">Send audio input automatically:</label> <label for="audio_auto_send_input" class="text-sm font-bold" style="margin-right: 1rem;">Send audio input automatically:</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="audio_auto_send_input" id="audio_auto_send_input"
@ -895,6 +912,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -902,6 +920,7 @@
<label for="auto_speak" class="text-sm font-bold" style="margin-right: 1rem;">Enable auto speak:</label> <label for="auto_speak" class="text-sm font-bold" style="margin-right: 1rem;">Enable auto speak:</label>
</td> </td>
<td> <td>
<div class="flex flex-row">
<input <input
type="checkbox" type="checkbox"
id="auto_speak" id="auto_speak"
@ -910,6 +929,7 @@
@change="settingsChanged=true" @change="settingsChanged=true"
class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600" class="w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
> >
</div>
</td> </td>
</tr> </tr>
<tr> <tr>