DaveM2430 commited on
Commit
2b0f727
·
verified ·
1 Parent(s): d8ccea0

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +9 -1
app.R CHANGED
@@ -511,6 +511,14 @@ server <- function(input, output, session) {
511
  tagList(
512
  tags$p(id = "loading_msg", "Loading data...",
513
  style = "color:#888; font-size:14px; padding:10px 0;"),
 
 
 
 
 
 
 
 
514
  DTOutput("pitcher_table")
515
  )
516
  } else {
@@ -630,7 +638,7 @@ make_color_ramp <- function(values, low, high, flip = FALSE,
630
  scrollY = "65vh",
631
  scrollCollapse= TRUE,
632
  fixedHeader = TRUE,
633
- order = list(list(9, "desc")),
634
  orderMulti = FALSE,
635
  dom = "lfrtip",
636
  columnDefs = list(
 
511
  tagList(
512
  tags$p(id = "loading_msg", "Loading data...",
513
  style = "color:#888; font-size:14px; padding:10px 0;"),
514
+ tags$p(
515
+ HTML('&#128202; Click <b>View</b> to see pitch movement &nbsp;|&nbsp;
516
+ <span style="background:#cce5ff; padding:2px 6px; border-radius:3px;
517
+ font-weight:700;">Name</span> = throws a sinker/two-seam'),
518
+ style = "color:#555; font-size:12px; margin:0 0 10px 0;
519
+ background:#f0f4ff; border-left:3px solid #002147;
520
+ padding:8px 12px; border-radius:4px;"
521
+ ),
522
  DTOutput("pitcher_table")
523
  )
524
  } else {
 
638
  scrollY = "65vh",
639
  scrollCollapse= TRUE,
640
  fixedHeader = TRUE,
641
+ order = list(list(10, "desc")),
642
  orderMulti = FALSE,
643
  dom = "lfrtip",
644
  columnDefs = list(