updated installer

This commit is contained in:
Saifeddine ALOUI 2024-01-06 12:35:21 +01:00
parent ad703e89ad
commit 2736ae50bb
9 changed files with 55 additions and 21 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title>
<script type="module" crossorigin src="/assets/index-Y2w-DnAU.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-tsveoIuX.css">
<script type="module" crossorigin src="/assets/index-BiFwvWxo.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-4PiIduat.css">
</head>
<body>
<div id="app"></div>

View File

@ -10,6 +10,7 @@
"dependencies": {
"autoprefixer": "^10.4.16",
"axios": "^1.6.3",
"feather-icons": "^4.29.1",
"flowbite": "^2.2.1",
"postcss": "^8.4.32",
"tailwind-scrollbar": "^3.0.5",
@ -1021,6 +1022,11 @@
"node": ">= 6"
}
},
"node_modules/classnames": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz",
"integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow=="
},
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
@ -1056,6 +1062,16 @@
"node": ">= 6"
}
},
"node_modules/core-js": {
"version": "3.35.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.35.0.tgz",
"integrity": "sha512-ntakECeqg81KqMueeGJ79Q5ZgQNR+6eaE8sxGCx62zMbAIj65q+uYvatToew3m6eAGdU4gNZwpZ34NMe4GYswg==",
"hasInstallScript": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/core-js"
}
},
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@ -1214,6 +1230,15 @@
"reusify": "^1.0.4"
}
},
"node_modules/feather-icons": {
"version": "4.29.1",
"resolved": "https://registry.npmjs.org/feather-icons/-/feather-icons-4.29.1.tgz",
"integrity": "sha512-P1we61haGTds6lKWe6CCVPsNULb8tHr1y6S9gXEpU+lNR1Ja7GdV0A1l2hTNmzXv+0Stix/3YMWMAn7n1Qtd6A==",
"dependencies": {
"classnames": "^2.2.5",
"core-js": "^3.1.3"
}
},
"node_modules/fill-range": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",

View File

@ -11,6 +11,7 @@
"dependencies": {
"autoprefixer": "^10.4.16",
"axios": "^1.6.3",
"feather-icons": "^4.29.1",
"flowbite": "^2.2.1",
"postcss": "^8.4.32",
"tailwind-scrollbar": "^3.0.5",

View File

@ -44,11 +44,13 @@
Install
</button>
</div>
<MessageBox ></MessageBox>
<Toast ref="toast" />
<MessageBox ref="messageBox" />
</template>
<script>
import MessageBox from '../components/messageBox.vue';
import MessageBox from '../components/MessageBox.vue';
import Toast from '../components/Toast.vue';
import axios from 'axios';
import LoLLMSLogo from '../assets/logo.png'
export default {
@ -59,12 +61,14 @@ export default {
};
},
components:{
MessageBox
MessageBox,
Toast
},
methods: {
install() {
this.$ref.toast.showToast(`Starting the install with option:${this.selectedOption}`, 4, true)
axios.post("/start_installing",{mode:this.selectedOption}).then(()=>{
this.$ref.messageBox.showMessage("Success!\nPlease close this page and open the run script from your install folder")
});
},
},

View File

@ -375,7 +375,6 @@ export default {
data() {
return {
currentDiscussion: {},
host:"",
progress_visibility_val : true,
progress_value : 0,