mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 16:34:13 +01:00
modules/s_control: Use HTML table for conf list.
This commit is contained in:
parent
d29b98b0ea
commit
438762ff8e
1 changed files with 5 additions and 5 deletions
|
@ -105,12 +105,12 @@ try
|
||||||
{
|
{
|
||||||
char val[512];
|
char val[512];
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss << "<pre>";
|
ss << "<table>";
|
||||||
for(const auto &p : conf::items)
|
for(const auto &p : conf::items)
|
||||||
ss << std::setw(32) << std::right << p.first
|
ss << "<tr><td>" << std::setw(32) << std::right << p.first
|
||||||
<< " = " << p.second->get(val)
|
<< "</td><td>" << p.second->get(val)
|
||||||
<< "<br />";
|
<< "</td></tr>";
|
||||||
ss << "</pre>";
|
ss << "</table>";
|
||||||
|
|
||||||
msghtml(control_room, m::me.user_id, ss.str());
|
msghtml(control_room, m::me.user_id, ss.str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue