TakeCareApp/app/routing_module.R

43 lines
1.3 KiB
R
Raw Normal View History

2020-12-04 18:06:31 +01:00
library(shiny)
library(shiny.router)
library(magrittr)
library(ggplot2)
library(plotly)
library(DT)
source("home_module.R",encoding="utf-8")
2020-12-19 19:11:19 +01:00
source("about.R",encoding="utf-8")
2020-12-04 18:06:31 +01:00
source("profil_module.R",encoding="utf-8")
2020-12-12 12:38:54 +01:00
source("login_module.R",encoding="utf-8")
source("register_module.R",encoding="utf-8")
2020-12-19 19:25:04 +01:00
source("calculator.R", encoding = "utf-8")
source("calculator_view.R", encoding = "utf-8")
2020-12-19 20:18:46 +01:00
source("firmy_module.R", encoding = "utf-8")
2021-01-16 02:13:21 +01:00
source("klasyfikator.R", encoding = "utf-8")
2020-12-04 18:06:31 +01:00
2020-12-19 19:11:19 +01:00
2020-12-04 18:06:31 +01:00
home_page <-homeUI(id="home")
about_page <-aboutUI(id="about")
profil_page <-profilUI(id="profil")
2020-12-12 12:38:54 +01:00
login_page <-loginUI(id="login")
register_page <-registerUI(id="register")
2020-12-19 19:25:04 +01:00
calculator_page <- calculatorUI(id="calculator")
calculatorView_page <- calculatorViewUI(id="calculatorView")
2020-12-28 16:04:02 +01:00
firmy_page <- firmyUI(id="firms")
2021-01-16 02:13:21 +01:00
klas_page <- klasyui(id="klasyfikator")
2020-12-04 18:06:31 +01:00
router <- make_router(
route("home", home_page,homeServer),
route("about", about_page,aboutServer),
2020-12-12 12:38:54 +01:00
route("profil", profil_page,profilServer),
route("login", login_page,loginServer),
2020-12-19 19:25:04 +01:00
route("register", register_page,registerServer),
2020-12-19 20:18:46 +01:00
route("calculator", calculator_page, calculatorServer),
route("iota", calculatorView_page, calculatorViewServer),
2021-01-17 19:47:45 +01:00
route("firms", firmy_page, firmyServer),
2021-01-16 02:13:21 +01:00
route("klasyfikator",klas_page,klasyserver)
2020-12-19 20:18:46 +01:00
2020-12-04 18:06:31 +01:00
)