mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-21 05:13:10 +00:00
Moved to v9.0
This commit is contained in:
parent
2f4867c178
commit
108a73868e
1
web/dist/assets/discord-6817c341.svg
vendored
Normal file
1
web/dist/assets/discord-6817c341.svg
vendored
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36"><g id="图层_2" data-name="图层 2"><g id="Discord_Logos" data-name="Discord Logos"><g id="Discord_Logo_-_Large_-_White" data-name="Discord Logo - Large - White"><path d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/></g></g></g></svg>
|
After Width: | Height: | Size: 925 B |
BIN
web/dist/assets/fastapi-4a6542d0.png
vendored
Normal file
BIN
web/dist/assets/fastapi-4a6542d0.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
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
4
web/dist/index.html
vendored
@ -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-f92437ea.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-048c2c80.css">
|
||||
<script type="module" crossorigin src="/assets/index-81be3b6b.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-e60129f2.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -260,7 +260,6 @@
|
||||
</style>
|
||||
<script>
|
||||
import botImgPlaceholder from "../assets/logo.png"
|
||||
import userImgPlaceholder from "../assets/default_user.svg"
|
||||
const bUrl = import.meta.env.VITE_LOLLMS_API_BASEURL
|
||||
import { nextTick } from 'vue'
|
||||
import feather from 'feather-icons'
|
||||
|
@ -45,7 +45,12 @@
|
||||
<i data-feather="refresh-ccw"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://github.com/ParisNeo/lollms-webui" target="_blank">
|
||||
<div class="text-2xl hover:text-primary duration-150" title="Fast API doc">
|
||||
<a href="/docs"><img :src="FastAPI" width="75" height="25"></a>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://github.com/ParisNeo/lollms-webui" target="_blank">
|
||||
|
||||
<div class="text-2xl hover:text-primary duration-150" title="Visit repository page">
|
||||
@ -71,7 +76,14 @@
|
||||
</svg>
|
||||
</div>
|
||||
</a>
|
||||
<div class="sun text-2xl w-6 hover:text-primary duration-150" title="Swith to Light theme"
|
||||
|
||||
<a href="https://www.youtube.com/channel/UCJzrg0cyQV2Z30SQ1v2FdSQ" target="_blank">
|
||||
|
||||
<div class="text-2xl hover:text-primary duration-150" title="Visit my discord channel">
|
||||
<img :src="discord">
|
||||
</div>
|
||||
</a>
|
||||
<div class="sun text-2xl w-6 hover:text-primary duration-150" title="Swith to Light theme"
|
||||
@click="themeSwitch()">
|
||||
<i data-feather="sun"></i>
|
||||
</div>
|
||||
@ -104,21 +116,20 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import Discussion from '../components/Discussion.vue'
|
||||
import Toast from '../components/Toast.vue'
|
||||
import MessageBox from "@/components/MessageBox.vue";
|
||||
import ProgressBar from "@/components/ProgressBar.vue";
|
||||
import UniversalForm from '../components/UniversalForm.vue';
|
||||
import YesNoDialog from './YesNoDialog.vue';
|
||||
|
||||
|
||||
import FastAPI from '@/assets/fastapi.png';
|
||||
import discord from '@/assets/discord.svg';
|
||||
import { RouterLink } from 'vue-router'
|
||||
import Navigation from './Navigation.vue'
|
||||
import { nextTick } from 'vue'
|
||||
import feather from 'feather-icons'
|
||||
</script>
|
||||
<script>
|
||||
import { mapState } from 'vuex';
|
||||
|
||||
export default {
|
||||
name: 'TopBar',
|
||||
@ -137,12 +148,12 @@ export default {
|
||||
}
|
||||
},
|
||||
components: {
|
||||
Discussion,
|
||||
Toast,
|
||||
MessageBox,
|
||||
ProgressBar,
|
||||
UniversalForm,
|
||||
YesNoDialog
|
||||
YesNoDialog,
|
||||
Navigation,
|
||||
},
|
||||
watch:{
|
||||
isConnected(){
|
||||
@ -158,6 +169,8 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
discord:discord,
|
||||
FastAPI:FastAPI,
|
||||
rebooting_the_tool_audio: new Audio("rebooting.mp3"),
|
||||
disconnected_audio: new Audio("disconnected.mp3"),
|
||||
database_selectorDialogVisible:false,
|
||||
@ -275,10 +288,6 @@ export default {
|
||||
this.moonIcon.classList.toggle("display-none");
|
||||
}
|
||||
},
|
||||
components: {
|
||||
Navigation,
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
@ -1009,9 +1009,57 @@
|
||||
<div class="flex flex-row">
|
||||
<input
|
||||
type="text"
|
||||
id="sd_base_url"
|
||||
id="ollama_base_url"
|
||||
required
|
||||
v-model="configFile.sd_base_url"
|
||||
v-model="configFile.ollama_base_url"
|
||||
@change="settingsChanged=true"
|
||||
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
|
||||
>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</Card>
|
||||
<Card title="Petals service" :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;">
|
||||
<label for="enable_petals_service" class="text-sm font-bold" style="margin-right: 1rem;">Enable petals service:</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex flex-row">
|
||||
<input
|
||||
type="checkbox"
|
||||
id="enable_petals_service"
|
||||
required
|
||||
v-model="configFile.enable_petals_service"
|
||||
@change="settingsChanged=true"
|
||||
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
|
||||
>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="min-width: 200px;">
|
||||
<label for="petals_base_url" class="text-sm font-bold" style="margin-right: 1rem;">Reinstall Petals service:</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex flex-row">
|
||||
<button class="hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center" @click="reinstallPetalsService">Reinstall olama service</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="min-width: 200px;">
|
||||
<label for="petals_base_url" class="text-sm font-bold" style="margin-right: 1rem;">petals base url:</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex flex-row">
|
||||
<input
|
||||
type="text"
|
||||
id="petals_base_url"
|
||||
required
|
||||
v-model="configFile.petals_base_url"
|
||||
@change="settingsChanged=true"
|
||||
class="mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
|
||||
>
|
||||
@ -1020,7 +1068,6 @@
|
||||
</tr>
|
||||
</table>
|
||||
</Card>
|
||||
|
||||
<Card title="XTTS service" :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>
|
||||
|
Loading…
Reference in New Issue
Block a user