-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
46 lines (43 loc) · 1.42 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
shinyUI(fluidPage(
titlePanel("Измерение производительности решений задачи pollutantmean()"),
fluidRow(
column(4, wellPanel(
h4("Параметры")
, sliderInput("loopnum", h5("Количество запусков"), 3, 17, 5, step=1)
, h5("Вариант решения:")
, selectInput("script"
, label = ""
, choices = as.list(variants.list)
, selected = NULL
, multiple = FALSE
, selectize = TRUE)
, radioButtons("pollutant"
, label = h5("Загрязнитель:")
, choices = list("нитраты" = 1, "сульфаты" = 2)
, selected = 1)
, h5("Мониторы:")
, checkboxInput('allmons', label = "Все", value = FALSE)
, conditionalPanel("!input.allmons"
, selectInput("monitors"
, label = ""
, choices = monitors.list
, selected = "001"
, multiple = TRUE
, selectize = TRUE)
)
, actionButton("goButton"
, "Обновить результаты"
, icon("refresh"))
))
, column(3, wellPanel(
h4("Статистика длительности исполнения")
, verbatimTextOutput("calltext")
, tableOutput("statistic")
))
, column(5, wellPanel(
h4("Выполняемый код")
, p(htmlOutput("postlink"))
, verbatimTextOutput("code")
))
)
))