Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • informationsvisualisierung-2024/infovis-projekt
1 result
Select Git revision
Show changes
Commits on Source (4)
...@@ -179,7 +179,6 @@ body { ...@@ -179,7 +179,6 @@ body {
width: 120px; width: 120px;
height: 120px; height: 120px;
animation: spin 2s linear infinite; animation: spin 2s linear infinite;
} }
@keyframes spin { @keyframes spin {
......
...@@ -168,18 +168,16 @@ viewNav ( global, _ ) = ...@@ -168,18 +168,16 @@ viewNav ( global, _ ) =
, div [ Html.Attributes.class "navbar-title" ] , div [ Html.Attributes.class "navbar-title" ]
[ text "Schengen Visa Statistics" ] [ text "Schengen Visa Statistics" ]
, div [ Html.Attributes.class "navbar-view-icons" ] , div [ Html.Attributes.class "navbar-view-icons" ]
[ button [ activeClass Other |> Html.Attributes.class, ViewChange Other |> onClick ] [ button [ activeClass MapView |> Html.Attributes.class, ViewChange MapView |> onClick ]
[ i [ Html.Attributes.class "fa-solid fa-wrench fa-xl" ] [] ]
, button [ activeClass MapView |> Html.Attributes.class, ViewChange MapView |> onClick ]
[ i [ Html.Attributes.class "fa-solid fa-map fa-xl" ] [] ] [ 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 ] , button [ activeClass ForceDirectedGraph |> Html.Attributes.class, ViewChange ForceDirectedGraph |> onClick ]
[ i [ Html.Attributes.class "fa-solid fa-poo fa-xl" ] [] ] [ i [ Html.Attributes.class "fa-solid fa-hexagon-nodes fa-xl" ] [] ]
, button [ activeClass BarPlot |> Html.Attributes.class, ViewChange BarPlot |> onClick ] , button [ activeClass BarPlot |> Html.Attributes.class, ViewChange BarPlot |> onClick ]
[ i [ Html.Attributes.class "fa-solid fa-chart-simple fa-xl" ] [] ] [ i [ Html.Attributes.class "fa-solid fa-chart-simple fa-xl" ] [] ]
, button [ activeClass LinePlot |> Html.Attributes.class, ViewChange LinePlot |> onClick ] , button [ activeClass LinePlot |> Html.Attributes.class, ViewChange LinePlot |> onClick ]
[ i [ Html.Attributes.class "fa-solid fa-chart-line fa-xl" ] [] ] [ 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" ] [] ]
] ]
] ]
...@@ -189,15 +187,13 @@ viewContent ( global, local ) = ...@@ -189,15 +187,13 @@ viewContent ( global, local ) =
let let
message = message =
Html.div Html.div
[ Html.Attributes.style "justify-items" "center" [ Html.Attributes.style "margin" "auto" ]
, Html.Attributes.style "align-content" "center"
, Html.Attributes.style "flex-grow" "1"
]
(case global.progress of (case global.progress of
Loading -> Loading ->
[ Html.div [ Html.Attributes.class "loader" ] [] [ Html.div [ Html.Attributes.class "loader" ] []
, Html.div , Html.div
[ Html.Attributes.style "position" "relative" [ Html.Attributes.style "position" "relative"
, Html.Attributes.style "left" "1.5rem"
, Html.Attributes.style "bottom" "5rem" , Html.Attributes.style "bottom" "5rem"
] ]
[ Html.text "Loading Data..." ] [ Html.text "Loading Data..." ]
...@@ -215,10 +211,6 @@ viewContent ( global, local ) = ...@@ -215,10 +211,6 @@ viewContent ( global, local ) =
div [ Html.Attributes.class "content" ] div [ Html.Attributes.class "content" ]
[ message ] [ message ]
Other ->
div [ Html.Attributes.class "content" ]
[ text "Other Page" ]
MapView -> MapView ->
div [ Html.Attributes.class "content" ] div [ Html.Attributes.class "content" ]
[ MapView.view global local.map ] [ MapView.view global local.map ]
......
...@@ -10,7 +10,6 @@ import Data.DataLoader exposing (Entry) ...@@ -10,7 +10,6 @@ import Data.DataLoader exposing (Entry)
type View type View
= Home = Home
| Other
| MapView | MapView
| DataTable | DataTable
| ForceDirectedGraph | ForceDirectedGraph
......