mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-08 08:04:24 +00:00
Set up event handling
This commit is contained in:
parent
21d147f672
commit
eaec6d0216
|
@ -235,7 +235,7 @@ void generate_course_page(const std::string& course_id,
|
|||
tag(os,TAG::BEGIN,R"(body class="search_plugin_added")");
|
||||
tag(os,TAG::BEGIN,R"(div id="qlog-header")");
|
||||
tag(os,TAG::INLINE) << R"(<a id="qlog-wordmark" href="../"><svg><use href="../images/quatalogHWordmark.svg#QuatalogHWordmark"></use></svg></a>)" << '\n';
|
||||
tag(os,TAG::BEGIN,R"R(form onsubmit="search_helper()")R");
|
||||
tag(os,TAG::BEGIN,R"R(form onsubmit="search_helper(event)")R");
|
||||
tag(os,TAG::INLINE) << R"(<input type="text" id="search" class="header-search" placeholder="Search...">)" << '\n';
|
||||
tag(os,TAG::END,"form");
|
||||
tag(os,TAG::END,"div");
|
||||
|
|
Loading…
Reference in a new issue