Initial commit: EasySmartInventory v1.0.0
- Python HTML generator from YAML config - 3 themes: modern, corporate, minimal - Field types: text, number, date, dropdown, multiselect, boolean, photo, textarea - Auto-save to localStorage and URL hash - CSV export with base64 photos - Mailto with configurable subject - Responsive design for mobile/tablet/desktop - Company logo and color customization
This commit is contained in:
commit
16f4cc7bc8
14 files changed
+5937
No files matched your search
@@ -0,0 +1,334 @@
|
||||
# Machine Inventarisatie - Voorbeeld Configuratie
|
||||
# EasySmartInventory v1.0.0
|
||||
|
||||
name: "Machine_Inventarisatie"
|
||||
version: "1.0.0"
|
||||
|
||||
# Styling configuratie
|
||||
style:
|
||||
theme: "modern" # modern, corporate, minimal
|
||||
logo: "" # Base64 string of URL naar logo
|
||||
primary_color: "#0066cc"
|
||||
secondary_color: "#28a745"
|
||||
background_color: "#f8f9fa"
|
||||
text_color: "#333333"
|
||||
error_color: "#dc3545"
|
||||
success_color: "#28a745"
|
||||
|
||||
# Export configuratie
|
||||
export:
|
||||
csv:
|
||||
enabled: true
|
||||
folder: "./exports"
|
||||
include_photo: true
|
||||
mailto:
|
||||
enabled: true
|
||||
to: "inventaris@bedrijf.nl"
|
||||
subject_prefix: "Inventarisatie"
|
||||
subject_fields: ["serienummer", "merk"]
|
||||
include_timestamp: true
|
||||
|
||||
# Auto-save configuratie
|
||||
autosave:
|
||||
enabled: true
|
||||
interval_seconds: 5
|
||||
use_url_hash: true
|
||||
use_localstorage: true
|
||||
|
||||
# Secties en velden
|
||||
sections:
|
||||
- name: "Basisinformatie"
|
||||
description: "Algemene gegevens van het apparaat"
|
||||
fields:
|
||||
- id: "serienummer"
|
||||
label: "Serienummer"
|
||||
type: "text"
|
||||
required: true
|
||||
min_length: 3
|
||||
placeholder: "Voer serienummer in"
|
||||
|
||||
- id: "type_nummer"
|
||||
label: "Type-/modelnummer"
|
||||
type: "text"
|
||||
required: false
|
||||
placeholder: "Bijv. HP ProBook 450 G8"
|
||||
|
||||
- id: "merk"
|
||||
label: "Merk / fabrikant"
|
||||
type: "dropdown"
|
||||
required: true
|
||||
options:
|
||||
- "HP"
|
||||
- "Dell"
|
||||
- "Lenovo"
|
||||
- "Apple"
|
||||
- "ASUS"
|
||||
- "Acer"
|
||||
- "Microsoft"
|
||||
- "Samsung"
|
||||
- "Anders"
|
||||
|
||||
- id: "soort_apparaat"
|
||||
label: "Soort apparaat / categorie"
|
||||
type: "dropdown"
|
||||
required: true
|
||||
options:
|
||||
- "Laptop"
|
||||
- "Desktop"
|
||||
- "Server"
|
||||
- "Printer"
|
||||
- "Scanner"
|
||||
- "Monitor"
|
||||
- "Netwerkapparatuur"
|
||||
- "Mobiel apparaat"
|
||||
- "Anders"
|
||||
|
||||
- id: "productienaam"
|
||||
label: "Productienaam of -omschrijving"
|
||||
type: "text"
|
||||
required: false
|
||||
|
||||
- id: "productiejaar"
|
||||
label: "Productiejaar"
|
||||
type: "number"
|
||||
required: false
|
||||
min: 1990
|
||||
max: 2030
|
||||
|
||||
- id: "aanschafdatum"
|
||||
label: "Aanschafdatum"
|
||||
type: "date"
|
||||
required: false
|
||||
format: "dd-mm-yyyy"
|
||||
|
||||
- id: "aankoopprijs"
|
||||
label: "Aankoopprijs of vervangingswaarde (€)"
|
||||
type: "number"
|
||||
required: false
|
||||
min: 0
|
||||
placeholder: "0.00"
|
||||
|
||||
- id: "asset_id"
|
||||
label: "Intern identificatienummer (asset-ID)"
|
||||
type: "text"
|
||||
required: false
|
||||
placeholder: "Bijv. AST-2024-001"
|
||||
|
||||
- name: "Locatie & Toewijzing"
|
||||
description: "Waar bevindt het apparaat zich en wie is verantwoordelijk"
|
||||
fields:
|
||||
- id: "locatie_adres"
|
||||
label: "Locatienummer of adres"
|
||||
type: "text"
|
||||
required: false
|
||||
|
||||
- id: "ruimte"
|
||||
label: "Ruimte / afdeling / verdieping"
|
||||
type: "text"
|
||||
required: false
|
||||
placeholder: "Bijv. Kantoor 2.15, IT-afdeling"
|
||||
|
||||
- id: "gebruiker"
|
||||
label: "Gebruiker / verantwoordelijke persoon"
|
||||
type: "text"
|
||||
required: false
|
||||
|
||||
- id: "vestiging"
|
||||
label: "Vestiging / filiaal"
|
||||
type: "dropdown"
|
||||
required: false
|
||||
options:
|
||||
- "Hoofdkantoor"
|
||||
- "Vestiging Noord"
|
||||
- "Vestiging Zuid"
|
||||
- "Vestiging Oost"
|
||||
- "Vestiging West"
|
||||
- "Thuiswerker"
|
||||
- "Anders"
|
||||
|
||||
- id: "mobiel_gebruik"
|
||||
label: "Mobiel gebruik (werkplek/voertuig)"
|
||||
type: "boolean"
|
||||
required: false
|
||||
|
||||
- name: "Technische gegevens"
|
||||
description: "Technische specificaties en netwerkinformatie"
|
||||
fields:
|
||||
- id: "specificaties"
|
||||
label: "Specificaties (vermogen, capaciteit, etc.)"
|
||||
type: "textarea"
|
||||
required: false
|
||||
rows: 3
|
||||
placeholder: "Bijv. Intel i7, 16GB RAM, 512GB SSD"
|
||||
|
||||
- id: "component_serienummers"
|
||||
label: "Serienummers van componenten"
|
||||
type: "textarea"
|
||||
required: false
|
||||
rows: 2
|
||||
|
||||
- id: "software_versie"
|
||||
label: "Softwareversie / firmwareversie"
|
||||
type: "text"
|
||||
required: false
|
||||
|
||||
- id: "ip_adres"
|
||||
label: "IP-adres"
|
||||
type: "text"
|
||||
required: false
|
||||
placeholder: "Bijv. 192.168.1.100"
|
||||
|
||||
- id: "mac_adres"
|
||||
label: "MAC-adres"
|
||||
type: "text"
|
||||
required: false
|
||||
placeholder: "Bijv. AA:BB:CC:DD:EE:FF"
|
||||
|
||||
- id: "energieklasse"
|
||||
label: "Energieklasse"
|
||||
type: "dropdown"
|
||||
required: false
|
||||
options:
|
||||
- "A+++"
|
||||
- "A++"
|
||||
- "A+"
|
||||
- "A"
|
||||
- "B"
|
||||
- "C"
|
||||
- "D"
|
||||
- "Onbekend"
|
||||
|
||||
- id: "certificeringen"
|
||||
label: "Certificeringen"
|
||||
type: "multiselect"
|
||||
required: false
|
||||
options:
|
||||
- "CE"
|
||||
- "ISO 9001"
|
||||
- "ISO 27001"
|
||||
- "Energy Star"
|
||||
- "RoHS"
|
||||
- "GDPR Compliant"
|
||||
|
||||
- name: "Status en conditie"
|
||||
description: "Huidige status en onderhoudsinformatie"
|
||||
fields:
|
||||
- id: "status"
|
||||
label: "Huidige status"
|
||||
type: "dropdown"
|
||||
required: true
|
||||
options:
|
||||
- "In gebruik"
|
||||
- "In opslag"
|
||||
- "Buiten gebruik"
|
||||
- "Defect"
|
||||
- "In reparatie"
|
||||
- "Verhuurd"
|
||||
- "Gereserveerd"
|
||||
|
||||
- id: "conditie"
|
||||
label: "Conditie / onderhoudstoestand"
|
||||
type: "dropdown"
|
||||
required: false
|
||||
options:
|
||||
- "Uitstekend"
|
||||
- "Goed"
|
||||
- "Redelijk"
|
||||
- "Matig"
|
||||
- "Slecht"
|
||||
|
||||
- id: "laatste_onderhoud"
|
||||
label: "Laatste onderhoudsdatum"
|
||||
type: "date"
|
||||
required: false
|
||||
format: "dd-mm-yyyy"
|
||||
|
||||
- id: "volgend_onderhoud"
|
||||
label: "Volgende geplande onderhoudsdatum"
|
||||
type: "date"
|
||||
required: false
|
||||
format: "dd-mm-yyyy"
|
||||
|
||||
- id: "garantie_tot"
|
||||
label: "Garantie tot"
|
||||
type: "date"
|
||||
required: false
|
||||
format: "dd-mm-yyyy"
|
||||
|
||||
- id: "leverancier"
|
||||
label: "Leverancier / onderhoudspartner"
|
||||
type: "text"
|
||||
required: false
|
||||
|
||||
- id: "onderhoudscontract"
|
||||
label: "Onderhoudscontractnummer"
|
||||
type: "text"
|
||||
required: false
|
||||
|
||||
- name: "Documentatie & beheer"
|
||||
description: "Administratieve gegevens en documentatie"
|
||||
fields:
|
||||
- id: "factuurnummer"
|
||||
label: "Factuurnummer / aankoopreferentie"
|
||||
type: "text"
|
||||
required: false
|
||||
|
||||
- id: "leveringsdatum"
|
||||
label: "Leveringsdatum"
|
||||
type: "date"
|
||||
required: false
|
||||
format: "dd-mm-yyyy"
|
||||
|
||||
- id: "handleiding_link"
|
||||
label: "Handleidingen / documenten (link)"
|
||||
type: "text"
|
||||
required: false
|
||||
placeholder: "URL naar documentatie"
|
||||
|
||||
- id: "foto"
|
||||
label: "Foto van het apparaat"
|
||||
type: "photo"
|
||||
required: false
|
||||
max_width: 1200
|
||||
max_height: 1200
|
||||
|
||||
- id: "opmerkingen"
|
||||
label: "Opmerkingen / bijzonderheden"
|
||||
type: "textarea"
|
||||
required: false
|
||||
rows: 4
|
||||
placeholder: "Modificaties, risico's, speciale aandachtspunten..."
|
||||
|
||||
- name: "Afvoer / einde levensduur"
|
||||
description: "Informatie over afvoer en recycling"
|
||||
fields:
|
||||
- id: "datum_buiten_gebruik"
|
||||
label: "Datum buiten gebruikstelling"
|
||||
type: "date"
|
||||
required: false
|
||||
format: "dd-mm-yyyy"
|
||||
|
||||
- id: "reden_afvoer"
|
||||
label: "Reden van afvoer"
|
||||
type: "dropdown"
|
||||
required: false
|
||||
options:
|
||||
- "Einde levensduur"
|
||||
- "Defect (niet repareerbaar)"
|
||||
- "Verouderd"
|
||||
- "Vervangen"
|
||||
- "Verkocht"
|
||||
- "Gestolen"
|
||||
- "Verloren"
|
||||
- "Anders"
|
||||
|
||||
- id: "afvoermethode"
|
||||
label: "Verwijderlocatie of afvoermethode"
|
||||
type: "text"
|
||||
required: false
|
||||
|
||||
- id: "hergebruik_info"
|
||||
label: "Hergebruik / donatie / recycling informatie"
|
||||
type: "textarea"
|
||||
required: false
|
||||
rows: 2
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user