X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Flocalidentitiespage.h;h=162777c68cc8a8c946051325a548b85c44aef666;hb=221236a4d3aac4144529d418ce368db5c98facb0;hp=bc687e12081e7d8476e33dd6f0e77e34fbaa225c;hpb=f208e33c29132aacaec448e74341edea1b925a2a;p=fms.git diff --git a/include/http/pages/localidentitiespage.h b/include/http/pages/localidentitiespage.h index bc687e1..162777c 100644 --- a/include/http/pages/localidentitiespage.h +++ b/include/http/pages/localidentitiespage.h @@ -7,12 +7,20 @@ class LocalIdentitiesPage:public IPageHandler,public IDatabase { public: - LocalIdentitiesPage(const std::string &templatestr):IPageHandler(templatestr) {} + LocalIdentitiesPage(const std::string &templatestr):IPageHandler(templatestr,"localidentities.htm") {} + + IPageHandler *New() { return new LocalIdentitiesPage(m_template); } + + void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::HTTPServerResponse &response); + private: const bool WillHandleURI(const std::string &uri); const std::string GeneratePage(const std::string &method, const std::map &queryvars); - const std::string CreateTrueFalseDropDown(const std::string &name, const std::string &selected); + void HandleUpdate(const std::map &queryvars); + void HandleDelete(const std::map &queryvars); + void HandleImport(const std::map &queryvars); + const std::string HandleExport(); };