From 5ba69fbb545ec06504dd58bf3e08d6b451b0ccf8 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Tue, 2 Dec 2025 17:46:01 +0100 Subject: [PATCH] improve layout --- app/views/moods/index.html.erb | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/views/moods/index.html.erb b/app/views/moods/index.html.erb index 341d65f..0de47a4 100644 --- a/app/views/moods/index.html.erb +++ b/app/views/moods/index.html.erb @@ -1,14 +1,14 @@ -
-
+
+
<%= image_tag(@mode + ".jpg", "data-mood-target": "image") %>
-
-

Comment ça KLUK aujourd'hui ?

-
Aujourd'hui
-
-
+
+

Comment ça KLUK aujourd'hui ?

+
Aujourd'hui
+
+
<% @mood_log.each do |week| %> -
+
<% week.each do |d| %> <% if d[1] %>
" data-mode="<%= d[1] %>" data-day="<%= d[0] %>" data-action="mouseover->mood#updateDayInfo mouseleave->mood#updateDayInfo" title="<%= d[0] %> : <%= d[1] %>" class="day <%= d[1] %>">
@@ -20,24 +20,24 @@ <% end %>
-
-
+
+
Triste
-
+
En charge
-
+
Croisiere
-
+
Créatif
-
+
A fond