From 3d707b4d8a996f2595002d1eaa2f28b2a6f46448 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:38:14 +0100 Subject: [PATCH] Removed dummy Other page. --- src/Main.elm | 8 +------- src/Model.elm | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Main.elm b/src/Main.elm index a3bfbbf..52b384a 100644 --- a/src/Main.elm +++ b/src/Main.elm @@ -168,9 +168,7 @@ viewNav ( global, _ ) = , div [ Html.Attributes.class "navbar-title" ] [ text "Schengen Visa Statistics" ] , div [ Html.Attributes.class "navbar-view-icons" ] - [ button [ activeClass Other |> Html.Attributes.class, ViewChange Other |> onClick ] - [ i [ Html.Attributes.class "fa-solid fa-wrench fa-xl" ] [] ] - , button [ activeClass MapView |> Html.Attributes.class, ViewChange MapView |> onClick ] + [ 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" ] [] ] @@ -215,10 +213,6 @@ viewContent ( global, local ) = div [ Html.Attributes.class "content" ] [ message ] - Other -> - div [ Html.Attributes.class "content" ] - [ text "Other Page" ] - MapView -> div [ Html.Attributes.class "content" ] [ MapView.view global local.map ] diff --git a/src/Model.elm b/src/Model.elm index 923afd8..3173e71 100644 --- a/src/Model.elm +++ b/src/Model.elm @@ -10,7 +10,6 @@ import Data.DataLoader exposing (Entry) type View = Home - | Other | MapView | DataTable | ForceDirectedGraph -- GitLab