-
Notifications
You must be signed in to change notification settings - Fork 1
/
ui.R
37 lines (32 loc) · 874 Bytes
/
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
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(shinyAce)
editor_height <- '800px'
editor_width <- '100%'
shinyUI(fluidPage(
fluidRow(
column(
width = 2,
uiOutput('doc_list'),
actionButton('new_doc', label = 'new_document'),
selectInput(choices=list('HTML'='html', 'PDF'='pdf'),inputId = 'out_format', label= 'Output format'),
fileInput('biblio', label='Bibtex file')
),
column(
width = 5,
aceEditor("rmd", mode="markdown", height = editor_height),
textOutput('active')
),
column(
width = 5,
htmlOutput('preview',
width = editor_width,
height= editor_height),
htmlOutput("in_db_data")
)
)
))