Version 0.3.0 - Add of Services
All checks were successful
Neutral/pipeline/head This commit looks good

This commit is contained in:
Raphix
2023-11-04 14:50:28 +01:00
parent 52a86f3871
commit 1685ec3712
14 changed files with 578 additions and 49 deletions

View File

@ -93,7 +93,7 @@ class ViewWindow {
<div id='${properties.title}_header' class='view-window-header'>
<span style='width: 40px'></span>
<p>${properties.title}</p>
<button id='${properties.title}_close' class='btn min red'><span><i class='fa fa-xmark'></i></span></button>
<span id='${properties.title}_close' class='view-close'><i class='fa fa-xmark'></i></span>
</div>
<div id='${properties.title}_content' class='view-window-content'>
</div>
@ -182,10 +182,10 @@ class ViewWindow {
createPopup(properties) {
this.ViewPopupHTML = `<div id='${properties.title}_popup' class='view-popup'>
this.ViewPopupHTML = `<div id="${properties.title}_popup" class='view-popup'>
<div class='view-popup-bar'>
<p>${properties.title}</p>
<span id='${properties.title}_popupClose' class='btn-cover'><i class='fa fa-xmark'></i></span>
<span id="${properties.title}_popupClose" class='btn-cover'><i class='fa fa-xmark'></i></span>
</div>
${properties.content}
</div>`
@ -243,17 +243,13 @@ class ViewWindow {
function createView(viewType) {
if(viewType == 'files_explorer') {
generateFileExplorer()
generateFileExplorerView()
}
if(viewType == 'service') {
const View = new ViewWindow({
title: "Gestionnaire des services",
width: "1000px",
height: "600px"
})
generateServiceView()
}
}