Files
Netbox-Utilities/netbox_utilities/templates/netbox_utilities/diskbaytemplate.html
T
MrBlakeandClaude Opus 5.5 d45afa5e54 feat: several slot areas per device, e.g. front bays and a PCIe card
Disks that are not in the front bays, such as NVMe SSDs on a PCIe card or
M.2 SSDs on a boot card, can now be documented in their own slot area.

- A device can have several areas, each with name, order, slot count,
  rows, first slot, numbering and form factor; the tab shows one grid per
  area with its own fill, select and edit actions.
- Add area, edit area and delete empty areas on the Disks tab.
- Slot numbers are unique per area; drag and drop also moves or swaps
  disks between areas.
- Device type templates store all areas; Apply template creates the
  missing ones.
- Disks get a bay field in forms, CSV import (bay column, optional when
  the device has one area), REST API, GraphQL, filters and tables.
- Migration 0010 turns every existing layout into the area "Front" and
  assigns the existing disks to it.
- The grouped disk overview shows the area in its own column and centres
  the slot number.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 14:46:48 +02:00

23 lines
1013 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends 'generic/object.html' %}
{% load helpers %}
{% block content %}
<div class="row mb-3">
<div class="col col-12 col-xl-6">
<div class="card">
<h2 class="card-header">Datenträger-Vorlage</h2>
<table class="table table-hover attr-table">
<tr><th scope="row">Gerätetyp</th><td>{{ object.device_type|linkify }}</td></tr>
<tr><th scope="row">Bereich</th><td>{{ object.name }}</td></tr>
<tr><th scope="row">Reihenfolge</th><td>{{ object.weight }}</td></tr>
<tr><th scope="row">Steckplätze</th><td>{{ object.slot_count }} ({{ object.first_slot }}–{{ object.last_slot }})</td></tr>
<tr><th scope="row">Reihen</th><td>{{ object.rows }}</td></tr>
<tr><th scope="row">Nummerierung</th><td>{{ object.get_numbering_display }}</td></tr>
<tr><th scope="row">Bauform</th><td>{{ object.get_form_factor_display|placeholder }}</td></tr>
</table>
</div>
{% include 'inc/panels/tags.html' %}
</div>
</div>
{% endblock content %}