style(dashboard): reorder audio type cards to Opus, MP3, WAV

This commit is contained in:
Forkless
2026-05-12 01:19:17 +02:00
parent 539816b800
commit 7c24206d11
+5 -5
View File
@@ -83,16 +83,16 @@ class Dashboard {
<p class="piperless-dash-empty"><?php esc_html_e( 'No audio files generated yet. Publish a post or generate audio from the editor sidebar.', 'piperless' ); ?></p>
<?php else : ?>
<div class="piperless-dash-grid">
<?php $this->render_file_card(
__( 'MP3', 'piperless' ),
$file_stats['mp3'] ?? [ 'count' => 0, 'bytes' => 0 ],
'#008a20'
); ?>
<?php $this->render_file_card(
__( 'Opus', 'piperless' ),
$file_stats['opus'] ?? [ 'count' => 0, 'bytes' => 0 ],
'#1565c0'
); ?>
<?php $this->render_file_card(
__( 'MP3', 'piperless' ),
$file_stats['mp3'] ?? [ 'count' => 0, 'bytes' => 0 ],
'#008a20'
); ?>
<?php $this->render_file_card(
__( 'WAV', 'piperless' ),
$file_stats['wav'] ?? [ 'count' => 0, 'bytes' => 0 ],