-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathui.R
164 lines (163 loc) · 6.19 KB
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
library("shinyjs")
ui <- function(request) {
tagList(
tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "custom.css")
),
useShinyjs(),
navbarPage("CH Covid-19 Dashboard",
id = "tab", theme = "theme.min.css", collapsible = TRUE,
tabPanel("",
value = "home", icon = icon("home"),
fluidRow(
thumbnailPanel(
title = "Analyzing epidemic trends of SARS-CoV-2 in Switzerland",
authors = "Nanina Anderegg, Julien Riou, Christian L. Althaus",
affiliation = "Institute of Social and Preventive Medicine, Universität Bern, Switzerland<br><br>",
thumbnail = "trends-thumbnail.png",
tabId = "selectTrends"
),
thumbnailPanel(
title = "Data Tables",
authors = "",
affiliation = "",
thumbnail = "tables-thumbnail.png",
tabId = "selectTables"
),
thumbnailPanel(
title = "Quantifying the impact of quarantine duration on COVID-19 transmission",
authors = "Peter Ashcroft, Sonja Lehtinen, Daniel Angst, Nicola Low and Sebastian Bonhoeffer",
affiliation = "ETH Zurich & ISPM Universität Bern",
thumbnail = "quarantineModule-thumbnail.png",
tabId = "selectQuarantine"
),
thumbnailPanel(
title = "Effectiveness of TTIQ",
authors = "Peter Ashcroft, Sonja Lehtinen, and Sebastian Bonhoeffer",
affiliation = "Institute of Integrative Biology, ETH Zurich, Switzerland<br><br>",
thumbnail = "ttiqModule-thumbnail.png",
tabId = "selectTTIQ"
),
thumbnailPanel(
title = "Time Series",
authors = "Chaoran Chen, Timothy Vaughan, Tanja Stadler",
affiliation = "Computational Evolution Group, D-BSSE, ETH Zurich, Switzerland",
thumbnail = "ts-thumbnail.png",
tabId = "selectTs"
),
thumbnailPanel(
title = "Time Series: Data Quality",
authors = "Chaoran Chen, Timothy Vaughan, Tanja Stadler",
affiliation = "Computational Evolution Group, D-BSSE, ETH Zurich, Switzerland",
thumbnail = "ts-thumbnail.png",
tabId = "selectTsDataQuality"
),
thumbnailPanel(
title = "Live time-series analysis to monitor and forecast the COVID-19 outbreak in Switzerland",
authors = "Monica Golumbeanu and Melissa Penny",
affiliation = "Swiss Tropical and Public Health Institute and University of Basel<br>",
thumbnail = "forecastModule-thumbnail.png",
tabId = "selectForecast"
),
thumbnailPanel(
title = "Lagebeurteilung",
authors = "Swiss Covid-19 Science Task Force",
affiliation = "",
thumbnail = "lagebericht-thumbnail.jpg",
tabId = "selectLagebeurteilung"
),
thumbnailPanel(
title = "Vaccinations",
authors = "",
affiliation = "",
thumbnail = "vaccination-thumbnail.png",
tabId = "selectVaccinations"
)
),
hr(),
fluidRow(
thumbnailPanelExt(
title = "R<sub>e</sub> Estimation",
authors = "Jérémie Scire, Jana S. Huisman et al.",
affiliation = "ETH Zürich, D-BSSE & D-USYS <br><br> <i>(opens in a new window)</i>",
thumbnail = "re-thumbnail.png",
href = "https://ibz-shiny.ethz.ch/covid-19-re/"
),
thumbnailPanelExt(
title = "R<sub>e</sub> Estimation Test Server (CHE WEEKEND ONLY)",
authors = "Jérémie Scire, Jana S. Huisman et al.",
affiliation = "ETH Zürich, D-BSSE & D-USYS <br><br> <i>(opens in a new window)</i>",
thumbnail = "re-thumbnail.png",
href = "https://ibz-shiny.ethz.ch/covid-19-re-test/"
),
thumbnailPanelExt(
title = "nextstrain: Phylogenetic analysis of Swiss SARS-CoV-2 genomes in their international context",
authors = "maintained by Emma Hodcroft, Richard Neher, Sarah Nadeau and Tanja Stadler.",
affiliation = "<i>(opens in a new window)</i>",
thumbnail = "nextstrain-thumbnail.png",
href = "https://nextstrain.org/groups/swiss/ncov/switzerland"
),
thumbnailPanelExt(
title = "icumonitoring.ch",
authors = str_c("Cheng Zhao, Nicola Criscuolo, Burcu Tepekule, Monica Golumbeanu, Melissa Penny,
Peter Ashcroft, Matthias Hilty, Thierry Fumeaux, Thomas Van Boeckel"),
affiliation = "ETH Zürich, Swiss TPH, Universitätsspital Zürich, Swiss Society for Intensive Care Medicine<br><br><i>(opens in a new window)</i>",
thumbnail = "icumonitoring-thumbnail.png",
href = "https://icumonitoring.ch"
)
),
),
navbarMenu(
"Time Series",
menuName = "timeseries",
tabPanel(
"Time Series",
value = "ts",
tsUI("ts")
),
tabPanel(
"Data Quality",
value = "tsDataQuality",
tsDataQualityUI("tsDataQuality")
)
),
tabPanel("Trends",
value = "trends",
trendsUI("trends")
),
tabPanel("Tables",
value = "tables",
tablesUI("tables")
),
tabPanel("Quarantine duration",
value = "quarantineDuration",
quarantineDurationUI("quarantineDuration")
),
tabPanel("TTIQ",
value = "ttiq",
ttiqUI("ttiq")
),
tabPanel("Forecast",
value = "forecast",
forecastUI("forecast")
),
tabPanel("Lagebeurteilung",
value = "lagebeurteilung",
lagebeurteilungUI("lagebeurteilung")
),
tabPanel("Vaccinations",
value = "vaccinations",
vaccUI("vaccinations")
),
navbarMenu(
"About",
menuName = "about",
tabPanel("About",
icon = icon("question-circle"), value = "about",
includeMarkdown("README.md")
)
)
),
tags$script(src = "navbarRight.js")
)
}