-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
43 lines (41 loc) · 1.41 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
library(shiny)
library(ggplot2)
shinyUI(fluidPage(
img(src = "logo.jpg", align = "right"),
titlePanel("Evaluation von Präsenztagen"),
verticalLayout(
fileInput(
'data_evaluation', 'Limesurveydaten (R Daten-Datei)',
accept=c('text/csv',
'text/comma-separated-values,text/plain',
'.csv')
),
textInput('modulname',
label = paste('Wie ist der Modulname?')
),
textInput('dozent',
label = paste('Wer hat den Präsenztag durchgeführt?')
),
selectInput('ort', 'Wo hat der Präsenztag stattgefunden?', choices = c(
"Berlin" = "Berlin",
"Dortmund" = "Dortmund",
"Göttingen" = "Göttingen",
"Hannover" = "Hannover",
"Heidelberg" = "Heidelberg",
"Ludwigshafen" = "Ludwigshafen",
"München" = "München",
"Ratingen/Düsseldorf" = "Ratingen/Düsseldorf",
"Regensburg" = "Regensburg",
"Springe" = "Springe",
"Stade" = "Stade",
"Korneuburg" = "Korneuburg"), selectize = FALSE),
dateInput('date2',
label = paste('Welches Datum soll im Report erscheinen?'),
value = as.character(Sys.Date()),
format = "dd/mm/yyyy",
startview = 'month', language = 'de', weekstart = 1
),
downloadButton('downloadPDF', "Erstelle PDF"),
hr(),
p("PFH Private Hochschule Göttingen; last update 27/08/2015", align = "right")
)))