-
Notifications
You must be signed in to change notification settings - Fork 6
/
ui.R
36 lines (35 loc) · 1.07 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
library(shiny)
library(leaflet)
library(shinycssloaders)
library(dygraphs)
## Define UI for dataset viewer application
## checkboxInput("legend", "Mostrar leyenda", TRUE),
ui <- function(request) {
bootstrapPage(
tags$style(type = "text/css", "html, body {width:100%;height:100%}"),
leafletOutput("map", width = "100%", height = "100%"),
absolutePanel(
top = 5, right = 5,
h4("CanAirIO"),
h3("Citizen network for monitoring air quality"),
a("Acerca de este proyecto", href = "https://canair.io/"),
br(),
a("Panel de datos", href = "http://influxdb.canair.io:8000/"),
selectInput(
"ciudad", "Ubicación/Location:",
c(
"Global" = "global",
"Bogotá" = "bogota",
"Cali" = "cali",
"Medellín" = "medellin",
"Colombia-Costa Caribe" = "costa",
"Lima" = "lima",
"Bilbao" = "bilbao",
"Berlín" = "berlin"
)
),
## dygraphOutput("dygraph"),
style = "padding: 8px; border-bottom: 1px solid #CCC; background: #FFFFEE;"
)
)
}