Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96e0f851b5 | ||
|
|
7ffb43f938 | ||
|
|
15441eab35 | ||
|
|
d19bf99e63 |
No files matched your search
@@ -5,6 +5,18 @@ Versionierung folgt [Semantic Versioning](https://semver.org/lang/de/) — solan
|
||||
|
||||
---
|
||||
|
||||
## [0.1.38] - 2026-11-11
|
||||
|
||||
Geräte: Hersteller/Modell anzeigen & suchen, Geräte per CSV in Gruppen aufnehmen.
|
||||
|
||||
### Neu
|
||||
|
||||
- **Geräte per CSV in Gruppen aufnehmen**: Der CSV-Import (Group Management) hat jetzt einen Umschalter **„Benutzer | Geräte"**. Im Geräte-Modus werden **Gerätenamen oder Seriennummern** aufgelöst (über `managedDevices` → Entra-Geräte-Objekt) und als Mitglieder in die gewählte Gruppe aufgenommen; Vorschau und Import wie beim Benutzer-Import. Neuer Endpoint `POST /api/groups/resolve-devices`.
|
||||
- **Geräte-Tab: Spalten Hersteller und Modell** (sortierbar) ergänzt.
|
||||
- **Geräte-Suche** bezieht jetzt **Modell und Hersteller** mit ein (Gruppen-Modus clientseitig; „alle Geräte" serverseitig per `contains`, mit Fallback wenn das Backend es nicht unterstützt).
|
||||
|
||||
---
|
||||
|
||||
## [0.1.37] - 2026-10-19
|
||||
|
||||
Policy-Vergleich, Admin-Vorlagen-Migration über Tenants, sichtbare Zuweisungen, macOS/Docker.
|
||||
|
||||
@@ -190,7 +190,7 @@ $script:State = [pscustomobject]@{
|
||||
Session = @() # geplante Zuweisungen
|
||||
}
|
||||
|
||||
$script:ToolVersion = "0.1.37"
|
||||
$script:ToolVersion = "0.1.38"
|
||||
$script:BuildStamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
|
||||
|
||||
Write-Host ""
|
||||
|
||||
@@ -12,7 +12,7 @@ if (Test-Path "$x64Dotnet\dotnet.exe") {
|
||||
$env:DOTNET_ROOT = "C:\Program Files\dotnet"
|
||||
}
|
||||
|
||||
$version = "0.1.37"
|
||||
$version = "0.1.38"
|
||||
$src = "\\Mac\Home\ClaudePRJ\Intune Manager"
|
||||
$stage = "$env:TEMP\IntuneManagerStage"
|
||||
$installerDir = "$src\installer"
|
||||
|
||||
+116
-1
@@ -34,6 +34,7 @@ function Invoke-ApiHandler {
|
||||
"POST /api/groups" { return New-GroupEndpoint -Body $Body }
|
||||
"POST /api/groups/check" { return Test-GroupNameEndpoint -Body $Body }
|
||||
"POST /api/groups/resolve-upns" { return Resolve-UpnsEndpoint -Body $Body }
|
||||
"POST /api/groups/resolve-devices" { return Resolve-DevicesEndpoint -Body $Body }
|
||||
|
||||
"GET /api/users" { return Search-UsersEndpoint -Query $Query }
|
||||
|
||||
@@ -1583,6 +1584,104 @@ function Resolve-UpnsEndpoint {
|
||||
return @{ items = @($resolved); found = $found.Count; notFound = $notFound.Count }
|
||||
}
|
||||
|
||||
function Resolve-DevicesEndpoint {
|
||||
# Loest Geraete-Bezeichner (GERAETENAME ODER SERIENNUMMER, auto) zu Entra-
|
||||
# Geraete-OBJEKT-IDs auf (fuer die Gruppen-Aufnahme). Rueckgabeformat wie
|
||||
# Resolve-UpnsEndpoint (Upn/UserId/DisplayName/Mail/Found) -> die CSV-Vorschau
|
||||
# und der Import funktionieren unveraendert; UserId ist hier die Entra-Objekt-Id.
|
||||
param($Body)
|
||||
$err = Test-Connected
|
||||
if ($err) { return $err }
|
||||
|
||||
$idsRaw = @($Body.identifiers | ForEach-Object { [string]$_.Trim() } | Where-Object { $_ -ne '' })
|
||||
if ($idsRaw.Count -eq 0) { return @{ __status = 400; error = 'identifiers fehlt oder leer' } }
|
||||
$ids = @($idsRaw | Select-Object -Unique)
|
||||
|
||||
Write-Host "[IMPORT] Loese $($ids.Count) Geraete auf (Name/Serial)..." -ForegroundColor DarkCyan
|
||||
$sel = 'id,deviceName,serialNumber,azureADDeviceId,manufacturer,model'
|
||||
|
||||
# Pass 1: managedDevice per Geraetename (exakt).
|
||||
$md = @{} # identifier(lower) -> managedDevice
|
||||
$reqs = @(); $i = 0
|
||||
foreach ($id in $ids) {
|
||||
$esc = $id -replace "'", "''"
|
||||
$f = [Uri]::EscapeDataString("deviceName eq '$esc'")
|
||||
$reqs += @{ id = "n$i"; method = 'GET'; url = "/deviceManagement/managedDevices?`$filter=$f&`$select=$sel&`$top=1" }
|
||||
$i++
|
||||
}
|
||||
$b1 = Invoke-GraphBatch -Requests $reqs
|
||||
for ($j = 0; $j -lt $ids.Count; $j++) {
|
||||
$r = $b1["n$j"]
|
||||
if ($r -and [int]$r.status -eq 200 -and @($r.body.value).Count -gt 0) { $md[$ids[$j].ToLower()] = @($r.body.value)[0] }
|
||||
}
|
||||
|
||||
# Pass 2: nicht per Name Gefundene per Seriennummer.
|
||||
$unresolved = @($ids | Where-Object { -not $md.ContainsKey($_.ToLower()) })
|
||||
if ($unresolved.Count -gt 0) {
|
||||
$reqs = @(); $i = 0
|
||||
foreach ($id in $unresolved) {
|
||||
$esc = $id -replace "'", "''"
|
||||
$f = [Uri]::EscapeDataString("serialNumber eq '$esc'")
|
||||
$reqs += @{ id = "s$i"; method = 'GET'; url = "/deviceManagement/managedDevices?`$filter=$f&`$select=$sel&`$top=1" }
|
||||
$i++
|
||||
}
|
||||
$b2 = Invoke-GraphBatch -Requests $reqs
|
||||
for ($j = 0; $j -lt $unresolved.Count; $j++) {
|
||||
$r = $b2["s$j"]
|
||||
if ($r -and [int]$r.status -eq 200 -and @($r.body.value).Count -gt 0) { $md[$unresolved[$j].ToLower()] = @($r.body.value)[0] }
|
||||
}
|
||||
}
|
||||
|
||||
# Pass 3: azureADDeviceId -> Entra-Geraete-Objekt-Id (fuer die Gruppen-Aufnahme).
|
||||
$aads = @($md.Values | ForEach-Object { [string]$_.azureADDeviceId } | Where-Object { $_ -and $_ -ne '00000000-0000-0000-0000-000000000000' } | Select-Object -Unique)
|
||||
$entraByAad = @{}
|
||||
if ($aads.Count -gt 0) {
|
||||
$reqs = @(); $i = 0
|
||||
foreach ($aad in $aads) {
|
||||
$f = [Uri]::EscapeDataString("deviceId eq '$aad'")
|
||||
$reqs += @{ id = "e$i"; method = 'GET'; url = "/devices?`$filter=$f&`$select=id,displayName,deviceId&`$top=1" }
|
||||
$i++
|
||||
}
|
||||
$b3 = Invoke-GraphBatch -Requests $reqs
|
||||
for ($j = 0; $j -lt $aads.Count; $j++) {
|
||||
$r = $b3["e$j"]
|
||||
if ($r -and [int]$r.status -eq 200 -and @($r.body.value).Count -gt 0) { $entraByAad[$aads[$j]] = @($r.body.value)[0] }
|
||||
}
|
||||
}
|
||||
|
||||
$resolved = [System.Collections.Generic.List[object]]::new()
|
||||
foreach ($id in $ids) {
|
||||
$m = $null
|
||||
if ($md.ContainsKey($id.ToLower())) { $m = $md[$id.ToLower()] }
|
||||
$objId = ''; $info = ''
|
||||
$dn = ''
|
||||
if ($m) {
|
||||
$dn = [string]$m.deviceName
|
||||
$aad = [string]$m.azureADDeviceId
|
||||
if ($aad -and $entraByAad.ContainsKey($aad)) {
|
||||
$ent = $entraByAad[$aad]
|
||||
if ($ent.id) { $objId = [string]$ent.id }
|
||||
}
|
||||
$sn = [string]$m.serialNumber
|
||||
$hw = ((@([string]$m.manufacturer, [string]$m.model) | Where-Object { $_ }) -join ' ').Trim()
|
||||
$parts = @(); if ($sn) { $parts += "SN $sn" }; if ($hw) { $parts += $hw }
|
||||
$info = ($parts -join ' - ')
|
||||
}
|
||||
$resolved.Add([pscustomobject]@{
|
||||
Upn = $id
|
||||
UserId = $objId
|
||||
DisplayName = $dn
|
||||
Mail = $info
|
||||
Found = [bool]$objId
|
||||
})
|
||||
}
|
||||
|
||||
$found = @($resolved | Where-Object { $_.Found })
|
||||
$notFound = @($resolved | Where-Object { -not $_.Found })
|
||||
Write-Host " -> $($found.Count) Geraete aufgeloest, $($notFound.Count) nicht gefunden" -ForegroundColor DarkGray
|
||||
return @{ items = @($resolved); found = $found.Count; notFound = $notFound.Count }
|
||||
}
|
||||
|
||||
function Remove-GroupMemberEndpoint {
|
||||
param([string]$GroupId, [string]$UserId)
|
||||
$err = Test-Connected
|
||||
@@ -1889,6 +1988,7 @@ function Search-DevicesEndpoint {
|
||||
# Seriennummer wird separat per exaktem Filter gesucht und mit Name-Ergebnissen zusammengefuehrt.
|
||||
$nameItems = @()
|
||||
$snItems = @()
|
||||
$modelItems = @()
|
||||
|
||||
if ($q -and $q.Length -ge 2) {
|
||||
$osComp = @()
|
||||
@@ -1925,6 +2025,21 @@ function Search-DevicesEndpoint {
|
||||
$snResp = Invoke-MgGraphRequestRetry -Uri $snUri -Method GET
|
||||
$snItems = @($snResp.value)
|
||||
} catch { $snItems = @() }
|
||||
|
||||
# Modell / Hersteller: Teilstring-Suche (contains). Nicht jedes DeviceFE-Backend
|
||||
# unterstuetzt das -> abgesichert; bei Ablehnung bleibt die Modell-Suche einfach leer.
|
||||
$mdlFilters = @("(contains(model,'$q') or contains(manufacturer,'$q'))")
|
||||
if ($os) { $mdlFilters += "operatingSystem eq '$os'" }
|
||||
if ($compliance) { $mdlFilters += "complianceState eq '$compliance'" }
|
||||
$mdlFilter = '$filter=' + [uri]::EscapeDataString(($mdlFilters -join ' and ')) + '&'
|
||||
$mdlUri = "https://graph.microsoft.com/beta/deviceManagement/managedDevices?${mdlFilter}`$select=$select&`$top=$top"
|
||||
try {
|
||||
$mdlResp = Invoke-MgGraphRequestRetry -Uri $mdlUri -Method GET
|
||||
$modelItems = @($mdlResp.value)
|
||||
} catch {
|
||||
Write-Host " [DEVICES] Modell-/Hersteller-Suche (contains) nicht unterstuetzt -> uebersprungen" -ForegroundColor DarkYellow
|
||||
$modelItems = @()
|
||||
}
|
||||
} else {
|
||||
$filters = @()
|
||||
if ($os) { $filters += "operatingSystem eq '$os'" }
|
||||
@@ -1939,7 +2054,7 @@ function Search-DevicesEndpoint {
|
||||
|
||||
# Zusammenfuehren, Duplikate entfernen
|
||||
$seen = @{}
|
||||
$all = @($nameItems) + @($snItems)
|
||||
$all = @($nameItems) + @($snItems) + @($modelItems)
|
||||
$items = @()
|
||||
foreach ($d in $all) {
|
||||
if (-not $d.id -or $seen[$d.id]) { continue }
|
||||
|
||||
+69
-9
@@ -5580,6 +5580,7 @@ const CsvImport = {
|
||||
resolved: [], // Ergebnis des letzten Resolve-Calls
|
||||
groupId: '',
|
||||
groupName: '',
|
||||
mode: 'users', // 'users' | 'devices'
|
||||
};
|
||||
|
||||
// Datei-Upload -> Textarea füllen
|
||||
@@ -5644,20 +5645,74 @@ function parseCsvUpns(raw) {
|
||||
return [...new Set(upns)];
|
||||
}
|
||||
|
||||
// Geräte-Bezeichner (Gerätename ODER Seriennummer) aus CSV extrahieren.
|
||||
function parseCsvDevices(raw) {
|
||||
const lines = raw.split(/\r?\n/).map(l => l.trim()).filter(Boolean);
|
||||
if (lines.length === 0) return [];
|
||||
const HEADERS = ['devicename', 'gerätename', 'geraetename', 'name', 'serialnumber', 'seriennummer', 'serial', 'sn'];
|
||||
const firstFields = splitCsvLine(lines[0]).map(f => f.toLowerCase());
|
||||
let colIdx = -1;
|
||||
for (const h of HEADERS) { const idx = firstFields.indexOf(h); if (idx !== -1) { colIdx = idx; break; } }
|
||||
const startLine = colIdx !== -1 ? 1 : 0;
|
||||
if (colIdx === -1) colIdx = 0; // kein Header -> erste Spalte
|
||||
const out = [];
|
||||
for (let i = startLine; i < lines.length; i++) {
|
||||
const val = (splitCsvLine(lines[i])[colIdx] || '').trim();
|
||||
if (val) out.push(val);
|
||||
}
|
||||
return [...new Set(out)];
|
||||
}
|
||||
|
||||
// Beschriftungen je Modus (Benutzer vs. Geräte) umschalten.
|
||||
function csvResolveLabel() { return CsvImport.mode === 'devices' ? 'Geräte auflösen' : 'Benutzer auflösen'; }
|
||||
function csvApplyModeLabels() {
|
||||
const dev = CsvImport.mode === 'devices';
|
||||
const t = document.getElementById('csvImportTitle');
|
||||
if (t) t.textContent = dev ? 'Gerätenamen/Seriennummern einfügen oder CSV hochladen' : 'UPNs einfügen oder CSV hochladen';
|
||||
const ta = document.getElementById('csvImportText');
|
||||
if (ta) ta.placeholder = dev
|
||||
? 'Ein Gerätename oder eine Seriennummer pro Zeile\n(oder erste Spalte einer CSV, Header wird erkannt).'
|
||||
: 'Eine UPN/E-Mail pro Zeile, z.B.\nmax.mustermann@firma.de\nerika.muster@firma.de\n\nOder erste Spalte einer CSV (Header wird erkannt).';
|
||||
const ch = document.getElementById('csvPreviewColHead');
|
||||
if (ch) ch.textContent = dev ? 'Gerät (Name/Serial)' : 'UPN / E-Mail';
|
||||
const rb = document.getElementById('csvResolveBtn');
|
||||
if (rb) rb.textContent = csvResolveLabel();
|
||||
}
|
||||
|
||||
document.querySelectorAll('input[name="csvImportMode"]').forEach(radio => {
|
||||
radio.addEventListener('change', () => {
|
||||
if (!radio.checked) return;
|
||||
CsvImport.mode = radio.value === 'devices' ? 'devices' : 'users';
|
||||
CsvImport.resolved = [];
|
||||
document.getElementById('csvPreviewWrap')?.classList.add('hidden');
|
||||
document.getElementById('csvResultBanner')?.classList.add('hidden');
|
||||
document.getElementById('csvResolveStats').textContent = '';
|
||||
csvApplyModeLabels();
|
||||
updateCsvImportNote();
|
||||
});
|
||||
});
|
||||
|
||||
// Resolve-Button
|
||||
document.getElementById('csvResolveBtn')?.addEventListener('click', async () => {
|
||||
const raw = document.getElementById('csvImportText').value;
|
||||
const upns = parseCsvUpns(raw);
|
||||
if (upns.length === 0) { toast('Keine gültigen UPNs/E-Mails gefunden.', 'warn'); return; }
|
||||
|
||||
const btn = document.getElementById('csvResolveBtn');
|
||||
const stats = document.getElementById('csvResolveStats');
|
||||
const dev = CsvImport.mode === 'devices';
|
||||
|
||||
const entries = dev ? parseCsvDevices(raw) : parseCsvUpns(raw);
|
||||
if (entries.length === 0) {
|
||||
toast(dev ? 'Keine Gerätenamen/Seriennummern gefunden.' : 'Keine gültigen UPNs/E-Mails gefunden.', 'warn');
|
||||
return;
|
||||
}
|
||||
|
||||
btn.disabled = true;
|
||||
btn.textContent = 'Löse auf…';
|
||||
stats.textContent = `${upns.length} Einträge werden aufgelöst…`;
|
||||
stats.textContent = `${entries.length} Einträge werden aufgelöst…`;
|
||||
|
||||
try {
|
||||
const res = await api('/api/groups/resolve-upns', { method: 'POST', body: { upns } });
|
||||
const res = dev
|
||||
? await api('/api/groups/resolve-devices', { method: 'POST', body: { identifiers: entries } })
|
||||
: await api('/api/groups/resolve-upns', { method: 'POST', body: { upns: entries } });
|
||||
CsvImport.resolved = res.items || [];
|
||||
renderCsvPreview();
|
||||
stats.textContent = `${res.found} gefunden, ${res.notFound} nicht gefunden`;
|
||||
@@ -5666,7 +5721,7 @@ document.getElementById('csvResolveBtn')?.addEventListener('click', async () =>
|
||||
stats.textContent = '';
|
||||
} finally {
|
||||
btn.disabled = false;
|
||||
btn.textContent = 'Benutzer auflösen';
|
||||
btn.textContent = csvResolveLabel();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -5704,11 +5759,12 @@ function updateCsvImportNote() {
|
||||
const note = document.getElementById('csvImportNote');
|
||||
const importBtn = document.getElementById('csvImportBtn');
|
||||
const found = CsvImport.resolved.filter(r => r.Found).length;
|
||||
const what = CsvImport.mode === 'devices' ? 'Geräte' : 'Benutzer';
|
||||
if (!CsvImport.groupId) {
|
||||
note.textContent = 'Gruppe links auswählen, dann Benutzer auflösen.';
|
||||
note.textContent = `Gruppe links auswählen, dann ${what} auflösen.`;
|
||||
importBtn.disabled = true;
|
||||
} else if (found === 0) {
|
||||
note.textContent = `Gruppe: ${CsvImport.groupName} — keine aufgelösten Benutzer.`;
|
||||
note.textContent = `Gruppe: ${CsvImport.groupName} — keine aufgelösten ${what}.`;
|
||||
importBtn.disabled = true;
|
||||
} else {
|
||||
note.textContent = `Gruppe: ${CsvImport.groupName}`;
|
||||
@@ -5846,7 +5902,7 @@ function devPassesFilters(d, q, os, cmp) {
|
||||
if (os && !(d.OS || '').toLowerCase().includes(os.toLowerCase())) return false;
|
||||
if (cmp && (d.ComplianceState || '') !== cmp) return false;
|
||||
if (q) {
|
||||
const hay = `${d.DeviceName || ''} ${d.UserDisplayName || ''} ${d.UserPrincipalName || ''} ${d.SerialNumber || ''}`.toLowerCase();
|
||||
const hay = `${d.DeviceName || ''} ${d.UserDisplayName || ''} ${d.UserPrincipalName || ''} ${d.SerialNumber || ''} ${d.Manufacturer || ''} ${d.Model || ''}`.toLowerCase();
|
||||
if (!hay.includes(q)) return false;
|
||||
}
|
||||
return true;
|
||||
@@ -5872,6 +5928,8 @@ const DEV_COL_MAP = {
|
||||
deviceName: 'DeviceName',
|
||||
userDisplayName: 'UserDisplayName',
|
||||
operatingSystem: 'OS',
|
||||
manufacturer: 'Manufacturer',
|
||||
model: 'Model',
|
||||
managementType: 'ManagementType',
|
||||
complianceState: 'ComplianceState',
|
||||
lastSyncDateTime: 'LastSync',
|
||||
@@ -5949,6 +6007,8 @@ function devRender() {
|
||||
<td>${escapeHtml(d.DeviceName || '—')}</td>
|
||||
<td>${escapeHtml(d.UserDisplayName || '—')}</td>
|
||||
<td>${escapeHtml(d.OS || '—')}</td>
|
||||
<td>${escapeHtml(d.Manufacturer || '—')}</td>
|
||||
<td>${escapeHtml(d.Model || '—')}</td>
|
||||
<td>${devMgmtBadge(d.ManagementType)}</td>
|
||||
<td><span class="dev-badge ${cmpCls}">${escapeHtml(d.ComplianceState || '—')}</span></td>
|
||||
<td>${sync}</td>
|
||||
|
||||
+9
-3
@@ -342,7 +342,11 @@
|
||||
|
||||
<!-- Rechte Spalte: CSV-Import -->
|
||||
<div class="gex-right hidden" id="gexPaneImport">
|
||||
<div class="gex-section-title">UPNs einfügen oder CSV hochladen</div>
|
||||
<div class="csv-mode-toggle">
|
||||
<label><input type="radio" name="csvImportMode" value="users" checked> Benutzer</label>
|
||||
<label><input type="radio" name="csvImportMode" value="devices"> Geräte</label>
|
||||
</div>
|
||||
<div class="gex-section-title" id="csvImportTitle">UPNs einfügen oder CSV hochladen</div>
|
||||
<div class="csv-import-input-row">
|
||||
<textarea id="csvImportText" class="csv-import-textarea" placeholder="Eine UPN/E-Mail pro Zeile, z.B. max.mustermann@firma.de erika.muster@firma.de Oder erste Spalte einer CSV (Header wird erkannt)."></textarea>
|
||||
<label class="csv-upload-label" title="CSV-Datei auswählen">
|
||||
@@ -364,7 +368,7 @@
|
||||
</div>
|
||||
<div class="csv-preview-table-wrap">
|
||||
<table class="csv-preview-table">
|
||||
<thead><tr><th></th><th>UPN / E-Mail</th><th>Name</th><th>Status</th></tr></thead>
|
||||
<thead><tr><th></th><th id="csvPreviewColHead">UPN / E-Mail</th><th>Name</th><th>Status</th></tr></thead>
|
||||
<tbody id="csvPreviewBody"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
@@ -484,7 +488,7 @@
|
||||
<div style="display:flex;align-items:center;gap:8px;padding:10px 16px;border-bottom:1px solid var(--hairline-soft);flex-shrink:0;">
|
||||
<div style="position:relative;display:flex;align-items:center;flex:1;min-width:0;">
|
||||
<svg style="position:absolute;left:10px;color:var(--muted);pointer-events:none;" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>
|
||||
<input type="search" id="devSearch" style="width:100%;box-sizing:border-box;padding:0 12px 0 34px;height:34px;background:var(--canvas);border:1px solid var(--hairline);border-radius:6px;color:var(--ink);font-size:13px;font-family:inherit;" placeholder="Gerätename, Benutzer, Seriennummer…" autocomplete="off">
|
||||
<input type="search" id="devSearch" style="width:100%;box-sizing:border-box;padding:0 12px 0 34px;height:34px;background:var(--canvas);border:1px solid var(--hairline);border-radius:6px;color:var(--ink);font-size:13px;font-family:inherit;" placeholder="Gerätename, Benutzer, Seriennummer, Modell…" autocomplete="off">
|
||||
</div>
|
||||
<span id="devCount" class="count-badge">0</span>
|
||||
<select id="devOsFilter" style="height:34px;padding:0 8px;border:1px solid var(--hairline);border-radius:6px;background:var(--canvas);color:var(--ink);font-size:12.5px;cursor:pointer;">
|
||||
@@ -527,6 +531,8 @@
|
||||
<th class="sortable" data-col="deviceName">Gerät <span class="sort-ico"></span></th>
|
||||
<th class="sortable" data-col="userDisplayName">Benutzer <span class="sort-ico"></span></th>
|
||||
<th class="sortable" data-col="operatingSystem">OS <span class="sort-ico"></span></th>
|
||||
<th class="sortable" data-col="manufacturer">Hersteller <span class="sort-ico"></span></th>
|
||||
<th class="sortable" data-col="model">Modell <span class="sort-ico"></span></th>
|
||||
<th class="sortable" data-col="managementType">Verwaltung <span class="sort-ico"></span></th>
|
||||
<th class="sortable" data-col="complianceState">Compliance <span class="sort-ico"></span></th>
|
||||
<th class="sortable" data-col="lastSyncDateTime">Letzter Sync <span class="sort-ico"></span></th>
|
||||
|
||||
@@ -5182,6 +5182,30 @@ body.read-only .app-row {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.csv-mode-toggle {
|
||||
display: inline-flex;
|
||||
gap: 2px;
|
||||
margin-bottom: 8px;
|
||||
background: var(--hairline-soft, rgba(255,255,255,.06));
|
||||
border-radius: 7px;
|
||||
padding: 2px;
|
||||
}
|
||||
.csv-mode-toggle label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 3px 12px;
|
||||
font-size: 12.5px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
color: var(--text-dim, #999);
|
||||
}
|
||||
.csv-mode-toggle label:has(input:checked) {
|
||||
background: var(--canvas);
|
||||
color: var(--ink, inherit);
|
||||
font-weight: 600;
|
||||
}
|
||||
.csv-mode-toggle input { accent-color: var(--accent, #60a5fa); }
|
||||
.csv-import-textarea {
|
||||
flex: 1;
|
||||
height: 130px;
|
||||
|
||||
Reference in new issue
Block a user