From 63ba930d121090d31b5f879e45f24dda0c2930a3 Mon Sep 17 00:00:00 2001
From: Damian Romano Haj-Houssin <damian.haj-houssin@student.uni-halle.de>
Date: Sun, 5 Jan 2025 10:40:22 +0100
Subject: [PATCH] Moved datatable icon to end in navbar.

---
 src/Main.elm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Main.elm b/src/Main.elm
index 52b384a..25f97bd 100644
--- a/src/Main.elm
+++ b/src/Main.elm
@@ -170,14 +170,14 @@ viewNav ( global, _ ) =
         , div [ Html.Attributes.class "navbar-view-icons" ]
             [ button [ activeClass MapView |> Html.Attributes.class, ViewChange MapView |> onClick ]
                 [ i [ Html.Attributes.class "fa-solid fa-map fa-xl" ] [] ]
-            , button [ activeClass DataTable |> Html.Attributes.class, ViewChange DataTable |> onClick ]
-                [ i [ Html.Attributes.class "fa-solid fa-table fa-xl" ] [] ]
             , button [ activeClass ForceDirectedGraph |> Html.Attributes.class, ViewChange ForceDirectedGraph |> onClick ]
                 [ i [ Html.Attributes.class "fa-solid fa-hexagon-nodes fa-xl" ] [] ]
             , button [ activeClass BarPlot |> Html.Attributes.class, ViewChange BarPlot |> onClick ]
                 [ i [ Html.Attributes.class "fa-solid fa-chart-simple fa-xl" ] [] ]
             , button [ activeClass LinePlot |> Html.Attributes.class, ViewChange LinePlot |> onClick ]
                 [ i [ Html.Attributes.class "fa-solid fa-chart-line fa-xl" ] [] ]
+            , button [ activeClass DataTable |> Html.Attributes.class, ViewChange DataTable |> onClick ]
+                [ i [ Html.Attributes.class "fa-solid fa-table fa-xl" ] [] ]
             ]
         ]
 
-- 
GitLab