23 lines
739 B
C++
23 lines
739 B
C++
#ifndef ____index_h__
|
|
#define ____index_h__
|
|
|
|
namespace http {
|
|
|
|
class __index : public core::Command {
|
|
|
|
int processCommand(std::string request, core::Session *session, std::stringstream &data) override {
|
|
|
|
data << "<http><head></head><body style=\"background: #006; color: #fff;\">\
|
|
<form action=\"setupadmin\" method=\"POST\"><div style=\"background: #44C; text: #888; padding: 20px;\"><p>You have successfully set up a JETServer.\
|
|
<br>Session Id: \
|
|
<br>The configuration has not yet been established for this web site.</p>\
|
|
<button>Configure</button>\
|
|
</div></form></body></html>";
|
|
|
|
return true;
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif
|