use bootstrap for delete link

This commit is contained in:
Tealk 2021-03-19 12:34:46 +01:00
parent a5e154a18c
commit ba17ae3863
No known key found for this signature in database
GPG Key ID: 5FE349ABC863E7F9
2 changed files with 2 additions and 11 deletions

View File

@ -53,7 +53,7 @@ if (isset($message)) {
echo "<td>" . $result['group_name'] . "</td>";
if ($user->get_rank() <= 1) {
echo '<td class="text-center"><a href="' . WEB_URL . '/admin/?do=settings&type=service&delete=' . $result['id'] . '" class="delete-service"><i class="fa fa-trash"></i></a></td>';
echo '<td class="text-center"><a href="' . WEB_URL . '/admin/?do=settings&type=service&delete=' . $result['id'] . '" class="link-danger"><i class="fa fa-trash"></i></a></td>';
}
echo "</tr>";
} ?>
@ -102,7 +102,7 @@ if (isset($message)) {
echo "<td>" . $visibility[$result['visibility']] . "</td>";
if ($user->get_rank() <= 1) {
echo '<td class="text-center"><a href="' . WEB_URL . '/admin/?do=settings&type=groups&delete=' . $result['id'] . '" class=" delete-service"><i class="fa fa-trash"></i></a></td>';
echo '<td class="text-center"><a href="' . WEB_URL . '/admin/?do=settings&type=groups&delete=' . $result['id'] . '" class=" link-danger"><i class="fa fa-trash"></i></a></td>';
}
echo "</tr>";
} ?>

View File

@ -237,15 +237,6 @@ article.card textarea {
min-width: 250px;
}
.delete-service {
color: red;
font-size: 1em;
}
.delete-service:hover {
color: darkred;
}
.service label {
margin-bottom: 0;
}