Browse Source

Update HTTPServer.cpp

Fix transport sections in web interface
pull/1222/head
xcps 6 years ago committed by GitHub
parent
commit
d36d825ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      daemon/HTTPServer.cpp

3
daemon/HTTPServer.cpp

@ -5,6 +5,7 @@
#include <boost/asio.hpp> #include <boost/asio.hpp>
#include <boost/bind.hpp> #include <boost/bind.hpp>
#include <boost/algorithm/string.hpp>
#include "Base.h" #include "Base.h"
#include "FS.h" #include "FS.h"
@ -577,7 +578,7 @@ namespace http {
} }
if (!tmp_s.str ().empty ()) if (!tmp_s.str ().empty ())
{ {
s << "<div class='slide'><label for='slide_ntcp'><b>" << name << "</b> ( " << cnt << " )</label>\r\n<input type='checkbox' id='slide_ntcp'/>\r\n<p class='content'>"; s << "<div class='slide'><label for='slide_" << boost::algorithm::to_lower_copy(name) << "'><b>" << name << "</b> ( " << cnt << " )</label>\r\n<input type='checkbox' id='slide_ntcp'/>\r\n<p class='content'>";
s << tmp_s.str () << "</p>\r\n</div>\r\n"; s << tmp_s.str () << "</p>\r\n</div>\r\n";
} }
if (!tmp_s6.str ().empty ()) if (!tmp_s6.str ().empty ())

Loading…
Cancel
Save