feat: matrice de routing audio style Dante Controller (Phase 2.5)
- API GET/POST /admin/audio/routing - Composant AudioRoutingMatrix avec 2 matrices : * Inputs vers Groupes (8 inputs x N groupes) * Groupes vers Outputs (N groupes x 8 outputs) - Interface visuelle type grille cliquable - Intégration noms de canaux personnalisés - Stockage routing dans config.yaml - Responsive design avec CSS Grid - Style cohérent avec interface admin
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import './Admin.css';
|
||||
import AudioRoutingMatrix from './components/AudioRoutingMatrix';
|
||||
|
||||
const API_URL = import.meta.env.VITE_API_URL || '/api';
|
||||
|
||||
@@ -642,6 +643,8 @@ function Admin() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<AudioRoutingMatrix groups={groups} channelNames={channelNames} />
|
||||
|
||||
{currentDevice && Object.keys(currentDevice).length > 0 && (
|
||||
<div className="current-config">
|
||||
<h3>Configuration actuelle</h3>
|
||||
|
||||
Reference in New Issue
Block a user