Loading editor/widgets/googlereviews/googlereviews.cpp +2 −2 Changes for editor/widgets/googlereviews/googlereviews.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ namespace blogi { // Add script to dynamically load reviews libhtmlpp::HtmlElement *script = new libhtmlpp::HtmlElement("script"); std::string js = R"( libhtmlpp::ScriptElement js = R"( document.addEventListener('DOMContentLoaded', function() { fetch('/google/reviews/list') .then(response => response.json()) Loading Loading @@ -108,7 +108,7 @@ namespace blogi { }); )"; script->appendChild(js.c_str()); script->appendChild(js); // Add inline style for a responsive flex grid wrapper if needed container->setAttribute("style", "display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;"); Loading plugins/google/google.cpp +1 −0 Changes for plugins/google/google.cpp: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ #include <algorithm> #include <regex> #include <chrono> #include <string> #include <htmlpp/html.h> #include <htmlpp/exception.h> Loading Loading
editor/widgets/googlereviews/googlereviews.cpp +2 −2 Changes for editor/widgets/googlereviews/googlereviews.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ namespace blogi { // Add script to dynamically load reviews libhtmlpp::HtmlElement *script = new libhtmlpp::HtmlElement("script"); std::string js = R"( libhtmlpp::ScriptElement js = R"( document.addEventListener('DOMContentLoaded', function() { fetch('/google/reviews/list') .then(response => response.json()) Loading Loading @@ -108,7 +108,7 @@ namespace blogi { }); )"; script->appendChild(js.c_str()); script->appendChild(js); // Add inline style for a responsive flex grid wrapper if needed container->setAttribute("style", "display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;"); Loading
plugins/google/google.cpp +1 −0 Changes for plugins/google/google.cpp: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ #include <algorithm> #include <regex> #include <chrono> #include <string> #include <htmlpp/html.h> #include <htmlpp/exception.h> Loading