File: notepad.R

package info (click to toggle)
r-cran-shinystan 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,172 kB
  • sloc: sh: 15; makefile: 7
file content (35 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (2)
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
div(id = "notepad_div",
    sidebarLayout(
      sidebarPanel(
        width = 3,
        style = "height: 550px;",
        br(),
        h4("Notes"),
        helpText(
          style = "font-size: 12px;",
          p("Notes are displayed here each time you launch ShinyStan with this shinystan object.")
        ),
        br(),
        actionButton(
          "save_user_model_info",
          label = "Save notes",
          icon = icon("save")
        ),
        div(style = "font-size: 11px;", textOutput("user_text_saved")),
        conditionalPanel(
          condition = "input.save_user_model_info > 0",
          br(),
          save_and_close_reminder("save_user_model_info_safe_quit")
        )
      ),
      mainPanel(
        width = 9,
        br(), br(),
        tags$textarea(
          id = "user_model_info",
          rows = 20,
          cols = 80,
          .notes
        )
      )
    ))