Filter hinzugefügt

This commit is contained in:
2026-03-19 17:06:40 +01:00
parent daba64c83a
commit 70a2fe2526
7 changed files with 140 additions and 19 deletions
+28 -5
View File
@@ -1,11 +1,34 @@
## ui.R ##
dashboardPage(
dashboardHeader(),
dashboardHeader( ),
## Sidebar content
dashboardSidebar(
sidebarMenu(
menuItem("buchungen", tabName = "buchungen", icon = icon("dashboard")),
menuItem("konten", tabName = "Konten", icon = icon("th"))
sidebarMenu(id = "tabs",
menuItem("buchungen", tabName = "buchungen", icon = icon("list")),
menuItem("konten", tabName = "konten", icon = icon("building-columns"))
),
conditionalPanel(
condition = "input.tabs == 'buchungen'",
tags$ul(
class = "sidebar-menu",
tags$li(
class = "treeview",
tags$a(href = "#",
tags$i(class = "fa fa-filter"),
tags$span("Filter"),
tags$span(class = "pull-right-container",
tags$i(class = "fa fa-angle-left pull-right")
)
),
tags$ul(
class = "treeview-menu",
style = "padding: 5px 0;",
tags$li(actionBttn("filter_alle", "Alle", size = "xs", style = "minimal")),
tags$li(actionBttn("filter_giro", "Girokonto", size = "xs", style = "minimal")),
tags$li(actionBttn("filter_monat", "Dieser Monat", size = "xs", style = "minimal"))
)
)
)
)
),
dashboardBody(
@@ -14,7 +37,6 @@ dashboardPage(
tabItem(tabName = "buchungen",
buchungenUI("buchungen_tab")
),
# Second tab content
tabItem(tabName = "widgets",
h2("Widgets tab content")
@@ -22,3 +44,4 @@ dashboardPage(
)
)
)