From a6feec8f22af0266f8003a8d4aeda3fb2adbcab7 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 29 Sep 2017 15:10:08 -0400 Subject: mq_about_marquee_response(): Return an HTML document --- (limited to 'src/about') diff --git a/src/about/marquee.c b/src/about/marquee.c index cd5ab33..70413aa 100644 --- a/src/about/marquee.c +++ b/src/about/marquee.c @@ -24,6 +24,20 @@ #include "paths.h" #include "../application.h" +const gchar *document = + "" + "" + "" + "%s" + "" + "" + "
" + "" + "
" + "" + ""; + gchar * mq_about_marquee_response(MqApplication *application, GHashTable *query) { @@ -35,6 +49,6 @@ mq_about_marquee_response(MqApplication *application, GHashTable *query) } } - /* TODO: Respond with an HTML document with a toggle button. */ - return NULL; + return g_strdup_printf(document, + "DANGER", "DO NOT PRESS"); } -- cgit v0.9.1