Version 1.0.2 - Fix du Style et de la responsibe
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:
parent
377c3310e4
commit
6408fa614c
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "neutral",
|
"name": "neutral",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "Panel d'administration de Raphix",
|
"description": "Panel d'administration de Raphix",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -35,14 +35,7 @@ explorer.createWindow(() => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function goLogPath() {
|
|
||||||
const rFiles = post("FX_GET", "logpath")
|
|
||||||
|
|
||||||
rFiles.then((result) => {
|
|
||||||
loadFiles(result)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
View.setContent(`
|
View.setContent(`
|
||||||
@ -50,7 +43,6 @@ explorer.createWindow(() => {
|
|||||||
<div class='fx-bar'>
|
<div class='fx-bar'>
|
||||||
<span id='${View.getViewTitle()}_home' class='btn-cover'><i class='fa fa-home'></i></span>
|
<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()}_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'>
|
<input class='fx-root-input' type="text" id='${View.getViewTitle()}_rootInput'>
|
||||||
<div class='fx-bar-actions'>
|
<div class='fx-bar-actions'>
|
||||||
<button id='${View.getViewTitle()}_newFolder' class='btn blue'><span><i class='fa fa-folder'></i> Nouv. dossier</span></button>
|
<button id='${View.getViewTitle()}_newFolder' class='btn blue'><span><i class='fa fa-folder'></i> Nouv. dossier</span></button>
|
||||||
@ -72,7 +64,6 @@ explorer.createWindow(() => {
|
|||||||
const newFile = getID(View.getViewTitle() + '_newFile')
|
const newFile = getID(View.getViewTitle() + '_newFile')
|
||||||
const home = getID(View.getViewTitle() + '_home')
|
const home = getID(View.getViewTitle() + '_home')
|
||||||
const sharebtn = getID(View.getViewTitle() + '_sharebtn')
|
const sharebtn = getID(View.getViewTitle() + '_sharebtn')
|
||||||
const logsdir = getID(View.getViewTitle() + '_logsdir')
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -139,11 +130,6 @@ explorer.createWindow(() => {
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
logsdir.addEventListener("click", () => {
|
|
||||||
|
|
||||||
goLogPath()
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
newFolder.addEventListener("click", () => {
|
newFolder.addEventListener("click", () => {
|
||||||
|
|
||||||
@ -438,16 +424,18 @@ explorer.createWindow(() => {
|
|||||||
|
|
||||||
const dropMenu = new DroppableMenu()
|
const dropMenu = new DroppableMenu()
|
||||||
|
|
||||||
dropMenu.add("copy", "<i class='fa fa-copy'></i> Copier")
|
|
||||||
dropMenu.add("cut", "<i class='fa fa-cut'></i> Couper")
|
|
||||||
dropMenu.add("rename", "<i class='fa-solid fa-file-signature'></i> Renommer")
|
|
||||||
dropMenu.add("delete", "<i class='fa fa-trash'></i> Supprimer")
|
|
||||||
|
|
||||||
if(!file.directory) {
|
if(!file.directory) {
|
||||||
dropMenu.add("edit", "<i class='fa-solid fa-pen'></i> Editer")
|
dropMenu.add("edit", "<i class='fa-solid fa-pen'></i> Editer")
|
||||||
dropMenu.add("share", "<i class='fa fa-share'></i> Partager")
|
dropMenu.add("share", "<i class='fa fa-share'></i> Partager")
|
||||||
dropMenu.add("download", "<i class='fa fa-download'></i> Télécharger")
|
dropMenu.add("download", "<i class='fa fa-download'></i> Télécharger")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dropMenu.add("copy", "<i class='fa fa-copy'></i> Copier")
|
||||||
|
dropMenu.add("cut", "<i class='fa fa-cut'></i> Couper")
|
||||||
|
dropMenu.add("rename", "<i class='fa-solid fa-file-signature'></i> Renommer")
|
||||||
|
dropMenu.add("delete", "<i class='fa fa-trash'></i> Supprimer")
|
||||||
dropMenu.show()
|
dropMenu.show()
|
||||||
|
|
||||||
|
|
||||||
|
@ -641,7 +641,7 @@ a {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow-y: auto ;
|
overflow-y: auto ;
|
||||||
height: 450px;
|
height: 472px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1330,6 +1330,8 @@ a {
|
|||||||
.user-settings {
|
.user-settings {
|
||||||
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
overflow-y: auto;
|
||||||
|
height: 566px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.us-settings-info {
|
.us-settings-info {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user