-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuiMobile.R
40 lines (37 loc) · 1.79 KB
/
uiMobile.R
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
30
31
32
33
34
35
36
37
38
39
40
# top-level framework for mobile version
# last update:2016-10-06
uiMobile <- function(){
navbarPage(
uiOutput('hdrImageLinkMobile'),
id='page',
collapsible=TRUE,
inverse=FALSE,
windowTitle=paste0(appTitle, ' | OwnYourData'),
tabPanel('Chart',
p('hello mobile world')),
tabPanel('Datenblatt',
rHandsontableOutput('mobileDataSheet'),
br(),
htmlOutput('mobileDataSheetDirty', inline = TRUE),
conditionalPanel(
condition = 'output.mobileDataSheetDirty != \"\"',
tagList(actionButton('mobileSaveSheet',
'Daten in PIA speichern',
icon=icon('save'))))
),
tabPanel('PIA Einrichtung',
h3('PIA Einrichtung'),
textInput('pia_urlMobile', 'Adresse:'),
textInput('app_keyMobile', 'Key:'),
textInput('app_secretMobile', 'Secret:'),
actionButton('mobilePiaSave', 'Speichern'),
uiOutput('mobileToken'),
conditionalPanel(
condition = "output.mobileToken != ''",
actionButton('disconnectPIAmobile', 'Verbindung zu PIA trennen',
icon('chain-broken'))
)
)
)
# uiOutput('mobileUiStatusItemsRender')
}