This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
56 lines (48 loc) · 1.7 KB
/
ui.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ui.R
shinyUI(fluidPage(
titlePanel('Сумарный приход и уход'),
sidebarPanel(
helpText('Что-то, что поможет нам понять куда мы тратим деньги.'),
uiOutput('dateControls'),
br(),
conditionalPanel(
condition = "input.financePanels == 'panelInOut'",
radioButtons('averagingPeriod',
'Выберите период для средней из:',
c('Daily' = 1,
'Weekly' = 7,
'TwoWeek' = 14,
'Monthly' = 30.42,
'Yearly' = 365)
),
br(),
br()
),
conditionalPanel(
condition = "input.financePanels == 'panelExpenditure'",
actionButton('bar', 'Bar'),
br(),
br()
),
actionButton('updateData', 'Refresh Data')
),
mainPanel(
tabsetPanel(id = 'financePanels',
tabPanel(title = 'Приход/Уход', value = 'panelInOut',
plotOutput('transactions'),
br(),
textOutput('summaryTotalsText'),
br(),
tableOutput('summaryTotals'),
br(),
textOutput('summaryAveragesText'),
br(),
tableOutput('summaryAverages')
),
tabPanel(title = 'Отслеживаемое время', value = 'panelExpenditure',
textOutput('textPointer')
)
)
)
)
)