From 5037e01417915537223ee7461df6fc9be98df924 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 14 Nov 2021 22:18:20 +0100 Subject: [PATCH] Set up a back link to the main admin panel. --- HEADS | 2 +- app/mourne_application.cpp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/HEADS b/HEADS index b295413..5ed07d8 100644 --- a/HEADS +++ b/HEADS @@ -1 +1 @@ -{"engine": {"master": "7485a80d12f5ac58116d9b33305c7f9bc5246239"}} \ No newline at end of file +{"engine": {"master": "5462650e1029586c828751365c48a870978339cd"}} \ No newline at end of file diff --git a/app/mourne_application.cpp b/app/mourne_application.cpp index 80442db..cab7f3b 100644 --- a/app/mourne_application.cpp +++ b/app/mourne_application.cpp @@ -292,6 +292,12 @@ MourneApplication::MourneApplication() : _admin_panel->set_default_header(b.result); + b.result = ""; + b.div()->cls("back")->f()->a()->href("/")->f()->w("<--- Back")->ca()->cdiv(); + b.br(); + + _admin_panel->set_default_body_top(b.result); + compile_menu(); }