Description Usage Arguments Details Value See Also
View source: R/UploadSettings.R
UploadSettings module provides UI input elements and server logic for defining, saving and retrieving upload settings, and for uploading a csv table with transactions.
1 | UploadSettingsUI(id, helps = NULL)
|
id |
|
helps |
|
The UI consists of a row for settings selection and table upload, some paragrpah with information, and a row for adjusting settings. All input elements have help texts (bsPopover). Most elements are rendered in the server part though.
In the first row saved settings can be chosen by name in a selectize input or a new setting name can be entered. A button next to it saves these settings (a modal will indicate success). There is a upload button or uploading csv or txt tables.
In the second row, a lot of settings for reading and interpreting the table are located. These are numeric, select, selectize, and checkbox inputs. They cover:
column numbers for all necessary information (like name, IBAN, date...)
reference account of the uploaded transactions
date format used in the date column of the table
decimal and column separators
whether the first line of the file contains column headings
how many lines should be skipped and the maximum number of lines to read in the uploaded file
Some basic css styles are defined within this module.
Classes are always prefixed with the id
.
Best look into the source code of this function to see all the classes
defined in the beginning.
chr
html code of UI
Other application functions: EnteringModalUI
,
EnteringModal
,
UploadSettings
, abacusApp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.