diff --git a/docker-compose.yml b/docker-compose.yml index 5eec5bf..366a5f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,7 @@ services: db: image: postgres:16 + restart: unless-stopped volumes: - postgres_data:/var/lib/postgresql/data environment: @@ -10,6 +11,7 @@ services: pgadmin: image: dpage/pgadmin4 + restart: unless-stopped environment: - PGADMIN_DEFAULT_EMAIL=catalin@x3c.ro - PGADMIN_DEFAULT_PASSWORD=CFratxlTiJ0TB @@ -20,6 +22,7 @@ services: web: build: . + restart: unless-stopped command: python manage.py runserver 0.0.0.0:8000 volumes: - .:/app diff --git a/equipment/templates/equipment/print_inventory.html b/equipment/templates/equipment/print_inventory.html index 74e7b30..cfea05b 100644 --- a/equipment/templates/equipment/print_inventory.html +++ b/equipment/templates/equipment/print_inventory.html @@ -57,6 +57,7 @@ Procesor: {{ pc.cpu }} | Placă de bază: {{ pc.motherboard }} | RAM: {{ pc.ram }} | Stocare: {{ pc.storage }} {% if pc.optical_drive %}| Optic: {{ pc.optical_drive }}{% endif %}
MAC: {{ pc.mac_address }} | Licența S.O.: {{ pc.os_license }} {% if pc.additional_licenses %}| Licențe: {{ pc.additional_licenses }}{% endif %} + {% if pc.observations %}
Observații: {{ pc.observations }}{% endif %}
@@ -84,6 +85,7 @@ {{ peripheral.name }}
S/N: {{ peripheral.serial_number }} + {% if peripheral.observations %}
Observații: {{ peripheral.observations }}{% endif %}
diff --git a/manual.odt b/manual.odt new file mode 100644 index 0000000..0162bfd Binary files /dev/null and b/manual.odt differ