This commit is contained in:
parent
f30ddefb11
commit
5db649fffd
@ -2,9 +2,14 @@
|
|||||||
#include "Dialog.h"
|
#include "Dialog.h"
|
||||||
#include <Wt/WApplication.h>
|
#include <Wt/WApplication.h>
|
||||||
#include <Wt/WLineEdit.h>
|
#include <Wt/WLineEdit.h>
|
||||||
|
#include <Wt/WNavigationBar.h>
|
||||||
#include <Wt/WPushButton.h>
|
#include <Wt/WPushButton.h>
|
||||||
|
|
||||||
HomePage::HomePage() {
|
HomePage::HomePage() {
|
||||||
|
auto navigation = addNew<Wt::WNavigationBar>();
|
||||||
|
navigation->setResponsive(true);
|
||||||
|
navigation->setTitle("子非鱼", "https://amass.fun");
|
||||||
|
|
||||||
addStyleClass("bulma-content");
|
addStyleClass("bulma-content");
|
||||||
auto p = addWidget(std::make_unique<Wt::WText>("这是一个结合 C++ Web Toolkit 和 CSS Bulma 框架的前后端一体应用程序。"));
|
auto p = addWidget(std::make_unique<Wt::WText>("这是一个结合 C++ Web Toolkit 和 CSS Bulma 框架的前后端一体应用程序。"));
|
||||||
p->setInline(false);
|
p->setInline(false);
|
||||||
|
@ -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
|
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 update
|
||||||
apt -y install openresty
|
apt -y install openresty
|
||||||
opm get bungle/lua-resty-session
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /root/Server/frp_0.61.0_linux_amd64/frps ]; then
|
if [ -f /root/Server/frp_0.61.0_linux_amd64/frps ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user