From e920b3e514e717fc05ed524267d3b53e272fec51 Mon Sep 17 00:00:00 2001 From: Naeem Model Date: Mon, 6 Jan 2025 23:55:43 +0000 Subject: Update web app entry point - Rename 'app' -> 'web' - Return shiny app object in entry point function --- inst/app/www/script.js | 21 --------------------- inst/app/www/styles.css | 23 ----------------------- 2 files changed, 44 deletions(-) delete mode 100644 inst/app/www/script.js delete mode 100644 inst/app/www/styles.css (limited to 'inst/app/www') diff --git a/inst/app/www/script.js b/inst/app/www/script.js deleted file mode 100644 index 30066d1..0000000 --- a/inst/app/www/script.js +++ /dev/null @@ -1,21 +0,0 @@ -$(document).ready(() => { - // Enable tooltips. - $('[data-bs-toggle="tooltip"]').tooltip(); - - // Toggle the text in the bulk data help button. - $('#data-format-toggle').on('click', event => { - btn = $(event.target); - show_format = 'Show required format'; - btn.text(btn.text() === show_format ? 'Hide required format' : show_format); - }); - - // Trigger the file selector via a custom button. - $('#data-upload-select').on('click', () => { - $('#data_upload').trigger('click'); - }); - - // Display the name of the uploaded file. - $('#data_upload').on('change', event => { - $('#data-upload-name').attr('placeholder', event.target.files[0].name); - }); -}); diff --git a/inst/app/www/styles.css b/inst/app/www/styles.css deleted file mode 100644 index a6fc3cd..0000000 --- a/inst/app/www/styles.css +++ /dev/null @@ -1,23 +0,0 @@ -body { - min-height: 100vh; - height: 100%; - width: 100%; -} - -noscript { - text-align: center; -} - -.shiny-notification { - background-color: black; - color: white; -} - -.plotly-notifier .notifier-note { - background-color: black !important; - color: white !important; -} - -#data_upload { - display: none; -} -- cgit v1.2.3