mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 10:46:27 +00:00
updated
This commit is contained in:
parent
ba7cf586b7
commit
bcd0dccb40
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">
|
<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-9dc63357.js"></script>
|
<script type="module" crossorigin src="/assets/index-37b55051.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index-b09297ba.css">
|
<link rel="stylesheet" href="/assets/index-42b7aabe.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
@ -492,13 +492,13 @@
|
|||||||
<!-- Row 3 -->
|
<!-- Row 3 -->
|
||||||
<tr>
|
<tr>
|
||||||
<td style="min-width: 200px;">
|
<td style="min-width: 200px;">
|
||||||
<label for="user_name" class="text-sm font-bold" style="margin-right: 1rem;">User avatar:</label>
|
<label for="user_avatar" class="text-sm font-bold" style="margin-right: 1rem;">User avatar:</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<label for="avatar-upload">
|
<label for="avatar-upload">
|
||||||
<img :src="configFile.user_avatar!=''?'/user_infos/'+configFile.user_avatar: storeLogo" class="w-50 h-50 rounded-full" style="max-width: 50px; max-height: 50px; cursor: pointer;">
|
<img :src="configFile.user_avatar!=''?'/user_infos/'+configFile.user_avatar: storeLogo" class="w-50 h-50 rounded-full" style="max-width: 50px; max-height: 50px; cursor: pointer;">
|
||||||
</label>
|
</label>
|
||||||
<input type="file" id="avatar-upload" style="display: none" @change="uploadAvatar">
|
<input type="file" id="avatar-upload" style="display: none" @change="uploadAvatar()">
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 10%;">
|
<td style="width: 10%;">
|
||||||
<button class="text-2xl hover:text-red-600 duration-75 active:scale-90 " title="Discard title changes"
|
<button class="text-2xl hover:text-red-600 duration-75 active:scale-90 " title="Discard title changes"
|
||||||
@ -3478,7 +3478,7 @@ export default {
|
|||||||
this.update_setting("user_avatar", fileName, ()=>{}).then(()=>{})
|
this.update_setting("user_avatar", fileName, ()=>{}).then(()=>{})
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error('Error uploading avatar:', error);
|
console.error('Error uploading avatar:', error);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
async update_software() {
|
async update_software() {
|
||||||
|
Loading…
Reference in New Issue
Block a user