32 lines
1.2 KiB
C++
32 lines
1.2 KiB
C++
#ifndef ____entrypoints_h__
|
|
#define ____entrypoints_h__
|
|
|
|
namespace http {
|
|
|
|
class __entrypoints : public HTTPPage {
|
|
|
|
int page(HTTPParameters &p) override {
|
|
|
|
p.data << "<form name=\"entrypoints\" action=\"entrypoints\" method=\"POST\">"
|
|
" <div class=\"window\"><h1>Entry Points</h1>"
|
|
" <div style=\"border: 1pt solid white; padding: 3px; margin-bottom: 5px;\">"
|
|
" <div>Entry Point URL:</div>"
|
|
" <input type=\"text\" name=\"entrypointurl\" size=\"30\">"
|
|
" </div>"
|
|
" <div style=\"border: 1pt solid white; padding: 3px; margin-bottom: 5px;\">"
|
|
" <div>Entry Point Flow</div>"
|
|
" <input type=\"text\" name=\"entrypointflow\" size=\"30\">"
|
|
" </div>"
|
|
" <br><br>Session Id: " << p.httpSession.getSessionId() << ""
|
|
" <input type=\"button\" onmousedown=\"process('/mainmenu','configure', 'main'); return true;\" name=\"button1\" value=\"Update Configuration\">"
|
|
" </div></form>";
|
|
|
|
p.httpRequest.response.addHeader(coreutils::IMFHeader("Content-Type", "text/html"));
|
|
|
|
return true;
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif
|