egenn commited on
Commit
592f61d
·
1 Parent(s): cd7cb52
Files changed (4) hide show
  1. app.R +15 -15
  2. www/rtemisbio.webp +0 -0
  3. www/rtemislive.jpeg +0 -0
  4. 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 = 1) {
48
 
49
  # Logo
50
  logo <- base64enc::dataURI(
@@ -54,7 +54,7 @@ xtlive <- function(
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,10 +86,10 @@ xtlive <- function(
86
  height = "auto",
87
  alt = "rtemis"
88
  ),
89
- href = "https://rtemis.org/xtlive"
90
  )
91
  ),
92
- id = "xtlive",
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 xtlive",
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 xtlive.", style = "text-align: center;"),
129
  card_body(
130
  class = "d-inline text-center",
131
  HTML(paste0(
132
- "xtlive 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,7 +142,7 @@ xtlive <- function(
142
  br(), br(),
143
  bslib::card_image(
144
  file = "./www/rtemisxt_splash.png",
145
- alt = "rtemislive",
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"), # Click to plot
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/rtemislive.jpeg",
202
- href = "https://rtemis.org",
203
- alt = "rtemislive",
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 rtemis (",
214
- as.character(a("rtemis.org", href = "https://rtemis.org", target = "_blank")),
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