Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dashboards
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
María Gabriela Castrellón
Dashboards
Commits
6d2c93a7
Commit
6d2c93a7
authored
1 year ago
by
M. G. Castrellon
Browse files
Options
Downloads
Plain Diff
Merge branch 'development'
parents
a91427f9
b8d8f7ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dashboardShiny/app.R
+2
-37
2 additions, 37 deletions
dashboardShiny/app.R
with
2 additions
and
37 deletions
dashboardShiny/app.R
+
2
−
37
View file @
6d2c93a7
...
...
@@ -44,25 +44,6 @@ ui <- bootstrapPage(
## HTML Tags
tags
$
style
(
type
=
"text/css"
,
"html, body {width:100%;height:100%}"
),
tags
$
style
(
HTML
(
"
@media screen and (max-width: 600px) {
#graph {
width: 100%;
height: 300px; /* Adjust height as needed */
}
/* Add additional styles for smaller screens */
}
@media screen and (min-width: 601px) {
#graph {
width: 100%;
height: 500px; /* Adjust height as needed */
}
/* Add additional styles for larger screens */
}
"
)),
## Leaflet Map
### This is supposed to cover 100% of the page
...
...
@@ -89,28 +70,12 @@ ui <- bootstrapPage(
# yes = tags$i(class = "fa fa-circle", style = "color: steelblue"),
# no = tags$i(class = "fa fa-circle-o", style = "color: steelblue"))),
# ### Date Slider ####
# sliderInput(
# inputId = "date_range",
# label = h4("Select a date"),
# min = as.Date("2016-04-01","%Y-%m-%d"),
# max = as.Date("2023-03-31","%Y-%m-%d"),
# value = c(as.Date("2020-01-01", "%Y-%m-%d"),
# as.Date("2020-04-30", "%Y-%m-%d")),
# timeFormat = "%Y-%m-%d"),
#### Point Picker ####
# selectInput(
# inputId = "point_id",
# label = h4("Select a location"),
# choices = NULL, selected = NULL),
#### Date Range Picker ####
dateRangeInput
(
inputId
=
"date_range"
,
label
=
h4
(
"Select a date range"
),
min
=
as.Date
(
"201
6
-04-01"
),
max
=
as.Date
(
"2023-
03
-3
1
"
),
min
=
as.Date
(
"201
1
-04-01"
),
max
=
as.Date
(
"2023-
11
-3
0
"
),
start
=
as.Date
(
"2016-05-01"
),
end
=
as.Date
(
"2016-08-31"
),
format
=
"yyyy-mm-dd"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment