mirror of
https://github.com/forkless/Piperless.git
synced 2026-08-16 00:46:38 +02:00
style(dashboard): reorder audio type cards to Opus, MP3, WAV
This commit is contained in:
@@ -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 ],
|
||||
|
||||
Reference in New Issue
Block a user