✨ feat: 优化问题页面样式并添加复制功能
This commit is contained in:
@@ -97,7 +97,15 @@
|
||||
<?php
|
||||
foreach($view_problemset as $row){
|
||||
echo "<tr>";
|
||||
foreach($row as $table_cell){
|
||||
foreach($row as $cell_index => $table_cell){
|
||||
if ($cell_index === 0) {
|
||||
$status_value = trim(strip_tags($table_cell));
|
||||
if ($status_value === 'Y') {
|
||||
$table_cell = '<span style="color:#21ba45" title="Y">✅</span>';
|
||||
} else if ($status_value === 'N') {
|
||||
$table_cell = '<span style="color:#db2828" title="N">❌</span>';
|
||||
}
|
||||
}
|
||||
echo "<td>".$table_cell."</td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
|
||||
Reference in New Issue
Block a user