-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
72 lines (71 loc) · 2.22 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
library(shiny)
library(shinydashboard)
library(DT)
function(request) {
dashboardPage(
skin = "blue",
dashboardHeader(title = "stRs"),
dashboardSidebar(disable = TRUE),
dashboardBody(
fluidRow(
box(
width = 3,
numericInput("lat",
"Latitude",
min = -90, max = 90,
value = 42.3736)
),
box(
width = 3,
numericInput("long",
"Longitude",
min = -180, max = 180,
value = -71.1097)
),
box(
width = 3,
dateInput("time",
"Date (disabled)"
)
),
box(
width = 3,
"The blue dots indicate what is always visible.
The red line is the equator.
The orange line is what is in the sun.
The X is treasure: you :)"
)
),
fluidRow(
box(title = "Visible",
width = 6,
plotOutput("plot_up", height = "700px")
),
box(title = "Hidden",
width = 6,
plotOutput("plot_down", height = "700px")
)
),
fluidRow(
box(title = NULL,
width = 12,
plotOutput("plot_all", height = "1100px")
)
),
fluidRow(
box(id = "planet_box",
title = "Object data",
collapsible = TRUE,
width = 12,
DT::dataTableOutput("planets")
)
)
),
tags$head(tags$meta(property = "og:title",
content = "stRs"),
tags$title("stRs")
#tags$meta(property = "og:image",
#content = "https://plotypus.csail.mit.edu/plotypus.jpg")
)
)
}