Version 0.6.0 - Ajout des utilisateurs et des paramètres V1
All checks were successful
Neutral/pipeline/head This commit looks good
All checks were successful
Neutral/pipeline/head This commit looks good
This commit is contained in:
@ -12,10 +12,6 @@ explorer.createWindow(() => {
|
||||
width: "1000px",
|
||||
height: "600px"
|
||||
})
|
||||
|
||||
|
||||
console.log("")
|
||||
|
||||
|
||||
|
||||
|
||||
@ -38,6 +34,15 @@ explorer.createWindow(() => {
|
||||
loadFiles(result)
|
||||
})
|
||||
}
|
||||
|
||||
function goLogPath() {
|
||||
const rFiles = post("FX_GET", "logpath")
|
||||
|
||||
rFiles.then((result) => {
|
||||
loadFiles(result)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
View.setContent(`
|
||||
@ -45,6 +50,7 @@ explorer.createWindow(() => {
|
||||
<div class='fx-bar'>
|
||||
<span id='${View.getViewTitle()}_home' class='btn-cover'><i class='fa fa-home'></i></span>
|
||||
<span id='${View.getViewTitle()}_sharebtn' class='btn-cover'><i class="fa-solid fa-share-from-square"></i></span>
|
||||
<span id='${View.getViewTitle()}_logsdir' class='btn-cover'><i class="fa-solid fa-file-lines"></i></i></span>
|
||||
<input class='fx-root-input' type="text" id='${View.getViewTitle()}_rootInput'>
|
||||
<div class='fx-bar-actions'>
|
||||
<button id='${View.getViewTitle()}_newFolder' class='btn blue'><span><i class='fa fa-folder'></i> Nouv. dossier</span></button>
|
||||
@ -63,6 +69,9 @@ explorer.createWindow(() => {
|
||||
const newFile = getID(View.getViewTitle() + '_newFile')
|
||||
const home = getID(View.getViewTitle() + '_home')
|
||||
const sharebtn = getID(View.getViewTitle() + '_sharebtn')
|
||||
const logsdir = getID(View.getViewTitle() + '_logsdir')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -127,6 +136,12 @@ explorer.createWindow(() => {
|
||||
|
||||
})
|
||||
|
||||
logsdir.addEventListener("click", () => {
|
||||
|
||||
goLogPath()
|
||||
|
||||
})
|
||||
|
||||
newFolder.addEventListener("click", () => {
|
||||
|
||||
View.createPopup({
|
||||
@ -263,6 +278,7 @@ explorer.createWindow(() => {
|
||||
}
|
||||
|
||||
const file = fileuploadInput.files[0]
|
||||
console.log(file)
|
||||
|
||||
const reqFiles = post("FX_UPLOAD", {name: file.name ,root: rootInput.value, file: file})
|
||||
|
||||
|
Reference in New Issue
Block a user