up
Browse files- app.R +15 -15
- www/rtemisbio.webp +0 -0
- www/rtemislive.jpeg +0 -0
- www/rtemisxt_gray.png +0 -0
app.R
CHANGED
@@ -44,7 +44,7 @@ success <- "#B4DC55"
|
|
44 |
xtlive <- function(
|
45 |
default_theme = "dark",
|
46 |
xt_plotly_height = "900px",
|
47 |
-
verbosity =
|
48 |
|
49 |
# Logo
|
50 |
logo <- base64enc::dataURI(
|
@@ -54,7 +54,7 @@ xtlive <- function(
|
|
54 |
# Version
|
55 |
platform <- sessionInfo()[["platform"]]
|
56 |
xtl <- paste0(
|
57 |
-
"
|
58 |
" | ", "rtemisbio v", utils::packageVersion("rtemisbio"),
|
59 |
" | ", "rtemis v", utils::packageVersion("rtemis"), # doesn't work in shinylive
|
60 |
" | R v", version$major, ".", version$minor,
|
@@ -86,10 +86,10 @@ xtlive <- function(
|
|
86 |
height = "auto",
|
87 |
alt = "rtemis"
|
88 |
),
|
89 |
-
href = "https://rtemis.org/
|
90 |
)
|
91 |
),
|
92 |
-
id = "
|
93 |
selected = "Welcome",
|
94 |
footer = span(
|
95 |
xtl,
|
@@ -116,7 +116,7 @@ xtlive <- function(
|
|
116 |
) |>
|
117 |
bs_add_rules(sass::sass_file("www/rtemislive.scss")),
|
118 |
# Window title ----
|
119 |
-
window_title = "rtemis
|
120 |
# Language ----
|
121 |
lang = "en",
|
122 |
# Nav Panels ----
|
@@ -125,11 +125,11 @@ xtlive <- function(
|
|
125 |
title = "Welcome",
|
126 |
icon = bsicons::bs_icon("stars"),
|
127 |
bslib::card(
|
128 |
-
h4("Welcome to
|
129 |
card_body(
|
130 |
class = "d-inline text-center",
|
131 |
HTML(paste0(
|
132 |
-
"
|
133 |
as.character(a("rtemis", href = "https://rtemis.org", target = "_blank")),
|
134 |
", <br>providing interactive visualization of timeseries data.",
|
135 |
"<br><br>",
|
@@ -142,7 +142,7 @@ xtlive <- function(
|
|
142 |
br(), br(),
|
143 |
bslib::card_image(
|
144 |
file = "./www/rtemisxt_splash.png",
|
145 |
-
alt = "
|
146 |
align = "center",
|
147 |
border_radius = "all",
|
148 |
fill = FALSE,
|
@@ -174,7 +174,7 @@ xtlive <- function(
|
|
174 |
uiOutput("ui_xt_load_switch"), # Switch between file upload and built-in data
|
175 |
uiOutput("ui_xt_data_load"), # File upload or built-in data selection depending on switch
|
176 |
uiOutput("ui_xt_data_info"), # Shows dataset info
|
177 |
-
uiOutput("ui_xt_plot_button")
|
178 |
# uiOutput("ui_xt_tooltip")
|
179 |
),
|
180 |
# layout_sidebar(
|
@@ -198,9 +198,9 @@ xtlive <- function(
|
|
198 |
icon = bsicons::bs_icon("info-square"),
|
199 |
bslib::card(
|
200 |
card_image(
|
201 |
-
file = "./www/
|
202 |
-
href = "https://rtemis.org",
|
203 |
-
alt = "
|
204 |
align = "center",
|
205 |
border_radius = "all",
|
206 |
fill = FALSE,
|
@@ -210,9 +210,9 @@ xtlive <- function(
|
|
210 |
div(
|
211 |
class = "d-inline text-center",
|
212 |
HTML(paste0(
|
213 |
-
"Powered by
|
214 |
-
as.character(a("rtemis
|
215 |
-
"
|
216 |
)),
|
217 |
br(), br(),
|
218 |
a(
|
|
|
44 |
xtlive <- function(
|
45 |
default_theme = "dark",
|
46 |
xt_plotly_height = "900px",
|
47 |
+
verbosity = 0) {
|
48 |
|
49 |
# Logo
|
50 |
logo <- base64enc::dataURI(
|
|
|
54 |
# Version
|
55 |
platform <- sessionInfo()[["platform"]]
|
56 |
xtl <- paste0(
|
57 |
+
"rtemisXt v", rtemisxt_version,
|
58 |
" | ", "rtemisbio v", utils::packageVersion("rtemisbio"),
|
59 |
" | ", "rtemis v", utils::packageVersion("rtemis"), # doesn't work in shinylive
|
60 |
" | R v", version$major, ".", version$minor,
|
|
|
86 |
height = "auto",
|
87 |
alt = "rtemis"
|
88 |
),
|
89 |
+
href = "https://rtemis.org/rtemisxt"
|
90 |
)
|
91 |
),
|
92 |
+
id = "rtemisxt",
|
93 |
selected = "Welcome",
|
94 |
footer = span(
|
95 |
xtl,
|
|
|
116 |
) |>
|
117 |
bs_add_rules(sass::sass_file("www/rtemislive.scss")),
|
118 |
# Window title ----
|
119 |
+
window_title = "rtemis rtemisXt",
|
120 |
# Language ----
|
121 |
lang = "en",
|
122 |
# Nav Panels ----
|
|
|
125 |
title = "Welcome",
|
126 |
icon = bsicons::bs_icon("stars"),
|
127 |
bslib::card(
|
128 |
+
h4("Welcome to rtemisXt.", style = "text-align: center;"),
|
129 |
card_body(
|
130 |
class = "d-inline text-center",
|
131 |
HTML(paste0(
|
132 |
+
"rtemisXt is a web interface for ",
|
133 |
as.character(a("rtemis", href = "https://rtemis.org", target = "_blank")),
|
134 |
", <br>providing interactive visualization of timeseries data.",
|
135 |
"<br><br>",
|
|
|
142 |
br(), br(),
|
143 |
bslib::card_image(
|
144 |
file = "./www/rtemisxt_splash.png",
|
145 |
+
alt = "rtemisXt",
|
146 |
align = "center",
|
147 |
border_radius = "all",
|
148 |
fill = FALSE,
|
|
|
174 |
uiOutput("ui_xt_load_switch"), # Switch between file upload and built-in data
|
175 |
uiOutput("ui_xt_data_load"), # File upload or built-in data selection depending on switch
|
176 |
uiOutput("ui_xt_data_info"), # Shows dataset info
|
177 |
+
uiOutput("ui_xt_plot_button") # Click to plot
|
178 |
# uiOutput("ui_xt_tooltip")
|
179 |
),
|
180 |
# layout_sidebar(
|
|
|
198 |
icon = bsicons::bs_icon("info-square"),
|
199 |
bslib::card(
|
200 |
card_image(
|
201 |
+
file = "./www/rtemisbio.webp",
|
202 |
+
href = "https://rtemis.org/rtemisbio",
|
203 |
+
alt = "rtemisbio",
|
204 |
align = "center",
|
205 |
border_radius = "all",
|
206 |
fill = FALSE,
|
|
|
210 |
div(
|
211 |
class = "d-inline text-center",
|
212 |
HTML(paste0(
|
213 |
+
"Powered by ",
|
214 |
+
as.character(a("rtemis", href = "https://rtemis.org", target = "_blank")),
|
215 |
+
"."
|
216 |
)),
|
217 |
br(), br(),
|
218 |
a(
|
www/rtemisbio.webp
ADDED
![]() |
www/rtemislive.jpeg
DELETED
Binary file (369 kB)
|
|
www/rtemisxt_gray.png
CHANGED
![]() |
![]() |