refactor: Remove link column from ServerManager and streamline action button layout for improved UI consistency
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 9m26s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 9m26s
This commit is contained in:
@@ -524,7 +524,6 @@ function ServerManager() {
|
||||
)}
|
||||
</th>
|
||||
<th className="text-center">Статус</th>
|
||||
<th className="text-end">Ссылка</th>
|
||||
<th className="text-end" style={{ minWidth: 140 }}>Действия</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -545,18 +544,18 @@ function ServerManager() {
|
||||
<span className="badge bg-success-lt text-success">Онлайн</span>
|
||||
</td>
|
||||
<td className="text-end" style={{ minWidth: 140 }}>
|
||||
<div className="btn-list gap-1 mb-0">
|
||||
<button className="btn btn-icon btn-sm btn-outline-primary" title="Ссылка" onClick={() => handleGenerateLink(server)} onContextMenu={(e) => { e.preventDefault(); quickCopyLink(server); }}>
|
||||
<IconLink size={18} />
|
||||
</button>
|
||||
<button className="btn btn-icon btn-sm btn-outline-secondary" title="Редактировать" onClick={() => handleEdit(server)}>
|
||||
<IconEdit size={18} />
|
||||
</button>
|
||||
<button className="btn btn-icon btn-sm btn-outline-danger" title="Удалить" onClick={() => confirmDelete(server)}>
|
||||
<IconTrash size={18} />
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
<div className="btn-list gap-1 mb-0">
|
||||
<button className="btn btn-icon btn-sm btn-outline-primary" title="Ссылка" onClick={() => handleGenerateLink(server)} onContextMenu={(e) => { e.preventDefault(); quickCopyLink(server); }}>
|
||||
<IconLink size={18} />
|
||||
</button>
|
||||
<button className="btn btn-icon btn-sm btn-outline-secondary" title="Редактировать" onClick={() => handleEdit(server)}>
|
||||
<IconEdit size={18} />
|
||||
</button>
|
||||
<button className="btn btn-icon btn-sm btn-outline-danger" title="Удалить" onClick={() => confirmDelete(server)}>
|
||||
<IconTrash size={18} />
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
))}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user