mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-05-13 17:11:49 +00:00
feat: devWeb - update button color on modal
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
<footer class="modal-card-foot">
|
<footer class="modal-card-foot">
|
||||||
<button class="button is-success">Fermer</button>
|
<button class="button is-primary is-light">Fermer</button>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
const $tdAction = document.createElement('td');
|
const $tdAction = document.createElement('td');
|
||||||
const $button = document.createElement('button');
|
const $button = document.createElement('button');
|
||||||
|
|
||||||
$button.classList.add('button', 'is-success');
|
$button.classList.add('button', 'is-primary', 'is-light');
|
||||||
$button.textContent = 'Inviter';
|
$button.textContent = 'Inviter';
|
||||||
$button.addEventListener('click', () => {
|
$button.addEventListener('click', () => {
|
||||||
const data = {
|
const data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user