addon
This commit is contained in:
103
config/locations.yaml
Executable file
103
config/locations.yaml
Executable file
@@ -0,0 +1,103 @@
|
||||
# Linux BenchTools - Locations Configuration
|
||||
# This file defines location types and their hierarchy
|
||||
#
|
||||
# ICÔNES : Font Awesome 6.4.0 (https://fontawesome.com/icons)
|
||||
# Format : Nom de l'icône sans préfixe (ex: "home" pour "fa-home")
|
||||
# Classes disponibles : fas (solid), far (regular), fab (brands)
|
||||
# Exemple d'utilisation HTML : <i class="fas fa-home"></i>
|
||||
|
||||
location_types:
|
||||
- id: Salon
|
||||
nom: salon
|
||||
description: salon
|
||||
couleur: "#3498db"
|
||||
icone: home
|
||||
peut_contenir: [piece, batiment]
|
||||
|
||||
- id: bureau_1er
|
||||
nom: bureau_1er
|
||||
description: bureau du 1er etage
|
||||
couleur: "#e74c3c"
|
||||
icone: building
|
||||
peut_contenir: [piece, etage]
|
||||
|
||||
- id: etage
|
||||
nom: Étage
|
||||
description: Un étage dans un bâtiment
|
||||
couleur: "#9b59b6"
|
||||
icone: layers
|
||||
peut_contenir: [piece]
|
||||
|
||||
- id: piece
|
||||
nom: Pièce
|
||||
description: Une pièce (bureau, salon, chambre, etc.)
|
||||
couleur: "#2ecc71"
|
||||
icone: door-open
|
||||
peut_contenir: [placard, meuble, etagere, tiroir, boite]
|
||||
|
||||
- id: placard
|
||||
nom: Placard
|
||||
description: Un placard ou armoire
|
||||
couleur: "#f39c12"
|
||||
icone: archive
|
||||
peut_contenir: [etagere, tiroir, boite]
|
||||
|
||||
- id: meuble
|
||||
nom: Meuble
|
||||
description: Un meuble (bureau, commode, etc.)
|
||||
couleur: "#1abc9c"
|
||||
icone: drawer
|
||||
peut_contenir: [tiroir, boite, etagere]
|
||||
|
||||
- id: etagere
|
||||
nom: Étagère
|
||||
description: Une étagère
|
||||
couleur: "#34495e"
|
||||
icone: shelf
|
||||
peut_contenir: [boite]
|
||||
|
||||
- id: tiroir
|
||||
nom: Tiroir
|
||||
description: Un tiroir
|
||||
couleur: "#95a5a6"
|
||||
icone: inbox
|
||||
peut_contenir: [boite]
|
||||
|
||||
- id: boite
|
||||
nom: Boîte
|
||||
description: Une boîte de rangement
|
||||
couleur: "#7f8c8d"
|
||||
icone: box
|
||||
peut_contenir: []
|
||||
|
||||
# Lieux de stockage (utilisés quand le périphérique n'est pas utilisé)
|
||||
stockage_locations:
|
||||
- Pièce de stockage
|
||||
- Meuble de stockage
|
||||
|
||||
# Exemples de hiérarchies possibles
|
||||
exemples_hierarchie:
|
||||
- description: Maison avec pièces
|
||||
structure:
|
||||
- Racine
|
||||
- Maison
|
||||
- Bureau
|
||||
- Placard bureau
|
||||
- Étagère haute
|
||||
- Boîte périphériques
|
||||
- Garage
|
||||
- Meuble outils
|
||||
- Tiroir 1
|
||||
- Tiroir 2
|
||||
|
||||
- description: Bureau d'entreprise
|
||||
structure:
|
||||
- Racine
|
||||
- Bâtiment A
|
||||
- Étage 1
|
||||
- Salle serveurs
|
||||
- Armoire réseau 1
|
||||
- Tiroir switches
|
||||
- Étage 2
|
||||
- Bureau IT
|
||||
- Placard matériel
|
||||
Reference in New Issue
Block a user