feat: vis update

This commit is contained in:
2026-05-20 17:06:03 +03:00
parent d615024640
commit f52d110a59
2 changed files with 18 additions and 14 deletions

32
app.R
View File

@@ -45,23 +45,17 @@ schms <- readRDS("scheme.rds")
# TODO: dynamic button render depend on pandoc installation
if (!rmarkdown::pandoc_available()) warning("Can't find pandoc!")
# web resources ------
shiny::addResourcePath("www", "www")
# UI =======================
ui <- page_sidebar(
# title = config::get("form_name"),
title = tagList(
h4(config::get("form_name"), style = "margin-top: .5rem"),
popover(
span(
config::get("form_app_version"),
fontawesome::fa("circle-info", a11y = "sem", title = "Settings"),
style = "color: #9c9c9c"),
title = "about",
placement = "left",
tagList(span("здесь пока ничего нет"), br(), span("вот"))
)
),
title = config::get("form_name"),
theme = bs_theme(version = 5, preset = "bootstrap"),
header = tags$head(
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")),
@@ -73,9 +67,19 @@ ui <- page_sidebar(
uiOutput("display_log"),
actionButton("tasks-display_task_modal", "Задачи: нет активных", icon("list-check")),
position = "left",
open = list(mobile = "always")
open = list(mobile = "always"),
popover(
span(
config::get("form_app_version"),
fontawesome::fa("circle-info", a11y = "sem", title = "Settings"),
style = "color: #9c9c9c; position: fixed; bottom: 5px; right: 5px;"),
title = "about",
placement = "left",
tagList(span("здесь пока ничего нет"), br(), span("вот"))
)
),
as_fill_carrier(uiOutput("main_ui_navset")),
)
# init auth =======================

BIN
www/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB