aephidayatuloh
commited on
Commit
·
9874742
1
Parent(s):
bbca0d0
upd: add margin date nav btn
Browse files
app.R
CHANGED
|
@@ -33,7 +33,7 @@ ui <- fluidPage(
|
|
| 33 |
selectInput("komponen", "Cari berdasarkan:", width = "100%",
|
| 34 |
choices = list("Tanggal" = "tanggal", "Karbohidrat" = "karbo", "Protein Hewani" = "protein_hewani", "Protein Nabati" = "protein_nabati", "Buah/Sayur" = "buah_sayur", "Lemak Tambahan" = "lemak_tambahan", "Camilan" = "camilan", "Gejala Alergi" = "gejala")),
|
| 35 |
conditionalPanel("input.komponen == 'tanggal'",
|
| 36 |
-
div(style="display:flex",
|
| 37 |
column(1,
|
| 38 |
actionButton("prev", "<")
|
| 39 |
),
|
|
@@ -205,7 +205,7 @@ server <- function(input, output, session){
|
|
| 205 |
p("Tidak ada data", style="text-align: center;")
|
| 206 |
} else if(nrow(cari_history()) > 1){
|
| 207 |
tagList(
|
| 208 |
-
div(style="display:flex;margin:auto
|
| 209 |
column(1,
|
| 210 |
actionButton("prev_history", "<")
|
| 211 |
),
|
|
|
|
| 33 |
selectInput("komponen", "Cari berdasarkan:", width = "100%",
|
| 34 |
choices = list("Tanggal" = "tanggal", "Karbohidrat" = "karbo", "Protein Hewani" = "protein_hewani", "Protein Nabati" = "protein_nabati", "Buah/Sayur" = "buah_sayur", "Lemak Tambahan" = "lemak_tambahan", "Camilan" = "camilan", "Gejala Alergi" = "gejala")),
|
| 35 |
conditionalPanel("input.komponen == 'tanggal'",
|
| 36 |
+
div(style="display:flex;margin:auto 0px;",
|
| 37 |
column(1,
|
| 38 |
actionButton("prev", "<")
|
| 39 |
),
|
|
|
|
| 205 |
p("Tidak ada data", style="text-align: center;")
|
| 206 |
} else if(nrow(cari_history()) > 1){
|
| 207 |
tagList(
|
| 208 |
+
div(style="display:flex;margin:auto 0px;",
|
| 209 |
column(1,
|
| 210 |
actionButton("prev_history", "<")
|
| 211 |
),
|