From 5a4a9575429ab36d3c68031e5e07cdce1d68b4e1 Mon Sep 17 00:00:00 2001 From: Fauvet Matthis Date: Sat, 29 Jun 2024 02:41:21 +0200 Subject: [PATCH] test route --- app.riot | 8 ++++++++ index.html | 38 ++++++++++++++++++-------------------- onzer.riot | 48 ------------------------------------------------ 3 files changed, 26 insertions(+), 68 deletions(-) create mode 100644 app.riot diff --git a/app.riot b/app.riot new file mode 100644 index 0000000..dec344e --- /dev/null +++ b/app.riot @@ -0,0 +1,8 @@ + + +

Bonjour les nullos

+ + +
\ No newline at end of file diff --git a/index.html b/index.html index 13981fe..742e695 100644 --- a/index.html +++ b/index.html @@ -7,31 +7,29 @@ - + - + + - - + + - - + + - - riot.compile().then(() => { - riot.mount('onzer', { items: fetch_data() }); - }) - - - - - - + \ No newline at end of file diff --git a/onzer.riot b/onzer.riot index c27355b..d60d989 100644 --- a/onzer.riot +++ b/onzer.riot @@ -163,59 +163,11 @@ background-color: #D1FAE5; cursor: not-allowed; } - .add-button { - background-color: #34D399; - border: none; - border-radius: 4px; - padding: 8px 16px; - margin-top: 8px; - cursor: pointer; - color: white; - } .no-results { text-align: center; margin-top: 16px; font-size: 18px; color: #6B7280; } - - /* Modal */ - .modal { - /*display: none; /* Par défaut, le modal est caché */ - position: fixed; - z-index: 10; - left: 0; - top: 0; - width: 100%; - height: 100%; - overflow: auto; - background-color: rgba(0,0,0,0.4); /* Fond semi-transparent pour le modal */ - } - - .modal-content { - background-color: #fefefe; - margin: 10% auto; /* Centre le modal à l'écran */ - padding: 20px; - border: 1px solid #888; - width: 80%; - max-width: 600px; - border-radius: 8px; - position: relative; - } - - .close { - position: absolute; - top: 10px; - right: 10px; - font-size: 24px; - font-weight: bold; - cursor: pointer; - color: #888; - } - - .close:hover, - .close:focus { - color: #000; - }