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