изменение стиля, фикс демонстрации иконки
This commit is contained in:
7
app.R
7
app.R
@@ -42,15 +42,18 @@ if (!rmarkdown::pandoc_available()) warning("Can't find pandoc!")
|
||||
|
||||
# web resources ------
|
||||
shiny::addResourcePath("www", "www")
|
||||
|
||||
shiny::resourcePaths()
|
||||
|
||||
# UI =======================
|
||||
ui <- page_sidebar(
|
||||
title = config::get("form_name"),
|
||||
theme = bs_theme(version = 5, preset = "bootstrap"),
|
||||
header = tags$head(
|
||||
|
||||
tags$head(
|
||||
tags$link(rel = "stylesheet", type = "text/css", href = "www/styles.css"),
|
||||
tags$link(rel = "icon", href = "www/favicon.ico")
|
||||
),
|
||||
|
||||
sidebar = sidebar(
|
||||
actionButton("add_new_main_key_button", "Добавить новую запись", icon("plus", lib = "font-awesome")),
|
||||
actionButton("save_data_button", "Сохранить данные", icon("floppy-disk", lib = "font-awesome")),
|
||||
|
||||
Reference in New Issue
Block a user