-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathserver.R
More file actions
29 lines (25 loc) · 788 Bytes
/
server.R
File metadata and controls
29 lines (25 loc) · 788 Bytes
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
library(shiny)
library(shinysky)
library(shinyExt)
library(digest)
shinyServer(function(input, output, session) {
# Tools ----
source("tools//login.R", local=T)
# Modules ----
source("module//histogram.R", local=T)
# main page ----
output$mainPage <- renderUI({
doLogin()
if (loginData$LoggedIn) {
doLogout()
div(class="",
fluidPage(fluidRow(column(12, column(4, br(), loginInfo()))),
navbarPage(title="Login Showcase",
tabPanel("Histogram", br(), div(class=" ", ui_histogram()), id="subGroup"))
))
} else {
fluidPage(fluidRow(column(1, offset=5, br(), br(), br(), br(), h5("Login"), loginUI())),
header= tags$style(type="text/css", "well { width: 100%; }"))
}
})
})