Update app.R
Browse files
app.R
CHANGED
@@ -1,19 +1,26 @@
|
|
1 |
library(shiny)
|
2 |
library(shinythemes)
|
|
|
3 |
library(GWalkR)
|
4 |
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
ui <- fluidPage(
|
7 |
title = "Data Explorer",
|
8 |
theme = shinytheme("cyborg"),
|
9 |
-
|
10 |
tags$h3(id = "title", tags$strong("Graphic-Walker Data Explorer"),style = "text-align:center;color:lightblue;"),
|
|
|
|
|
11 |
sidebarLayout(
|
12 |
-
sidebarPanel(width = 3, fileInput("target_upload",h5(strong("Click to Upload CSV File"),style = "color:lightblue;"),
|
13 |
accept = c("text/csv"),
|
14 |
placeholder = "No file selected"),
|
15 |
-
br(),br(),a(href = "https://github.com/Kanaries/GWalkR",h6("Learn More",style = "color:lightblue;"),target = "_blank",style = "text-decoration: none;")),
|
16 |
-
mainPanel(gwalkrOutput(outputId = "explorer",width = "114%")
|
17 |
)
|
18 |
)
|
19 |
|
|
|
1 |
library(shiny)
|
2 |
library(shinythemes)
|
3 |
+
library(shinycssloaders)
|
4 |
library(GWalkR)
|
5 |
|
6 |
+
# set global options for spinner
|
7 |
+
options(spinner.size = 1,
|
8 |
+
spinner.color.background = "#FFFFFF",
|
9 |
+
spinner.color = "lightblue")
|
10 |
+
|
11 |
|
12 |
ui <- fluidPage(
|
13 |
title = "Data Explorer",
|
14 |
theme = shinytheme("cyborg"),
|
|
|
15 |
tags$h3(id = "title", tags$strong("Graphic-Walker Data Explorer"),style = "text-align:center;color:lightblue;"),
|
16 |
+
tags$a(href = "https://github.com/Ifeanyi55", tags$strong("Maintainer"),target = "_blank",style = "text-decoration:none;color:lightblue;margin-left:1250px;margin-bottom:1000px"),
|
17 |
+
tags$img(src = "plot.jpeg",width = 170,height = 100),br(),br(),
|
18 |
sidebarLayout(
|
19 |
+
sidebarPanel(width = 3,style = "border-width:5px;border-color:lightblue;", fileInput("target_upload",h5(strong("Click to Upload CSV File"),style = "color:lightblue;"),
|
20 |
accept = c("text/csv"),
|
21 |
placeholder = "No file selected"),
|
22 |
+
br(),br(),a(href = "https://github.com/Kanaries/GWalkR",h6(strong("Learn More"),style = "color:lightblue;"),target = "_blank",style = "text-decoration: none;")),
|
23 |
+
mainPanel(withSpinner(gwalkrOutput(outputId = "explorer",width = "114%"),type = 1)
|
24 |
)
|
25 |
)
|
26 |
|