aboutsummaryrefslogtreecommitdiff
path: root/inst/GUI
diff options
context:
space:
mode:
Diffstat (limited to 'inst/GUI')
-rw-r--r--inst/GUI/server.R9
-rw-r--r--inst/GUI/ui.R14
2 files changed, 23 insertions, 0 deletions
diff --git a/inst/GUI/server.R b/inst/GUI/server.R
new file mode 100644
index 00000000..12386f29
--- /dev/null
+++ b/inst/GUI/server.R
@@ -0,0 +1,9 @@
+library(shiny)
+
+shinyServer(function(input, output) {
+ output$test <- renderText({
+ input$test
+ })
+})
+
+# vim: set ts=2 sw=2 foldmethod=marker expandtab:
diff --git a/inst/GUI/ui.R b/inst/GUI/ui.R
new file mode 100644
index 00000000..2b0b8687
--- /dev/null
+++ b/inst/GUI/ui.R
@@ -0,0 +1,14 @@
+library(shiny)
+shinyUI(pageWithSidebar(
+
+ headerPanel("shiny GUI for mkin"),
+
+ sidebarPanel(
+ textInput("test", "Test:", "test input")
+ ),
+
+ mainPanel(
+ textOutput("test")
+ )
+))
+# vim: set ts=2 sw=2 foldmethod=marker expandtab:

Contact - Imprint