Skip to content

Commit 28074bc

Browse files
committed
edit menu for term documentation
1 parent 60a9bde commit 28074bc

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

server.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2370,7 +2370,7 @@ output$listofterms <- renderUI({
23702370
matchterms <- unique(matchterms)
23712371
current.terms <- unlist(matchterms)
23722372
}
2373-
inlineSelectInput('chooseterm',label = NULL,
2373+
selectizeInput('chooseterm',label = NULL,
23742374
choices = current.terms)
23752375

23762376
})

ui.R

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -798,9 +798,13 @@ url = {http://statnetproject.org}
798798
tabPanel("Term Documentation",
799799
br(),
800800
div(class="placeholder",
801-
actionButton("matchingButton", "Compatible terms", class="btn-sm"),
802-
actionButton("allButton", "All terms", class="btn-sm"),
803-
uiOutput("listofterms"),
801+
fluidRow(
802+
column(6,
803+
actionButton("matchingButton", "Compatible terms", class="btn-sm"),
804+
actionButton("allButton", "All terms", class="btn-sm")
805+
),
806+
column(4, uiOutput("listofterms"))
807+
),
804808
div(id="termdocbox",
805809
verbatimTextOutput("termdoc")
806810
),

0 commit comments

Comments
 (0)