изменение стиля, фикс демонстрации иконки

This commit is contained in:
2026-08-12 11:48:35 +03:00
parent ab949ee9c2
commit e07d6f70e3
6 changed files with 21 additions and 17 deletions

7
app.R
View File

@@ -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")),