add wt navbar.
All checks were successful
Deploy / Build (push) Successful in 5m34s

This commit is contained in:
amass 2024-12-15 21:14:57 +08:00
parent f30ddefb11
commit 5db649fffd
2 changed files with 7 additions and 3 deletions

View File

@ -2,9 +2,14 @@
#include "Dialog.h"
#include <Wt/WApplication.h>
#include <Wt/WLineEdit.h>
#include <Wt/WNavigationBar.h>
#include <Wt/WPushButton.h>
HomePage::HomePage() {
auto navigation = addNew<Wt::WNavigationBar>();
navigation->setResponsive(true);
navigation->setTitle("子非鱼", "https://amass.fun");
addStyleClass("bulma-content");
auto p = addWidget(std::make_unique<Wt::WText>("这是一个结合 C++ Web Toolkit 和 CSS Bulma 框架的前后端一体应用程序。"));
p->setInline(false);

View File

@ -38,7 +38,6 @@ function init() {
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/openresty.gpg] http://openresty.org/package/ubuntu $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/openresty.list > /dev/null
apt update
apt -y install openresty
opm get bungle/lua-resty-session
fi
if [ -f /root/Server/frp_0.61.0_linux_amd64/frps ]; then