Skip to content

Commit

Permalink
updt bts
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavio Lozano Isla committed Feb 5, 2024
1 parent 3c87489 commit 38b2276
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 29 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ VignetteBuilder: knitr
License: GPL-3 | file LICENSE
LazyData: true
Encoding: UTF-8
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
69 changes: 41 additions & 28 deletions inst/tarpuy/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#> open https://flavjack.github.io/inti/
#> open https://flavjack.shinyapps.io/tarpuy/
#> author .: Flavio Lozano-Isla (lozanoisla.com)
#> date .: 2023-05-21
#> date .: 2024-02-04
# -------------------------------------------------------------------------

# -------------------------------------------------------------------------
Expand All @@ -29,33 +29,35 @@ if (file.exists("www/cloud.json")) gar_set_client(web_json = "www/cloud.json", a
# app ---------------------------------------------------------------------
# -------------------------------------------------------------------------

navbarPage(title = div(
HTML('<h3><strong><a target="_blank" href="https://inkaverse.com/">Tarpuy</a></strong></h3>') , div(
id = "version"
, HTML(paste("<a target='_blank' href='https://inkaverse.com/news/'>inti"
, packageVersion('inti') , "</a>"))
)
, div(
id = "support"
, HTML(paste("<a target='_blank' href='https://github.com/sponsors/flavjack' style='color:white'>"
, h4(icon("heart")) , "</a>"))
)
)
navbarPage(title = HTML('<strong><a target="_blank" href="https://inkaverse.com/">TARPUY</a></strong>')

# div(
# HTML('<h3><strong><a target="_blank" href="https://inkaverse.com/">Tarpuy</a></strong></h3>') , div(
# id = "version"
# , HTML(paste("<a target='_blank' href='https://inkaverse.com/news/'>inti"
# , packageVersion('inti') , "</a>"))
# )
# , div(
# id = "support"
# , HTML(paste("<a target='_blank' href='https://github.com/sponsors/flavjack' style='color:white'>"
# , h4(icon("heart")) , "</a>"))
# )
# )
, windowTitle = "Tarpuy • app"
, selected = "Intro"
, theme = "bootstrap_sandstone.css" #!
, position = "fixed-top"
,
, theme = bslib::bs_theme(version = 5, bootswatch = 'sandstone')
, tags$style(HTML("p{ text-align: justify; }"))
# , position = "fixed-top"
,

# -------------------------------------------------------------------------
# Yupana Info -------------------------------------------------------------
# -------------------------------------------------------------------------

tabPanel("Intro", icon = icon("home")

, bs_theme_dependencies("flatly") #!

, includeCSS("www/custom.css")
#>
# , includeCSS("www/custom.css")
#
, tags$head(includeHTML(("www/analytics.html")))
, tags$head(tags$link(rel="shortcut icon"
, href="https://flavjack.github.io/inti/img/inkaverse.png")),
Expand Down Expand Up @@ -103,7 +105,6 @@ navbarPage(title = div(

box(title = "Presentación"
, solidHeader = T
, background = "green"
, width = 12
, status = "primary",

Expand All @@ -120,7 +121,6 @@ navbarPage(title = div(

box(title = "Características"
, solidHeader = T
, background = "green"
, width = 12
, status = "primary",

Expand Down Expand Up @@ -367,7 +367,9 @@ navbarPage(title = div(

),

tabPanel(div(h5(icon("seedling"), "Plex")),
tabPanel("Plex", icon = icon("seedling"),

# div(h5(icon("seedling"), "Plex")),

# Yupana Fieldbook --------------------------------------------------------
# -------------------------------------------------------------------------
Expand Down Expand Up @@ -402,7 +404,7 @@ navbarPage(title = div(
),

textInput(inputId = "plex_logbook"
, label = "Logbook (optinal)"
, label = "Logbook (optional)"
, width = "100%"
, value = NA
, placeholder = "sheet name"
Expand Down Expand Up @@ -582,27 +584,32 @@ navbarPage(title = div(
textAreaInput(inputId = "plex_goal"
, label = "Goal"
, placeholder = "The main goal of the project."
, width = "100%"
),

textAreaInput(inputId = "plex_hypothesis"
, label = "Hypothesis"
, placeholder = "What are the expected results."
, width = "100%"
),

textAreaInput(inputId = "plex_rationale"
, label = "Rationale"
, placeholder = "Based in which evidence is planned the experiment."
, width = "100%"

),

textAreaInput(inputId = "plex_objectives"
, label = "Objectives"
, placeholder = "Objectives of the project."
, width = "100%"
),

textAreaInput(inputId = "plex_plan"
, label = "Project plan"
, placeholder = "General plan description of the project (M & M)."
, width = "100%"
)

),
Expand Down Expand Up @@ -706,7 +713,9 @@ navbarPage(title = div(

),

tabPanel(div(h5(icon("book"), "Fieldbook")),
tabPanel("Fieldbook", icon = icon("book"),

# div(h5(icon("book"), "Fieldbook")),

fluidRow(

Expand Down Expand Up @@ -830,7 +839,9 @@ navbarPage(title = div(

),

tabPanel(div(h5(icon("pen-ruler"), "Sketch")) ,
tabPanel("Sketch", icon = icon("pen-ruler"),

# div(h5(icon("pen-ruler"), "Sketch")) ,

fluidRow(

Expand Down Expand Up @@ -876,7 +887,9 @@ tabPanel(div(h5(icon("pen-ruler"), "Sketch")) ,
# connect -----------------------------------------------------------------
# -------------------------------------------------------------------------

tabPanel(div(h5(icon("plug-circle-check"), "Mobile")),
tabPanel("Mobile", icon = icon("plug-circle-check"),

# div(h5(icon("plug-circle-check"), "Mobile")),

fluidRow(

Expand Down Expand Up @@ -951,4 +964,4 @@ tabPanel(div(h5(icon("plug-circle-check"), "Mobile")),
# Tarpuy end code ---------------------------------------------------------
# -------------------------------------------------------------------------

)
)
12 changes: 12 additions & 0 deletions inst/tarpuy/www/bootstrap_sandstonex.css

Large diffs are not rendered by default.

0 comments on commit 38b2276

Please sign in to comment.