use bootstrap for delete link
This commit is contained in:
parent
a5e154a18c
commit
ba17ae3863
|
@ -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>";
|
||||
} ?>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue