diff --git a/.DS_Store b/.DS_Store index 401bc83..ff3d917 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/PAC-data-analyzer/app.R b/PAC-data-analyzer/app.R index a597a7e..a8807bc 100644 --- a/PAC-data-analyzer/app.R +++ b/PAC-data-analyzer/app.R @@ -40,6 +40,7 @@ library(formattable) remotes::install_github("timelyportfolio/dataui") gs4_auth(email = "lyuk@carleton.edu", cache = ".secrets") + ############################### USERNAME / PASSWORD ############################ # Main login screen loginpage <- div(id = "loginpage", style = "width: 500px; max-width: 100%; margin: 0 auto; padding: 20px;", @@ -261,7 +262,14 @@ event_summary <- combined_data_filtered %>% sidebar <- dashboardSidebar(minified = TRUE, collapsed = TRUE, uiOutput("sidebarpanel")) -body <- dashboardBody(shinyjs::useShinyjs(), uiOutput("body")) +body <- dashboardBody(shinyjs::useShinyjs(), uiOutput("body"), + tags$script(HTML(" + $(document).on('keypress', function(e) { + if(e.which == 13) { + $('#login').click(); + } + }); + "))) # Define menu items dataMenu <- menuItem( diff --git a/PAC-data-analyzer/rsconnect/shinyapps.io/estimelee/PAC-data-analyzer.dcf b/PAC-data-analyzer/rsconnect/shinyapps.io/estimelee/PAC-data-analyzer.dcf new file mode 100644 index 0000000..9d879c1 --- /dev/null +++ b/PAC-data-analyzer/rsconnect/shinyapps.io/estimelee/PAC-data-analyzer.dcf @@ -0,0 +1,12 @@ +name: PAC-data-analyzer +title: PAC-data-analyzer +username: estimelee +account: estimelee +server: shinyapps.io +hostUrl: https://api.shinyapps.io/v1 +appId: 12500756 +bundleId: +url: https://estimelee.shinyapps.io/PAC-data-analyzer/ +version: 1 +asMultiple: FALSE +asStatic: FALSE