modified: src/core/ConfigManager.cpp
modified: src/core/EventBus.cpp modified: src/core/Logger.cpp modified: src/core/include/ConfigManager.hpp modified: src/core/include/EventBus.hpp modified: src/core/include/Logger.hpp modified: src/core/main.cpp modified: src/resolver/Server.cpp modified: src/resolver/include/Server.hpp modified: src/ui/CMakeLists.txt modified: src/ui/Server.cpp new file: src/ui/files/index.htm.h new file: src/ui/files/style.css.h modified: src/ui/include/Server.hpp deleted: static/ui/index.htm deleted: static/ui/style.css 1. Convert static files of ui module to be included inside source code. 2. Convert logger class to singleton. 3. Remove all globals. kind breaks main function. Needs to be cleaned. currently shutdown is not cleanly handled.
This commit is contained in:
1 parent
2ff5c9de70
commit
82723a624c
16 files changed
+562
-384
No files matched your search
@@ -7,8 +7,8 @@ namespace Core {
|
|||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
|
|
||||||
ConfigManager::ConfigManager(Logger& logger, vector<string>& parameters) :
|
ConfigManager::ConfigManager(vector<string>& parameters) :
|
||||||
_logger(logger),
|
_logger(Logger::getInstance()),
|
||||||
_parameters(parameters)
|
_parameters(parameters)
|
||||||
{
|
{
|
||||||
// move this to a function that can return an error code?
|
// move this to a function that can return an error code?
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ namespace Core {
|
|||||||
|
|
||||||
// ============================== EventBus Class ==============================
|
// ============================== EventBus Class ==============================
|
||||||
|
|
||||||
EventBus::EventBus(Logger& logger) :
|
EventBus::EventBus() :
|
||||||
_logger(logger)
|
_logger(Logger::getInstance())
|
||||||
{
|
{
|
||||||
_logger.debug.ln ("Starting Event Bus...");
|
_logger.debug.ln ("Starting Event Bus...");
|
||||||
//_thread = thread(&EventBus::run, this);
|
//_thread = thread(&EventBus::run, this);
|
||||||
|
|||||||
@@ -9,6 +9,12 @@ using std::cout;
|
|||||||
using std::cerr;
|
using std::cerr;
|
||||||
using std::endl;
|
using std::endl;
|
||||||
|
|
||||||
|
// Static method to get the single instance of the class
|
||||||
|
Logger& Logger::getInstance() {
|
||||||
|
static Logger instance;
|
||||||
|
return instance;
|
||||||
|
}
|
||||||
|
|
||||||
Logger::Logger(enum Level logLevel) :
|
Logger::Logger(enum Level logLevel) :
|
||||||
_logLevel(logLevel),
|
_logLevel(logLevel),
|
||||||
debug(DEBUG, *this),
|
debug(DEBUG, *this),
|
||||||
@@ -28,6 +34,8 @@ Logger::Logger(enum Level logLevel) :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Logger::Logger() : Logger(Level::FATAL) {}
|
||||||
|
|
||||||
Logger::~Logger() {
|
Logger::~Logger() {
|
||||||
_output->close();
|
_output->close();
|
||||||
delete _output;
|
delete _output;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using std::string;
|
|||||||
class ConfigManager
|
class ConfigManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ConfigManager(Logger& logger, vector<string>& parameters);
|
ConfigManager(vector<string>& parameters);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Logger& _logger;
|
Logger& _logger;
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class Event {
|
|||||||
|
|
||||||
class EventBus {
|
class EventBus {
|
||||||
public:
|
public:
|
||||||
EventBus(Logger& logger);
|
EventBus();
|
||||||
~EventBus();
|
~EventBus();
|
||||||
Event& registerEvent(const string& eventID);
|
Event& registerEvent(const string& eventID);
|
||||||
void run();
|
void run();
|
||||||
|
|||||||
@@ -28,8 +28,12 @@ using std::mutex;
|
|||||||
class Logger {
|
class Logger {
|
||||||
public:
|
public:
|
||||||
enum Level { DEBUG, INFO, WARN, FATAL };
|
enum Level { DEBUG, INFO, WARN, FATAL };
|
||||||
Logger(Level logLevel);
|
// Static method to get the single instance of the class
|
||||||
~Logger();
|
static Logger& getInstance();
|
||||||
|
// Delete copy constructor and assignment operator to prevent copying
|
||||||
|
Logger(const Logger&) = delete;
|
||||||
|
Logger& operator=(const Logger&) = delete;
|
||||||
|
|
||||||
void setLogLevel(Level level);
|
void setLogLevel(Level level);
|
||||||
void log(Level lvl, const char* msg);
|
void log(Level lvl, const char* msg);
|
||||||
void log(Level lvl, const string& msg);
|
void log(Level lvl, const string& msg);
|
||||||
@@ -58,6 +62,9 @@ class Logger {
|
|||||||
Sink debug, info, warn, fatal;
|
Sink debug, info, warn, fatal;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Logger(Level logLevel);
|
||||||
|
Logger();
|
||||||
|
~Logger();
|
||||||
enum Level _logLevel;
|
enum Level _logLevel;
|
||||||
ofstream* _output;
|
ofstream* _output;
|
||||||
mutex _mutex;
|
mutex _mutex;
|
||||||
|
|||||||
+25
-37
@@ -13,41 +13,28 @@ using std::vector;
|
|||||||
using std::string;
|
using std::string;
|
||||||
|
|
||||||
void signalHandler( int );
|
void signalHandler( int );
|
||||||
void shutdown();
|
|
||||||
|
|
||||||
// Provide global hooks for signal handler
|
|
||||||
Logger* globalLogger;
|
|
||||||
ConfigManager* globalConfigManager;
|
|
||||||
EventBus* globalEventBus;
|
|
||||||
UI::Server* globalUIServer;
|
|
||||||
Resolver::Server* globalResolver;
|
|
||||||
|
|
||||||
int main(int args, char **argv) {
|
int main(int args, char **argv) {
|
||||||
Logger logger(Logger::DEBUG);
|
Logger& logger = Logger::getInstance();
|
||||||
|
logger.setLogLevel(Logger::Level::DEBUG);
|
||||||
logger.info.ln ("Starting Plains...");
|
|
||||||
|
|
||||||
vector<string> arguments;
|
|
||||||
for ( unsigned index = 0; index < args; ++index ) {
|
|
||||||
arguments.push_back (argv[index]);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Handle signals
|
// Handle signals
|
||||||
signal(SIGINT, signalHandler);
|
signal(SIGINT, signalHandler);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ConfigManager configManager(logger, arguments);
|
logger.info.ln ("Starting Plains...");
|
||||||
EventBus eventBus(logger);
|
|
||||||
UI::Server uIServer(logger, eventBus);
|
|
||||||
Resolver::Server resolver(logger, eventBus);
|
|
||||||
|
|
||||||
// Pass objects to global scope for signal handler
|
vector<string> arguments;
|
||||||
globalLogger = &logger;
|
for ( unsigned index = 0; index < args; ++index ) {
|
||||||
globalConfigManager = &configManager;
|
arguments.push_back (argv[index]);
|
||||||
globalEventBus = &eventBus;
|
}
|
||||||
globalUIServer = &uIServer;
|
|
||||||
globalResolver = &resolver;
|
EventBus eventBus;
|
||||||
|
ConfigManager configManager(arguments);
|
||||||
|
|
||||||
|
UI::Server uIServer(eventBus);
|
||||||
|
Resolver::Server resolver(eventBus);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Some test code below:
|
// Some test code below:
|
||||||
@@ -76,21 +63,21 @@ int main(int args, char **argv) {
|
|||||||
|
|
||||||
logger.info.ln ("Plains successfully started.");
|
logger.info.ln ("Plains successfully started.");
|
||||||
//shutdown();
|
//shutdown();
|
||||||
eventBus.run();
|
//eventBus.run();
|
||||||
}
|
}
|
||||||
catch (Exception& e) {
|
catch (Exception& e) {
|
||||||
logger.fatal << "Uncaught Exception: " << e.what() << Logger::commit;
|
logger.fatal << "Uncaught Exception: " << e.what() << Logger::commit;
|
||||||
shutdown();
|
//shutdown();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
catch (std::system_error& e) {
|
catch (std::system_error& e) {
|
||||||
logger.fatal << "Uncaught system_error exception: " << e.what() << Logger::commit;
|
logger.fatal << "Uncaught system_error exception: " << e.what() << Logger::commit;
|
||||||
shutdown();
|
//shutdown();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
catch (int e) {
|
catch (int e) {
|
||||||
logger.fatal << "Uncaught Exception with error code " << e << Logger::commit;
|
logger.fatal << "Uncaught Exception with error code " << e << Logger::commit;
|
||||||
shutdown();
|
//shutdown();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
@@ -102,20 +89,21 @@ void signalHandler( int signalNumber ) {
|
|||||||
static auto firstCall = true;
|
static auto firstCall = true;
|
||||||
if(firstCall) {
|
if(firstCall) {
|
||||||
firstCall = false;
|
firstCall = false;
|
||||||
shutdown();
|
//shutdown();
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
else exit(1);
|
else exit(1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
void shutdown() {
|
void shutdown() {
|
||||||
globalLogger->info << "Shutting down Plains..." << Logger::commit;
|
Logger::getInstance().info << "Shutting down Plains..." << Logger::commit;
|
||||||
globalResolver->~Server();
|
globalResolver->~Server();
|
||||||
globalUIServer->~Server();
|
globalUIServer->~Server();
|
||||||
globalEventBus->~EventBus();
|
globalEventBus->~EventBus();
|
||||||
globalConfigManager->~ConfigManager();
|
globalConfigManager->~ConfigManager();
|
||||||
globalLogger->info.ln ("Plains shut down.");
|
Logger::getInstance().info.ln ("Plains shut down.");
|
||||||
globalLogger->~Logger();
|
//globalLogger->~Logger();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
@@ -22,8 +22,8 @@ namespace Resolver {
|
|||||||
//using asio::ip::udp;
|
//using asio::ip::udp;
|
||||||
//using asio::ip::tcp;
|
//using asio::ip::tcp;
|
||||||
|
|
||||||
Server::Server(Logger& logger, EventBus& eventBus)
|
Server::Server(EventBus& eventBus)
|
||||||
: _logger(logger),
|
: _logger(Logger::getInstance()),
|
||||||
_eventBus(eventBus)
|
_eventBus(eventBus)
|
||||||
{
|
{
|
||||||
_logger.debug.ln ("Starting Resolver...");
|
_logger.debug.ln ("Starting Resolver...");
|
||||||
|
|||||||
@@ -14,14 +14,14 @@ using Core::Logger;
|
|||||||
using Core::Exception;
|
using Core::Exception;
|
||||||
using std::thread;
|
using std::thread;
|
||||||
|
|
||||||
#define PORT 5353
|
#define PORT 5355
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Server
|
class Server
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Server(Logger& logger, EventBus& eventBus);
|
Server(EventBus& eventBus);
|
||||||
~Server();
|
~Server();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -2,5 +2,6 @@
|
|||||||
add_library(UI OBJECT Server.cpp)
|
add_library(UI OBJECT Server.cpp)
|
||||||
|
|
||||||
target_include_directories(UI PUBLIC include)
|
target_include_directories(UI PUBLIC include)
|
||||||
|
target_include_directories(UI PRIVATE files)
|
||||||
|
|
||||||
target_link_libraries(UI PRIVATE Core DNS PUBLIC Asio HTTPLib)
|
target_link_libraries(UI PRIVATE Core DNS PUBLIC Asio HTTPLib)
|
||||||
+12
-8
@@ -1,27 +1,31 @@
|
|||||||
#include "Server.hpp"
|
#include "Server.hpp"
|
||||||
|
#include "index.htm.h"
|
||||||
|
#include "style.css.h"
|
||||||
|
|
||||||
namespace Plains {
|
namespace Plains {
|
||||||
namespace UI {
|
namespace UI {
|
||||||
|
|
||||||
using asio::ip::tcp;
|
using asio::ip::tcp;
|
||||||
|
|
||||||
Server::Server(Logger& logger, EventBus& eventBus)
|
Server::Server(EventBus& eventBus)
|
||||||
: _logger(logger),
|
: _logger(Logger::getInstance()),
|
||||||
_eventBus(eventBus)
|
_eventBus(eventBus)
|
||||||
{
|
{
|
||||||
_logger.debug.ln ("Starting UI Webserver...");
|
_logger.debug.ln ("Starting UI Webserver...");
|
||||||
_server = new httplib::Server;
|
_server = new httplib::Server;
|
||||||
|
|
||||||
//Set static file directory
|
|
||||||
auto ret = _server->set_mount_point("/", "./static/ui");
|
|
||||||
if (!ret) {
|
|
||||||
_logger.fatal.ln ("UI static file directory static/ui not found!");
|
|
||||||
}
|
|
||||||
//Redirecto / to index.htm
|
|
||||||
_server->Get("/", [this](const auto& req, auto& res) {
|
_server->Get("/", [this](const auto& req, auto& res) {
|
||||||
res.set_redirect("/index.htm");
|
res.set_redirect("/index.htm");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
_server->Get("/index.htm", [this](const httplib::Request& req, httplib::Response& res) {
|
||||||
|
res.set_content((const char*)index_htm, "text/html");
|
||||||
|
});
|
||||||
|
|
||||||
|
_server->Get("/style.css", [this](const httplib::Request& req, httplib::Response& res) {
|
||||||
|
res.set_content((const char*)style_css, "text/css");
|
||||||
|
});
|
||||||
|
|
||||||
_server->set_logger([this](const auto& req, const auto& res) {
|
_server->set_logger([this](const auto& req, const auto& res) {
|
||||||
//your_logger(req, res);
|
//your_logger(req, res);
|
||||||
_logger.info.ln ("UI Log message from Webserver. Implement passthrough!");
|
_logger.info.ln ("UI Log message from Webserver. Implement passthrough!");
|
||||||
|
|||||||
@@ -0,0 +1,204 @@
|
|||||||
|
const unsigned char index_htm[] = {
|
||||||
|
0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, 0x68, 0x74,
|
||||||
|
0x6d, 0x6c, 0x3e, 0x0a, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, 0x50, 0x6c, 0x61, 0x69, 0x6e,
|
||||||
|
0x73, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x20, 0x50, 0x61,
|
||||||
|
0x6e, 0x65, 0x6c, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6d, 0x65, 0x74, 0x61, 0x20, 0x6e, 0x61,
|
||||||
|
0x6d, 0x65, 0x3d, 0x22, 0x76, 0x69, 0x65, 0x77, 0x70, 0x6f, 0x72, 0x74,
|
||||||
|
0x22, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x3d, 0x22, 0x77,
|
||||||
|
0x69, 0x64, 0x74, 0x68, 0x3d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2d,
|
||||||
|
0x77, 0x69, 0x64, 0x74, 0x68, 0x2c, 0x20, 0x69, 0x6e, 0x69, 0x74, 0x69,
|
||||||
|
0x61, 0x6c, 0x2d, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x3d, 0x31, 0x2e, 0x30,
|
||||||
|
0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x6e, 0x6b,
|
||||||
|
0x20, 0x72, 0x65, 0x6c, 0x3d, 0x22, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x73,
|
||||||
|
0x68, 0x65, 0x65, 0x74, 0x22, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22,
|
||||||
|
0x74, 0x65, 0x78, 0x74, 0x2f, 0x63, 0x73, 0x73, 0x22, 0x20, 0x68, 0x72,
|
||||||
|
0x65, 0x66, 0x3d, 0x22, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2e, 0x63, 0x73,
|
||||||
|
0x73, 0x22, 0x20, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x3d, 0x22, 0x61, 0x6c,
|
||||||
|
0x6c, 0x22, 0x20, 0x2f, 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65,
|
||||||
|
0x61, 0x64, 0x3e, 0x0a, 0x20, 0x20, 0x3c, 0x62, 0x6f, 0x64, 0x79, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
||||||
|
0x6e, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x6e, 0x61, 0x76, 0x5f, 0x74, 0x6f,
|
||||||
|
0x70, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x75,
|
||||||
|
0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||||
|
0x3c, 0x2f, 0x70, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x3c, 0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e,
|
||||||
|
0x3c, 0x70, 0x3e, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x3c,
|
||||||
|
0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69,
|
||||||
|
0x3e, 0x3c, 0x70, 0x3e, 0x4c, 0x6f, 0x67, 0x73, 0x3c, 0x2f, 0x70, 0x3e,
|
||||||
|
0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x70, 0x3e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3c, 0x2f, 0x70,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x3c, 0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e,
|
||||||
|
0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f,
|
||||||
|
0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x44,
|
||||||
|
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
|
0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x75, 0x6c,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x69,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c,
|
||||||
|
0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x3c, 0x70, 0x3e, 0x5a, 0x6f, 0x6e, 0x65, 0x3c, 0x2f, 0x70, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x53,
|
||||||
|
0x65, 0x61, 0x72, 0x63, 0x68, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c,
|
||||||
|
0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x4d, 0x61,
|
||||||
|
0x6e, 0x61, 0x67, 0x65, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x4e, 0x65, 0x77,
|
||||||
|
0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c,
|
||||||
|
0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
|
||||||
|
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f,
|
||||||
|
0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x2f, 0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x44,
|
||||||
|
0x48, 0x43, 0x50, 0x3c, 0x2f, 0x70, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x75, 0x6c, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
||||||
|
0x73, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65,
|
||||||
|
0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c,
|
||||||
|
0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
|
||||||
|
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f,
|
||||||
|
0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x2f, 0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x43,
|
||||||
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x3c, 0x2f, 0x70, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x75, 0x6c,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x53, 0x74, 0x61,
|
||||||
|
0x74, 0x75, 0x73, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x4d, 0x61, 0x6e, 0x61,
|
||||||
|
0x67, 0x65, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x44, 0x6f, 0x63, 0x75, 0x6d,
|
||||||
|
0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3c, 0x2f, 0x70, 0x3e,
|
||||||
|
0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e,
|
||||||
|
0x3c, 0x70, 0x3e, 0x41, 0x50, 0x49, 0x3c, 0x2f, 0x70, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x75, 0x6c,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x52, 0x75, 0x6e,
|
||||||
|
0x20, 0x51, 0x75, 0x65, 0x72, 0x79, 0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f,
|
||||||
|
0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x70, 0x3e, 0x44,
|
||||||
|
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
|
0x3c, 0x2f, 0x70, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x75, 0x6c,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f,
|
||||||
|
0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f,
|
||||||
|
0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x73, 0x65,
|
||||||
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x64, 0x3d, 0x22,
|
||||||
|
0x6e, 0x61, 0x76, 0x5f, 0x6c, 0x65, 0x66, 0x74, 0x22, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x68, 0x31, 0x3e, 0x50, 0x6c, 0x41,
|
||||||
|
0x49, 0x4e, 0x53, 0x3c, 0x2f, 0x68, 0x31, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x3c, 0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x61, 0x3e, 0x41,
|
||||||
|
0x62, 0x6f, 0x75, 0x74, 0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x6c, 0x69,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c,
|
||||||
|
0x69, 0x3e, 0x3c, 0x61, 0x3e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
|
||||||
|
0x3c, 0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x6c, 0x69, 0x3e, 0x3c, 0x61,
|
||||||
|
0x3e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x3c,
|
||||||
|
0x2f, 0x61, 0x3e, 0x3c, 0x2f, 0x6c, 0x69, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x3c, 0x2f, 0x75, 0x6c, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x3c, 0x2f, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
|
0x20, 0x69, 0x64, 0x3d, 0x22, 0x70, 0x61, 0x67, 0x65, 0x22, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x68, 0x31, 0x3e, 0x50, 0x6c,
|
||||||
|
0x61, 0x69, 0x6e, 0x73, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
|
||||||
|
0x20, 0x50, 0x61, 0x6e, 0x65, 0x6c, 0x3c, 0x2f, 0x68, 0x31, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x70, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62,
|
||||||
|
0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62,
|
||||||
|
0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62,
|
||||||
|
0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62,
|
||||||
|
0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a, 0x20,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e, 0x0a,
|
||||||
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62, 0x72,
|
||||||
|
0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x62,
|
||||||
|
0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c,
|
||||||
|
0x62, 0x72, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f,
|
||||||
|
0x70, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x73, 0x65, 0x63,
|
||||||
|
0x74, 0x69, 0x6f, 0x6e, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x73,
|
||||||
|
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x66,
|
||||||
|
0x6f, 0x6f, 0x74, 0x65, 0x72, 0x22, 0x3e, 0x0a, 0x20, 0x20, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x70, 0x3e, 0x50, 0x6c, 0x61, 0x69, 0x6e, 0x73, 0x20,
|
||||||
|
0x76, 0x30, 0x2e, 0x30, 0x34, 0x3c, 0x2f, 0x70, 0x3e, 0x0a, 0x20, 0x20,
|
||||||
|
0x20, 0x20, 0x3c, 0x2f, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3e,
|
||||||
|
0x0a, 0x20, 0x20, 0x3c, 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0x0a, 0x3c,
|
||||||
|
0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0a
|
||||||
|
};
|
||||||
|
unsigned int index_htm_len = 2407;
|
||||||
@@ -0,0 +1,292 @@
|
|||||||
|
const unsigned char style_css[] = {
|
||||||
|
0x23, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x20, 0x2a, 0x20, 0x7b,
|
||||||
|
0x0a, 0x20, 0x20, 0x62, 0x6f, 0x78, 0x2d, 0x73, 0x69, 0x7a, 0x69, 0x6e,
|
||||||
|
0x67, 0x3a, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x62, 0x6f,
|
||||||
|
0x78, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67,
|
||||||
|
0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69,
|
||||||
|
0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x62, 0x6f, 0x64,
|
||||||
|
0x79, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e,
|
||||||
|
0x3a, 0x20, 0x35, 0x30, 0x70, 0x78, 0x20, 0x30, 0x20, 0x30, 0x20, 0x31,
|
||||||
|
0x30, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64,
|
||||||
|
0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x62, 0x61,
|
||||||
|
0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x69, 0x6d, 0x61,
|
||||||
|
0x67, 0x65, 0x3a, 0x20, 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x72, 0x2d, 0x67,
|
||||||
|
0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x28, 0x39, 0x30, 0x64, 0x65,
|
||||||
|
0x67, 0x2c, 0x20, 0x23, 0x32, 0x30, 0x32, 0x30, 0x32, 0x30, 0x2c, 0x20,
|
||||||
|
0x23, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x29, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x63,
|
||||||
|
0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x30, 0x30, 0x30, 0x30, 0x30,
|
||||||
|
0x30, 0x3b, 0x0a, 0x20, 0x20, 0x2f, 0x2a, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
|
||||||
|
0x3a, 0x20, 0x23, 0x45, 0x45, 0x45, 0x45, 0x45, 0x45, 0x3b, 0x2a, 0x2f,
|
||||||
|
0x0a, 0x20, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x65,
|
||||||
|
0x65, 0x65, 0x65, 0x65, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e,
|
||||||
|
0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x20, 0x54, 0x61,
|
||||||
|
0x68, 0x6f, 0x6d, 0x61, 0x2c, 0x20, 0x56, 0x65, 0x72, 0x64, 0x61, 0x6e,
|
||||||
|
0x61, 0x2c, 0x20, 0x41, 0x72, 0x69, 0x61, 0x6c, 0x2c, 0x20, 0x73, 0x61,
|
||||||
|
0x6e, 0x73, 0x2d, 0x73, 0x65, 0x72, 0x69, 0x66, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20, 0x31,
|
||||||
|
0x36, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x6d, 0x69, 0x6e, 0x2d, 0x77,
|
||||||
|
0x69, 0x64, 0x74, 0x68, 0x3a, 0x20, 0x38, 0x30, 0x30, 0x70, 0x78, 0x3b,
|
||||||
|
0x0a, 0x7d, 0x0a, 0x0a, 0x70, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x77, 0x6f,
|
||||||
|
0x72, 0x64, 0x2d, 0x77, 0x72, 0x61, 0x70, 0x3a, 0x20, 0x62, 0x72, 0x65,
|
||||||
|
0x61, 0x6b, 0x2d, 0x77, 0x6f, 0x72, 0x64, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a,
|
||||||
|
0x23, 0x70, 0x61, 0x67, 0x65, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61,
|
||||||
|
0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x70,
|
||||||
|
0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x31, 0x35, 0x70, 0x78,
|
||||||
|
0x20, 0x33, 0x30, 0x70, 0x78, 0x20, 0x33, 0x30, 0x70, 0x78, 0x20, 0x33,
|
||||||
|
0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
||||||
|
0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76,
|
||||||
|
0x65, 0x3b, 0x0a, 0x20, 0x20, 0x74, 0x6f, 0x70, 0x3a, 0x20, 0x30, 0x3b,
|
||||||
|
0x20, 0x2f, 0x2a, 0x54, 0x68, 0x69, 0x73, 0x20, 0x68, 0x61, 0x73, 0x20,
|
||||||
|
0x74, 0x6f, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x20, 0x68, 0x69, 0x67,
|
||||||
|
0x68, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x74,
|
||||||
|
0x6f, 0x70, 0x20, 0x73, 0x6f, 0x20, 0x6e, 0x61, 0x76, 0x2d, 0x74, 0x6f,
|
||||||
|
0x70, 0x20, 0x64, 0x6f, 0x73, 0x65, 0x73, 0x6e, 0x74, 0x20, 0x6f, 0x76,
|
||||||
|
0x65, 0x72, 0x6c, 0x61, 0x70, 0x20, 0x61, 0x73, 0x20, 0x69, 0x74, 0x73,
|
||||||
|
0x20, 0x6e, 0x6f, 0x74, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20,
|
||||||
|
0x73, 0x61, 0x6d, 0x65, 0x20, 0x66, 0x6c, 0x6f, 0x77, 0x2a, 0x2f, 0x0a,
|
||||||
|
0x20, 0x20, 0x72, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x30, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x31, 0x30,
|
||||||
|
0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72,
|
||||||
|
0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20,
|
||||||
|
0x23, 0x31, 0x30, 0x31, 0x30, 0x31, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x6f,
|
||||||
|
0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x20, 0x68, 0x69, 0x64,
|
||||||
|
0x64, 0x65, 0x6e, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x6e, 0x61, 0x76,
|
||||||
|
0x5f, 0x74, 0x6f, 0x70, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72,
|
||||||
|
0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x61,
|
||||||
|
0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x74, 0x6f, 0x70, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x72, 0x69,
|
||||||
|
0x67, 0x68, 0x74, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x6c, 0x65,
|
||||||
|
0x66, 0x74, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x66,
|
||||||
|
0x69, 0x78, 0x65, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x65, 0x69, 0x67,
|
||||||
|
0x68, 0x74, 0x3a, 0x20, 0x35, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x69,
|
||||||
|
0x6d, 0x61, 0x67, 0x65, 0x3a, 0x20, 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x72,
|
||||||
|
0x2d, 0x67, 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x28, 0x39, 0x30,
|
||||||
|
0x64, 0x65, 0x67, 0x2c, 0x20, 0x23, 0x32, 0x30, 0x32, 0x30, 0x32, 0x30,
|
||||||
|
0x2c, 0x20, 0x23, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x29, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
|
||||||
|
0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x32, 0x30, 0x32,
|
||||||
|
0x30, 0x32, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c,
|
||||||
|
0x61, 0x79, 0x3a, 0x20, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x7a, 0x2d, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x20, 0x31, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x6d, 0x69, 0x6e, 0x2d, 0x77, 0x69, 0x64, 0x74, 0x68,
|
||||||
|
0x3a, 0x20, 0x36, 0x30, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x62,
|
||||||
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d,
|
||||||
|
0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x20,
|
||||||
|
0x23, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a,
|
||||||
|
0x23, 0x6e, 0x61, 0x76, 0x5f, 0x74, 0x6f, 0x70, 0x20, 0x75, 0x6c, 0x20,
|
||||||
|
0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20,
|
||||||
|
0x30, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67,
|
||||||
|
0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68,
|
||||||
|
0x74, 0x3a, 0x20, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x66,
|
||||||
|
0x6c, 0x65, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x2d,
|
||||||
|
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x72,
|
||||||
|
0x6f, 0x77, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x2d, 0x77,
|
||||||
|
0x72, 0x61, 0x70, 0x3a, 0x20, 0x6e, 0x6f, 0x77, 0x72, 0x61, 0x70, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x79, 0x2d, 0x63,
|
||||||
|
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74,
|
||||||
|
0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x2d,
|
||||||
|
0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x65,
|
||||||
|
0x72, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x74,
|
||||||
|
0x6f, 0x70, 0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69, 0x20, 0x7b, 0x0a, 0x20,
|
||||||
|
0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30,
|
||||||
|
0x3b, 0x0a, 0x20, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20,
|
||||||
|
0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x74,
|
||||||
|
0x65, 0x78, 0x74, 0x2d, 0x64, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x69,
|
||||||
|
0x6f, 0x6e, 0x3a, 0x20, 0x6e, 0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x6c, 0x69, 0x73, 0x74, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x74,
|
||||||
|
0x79, 0x70, 0x65, 0x3a, 0x20, 0x6e, 0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a,
|
||||||
|
0x20, 0x6c, 0x65, 0x66, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x76, 0x65, 0x72,
|
||||||
|
0x74, 0x69, 0x63, 0x61, 0x6c, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a,
|
||||||
|
0x20, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x66,
|
||||||
|
0x6c, 0x65, 0x78, 0x3a, 0x20, 0x32, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
|
||||||
|
0x3a, 0x20, 0x62, 0x6f, 0x6c, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x64, 0x69,
|
||||||
|
0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x2d, 0x69, 0x74, 0x65,
|
||||||
|
0x6d, 0x73, 0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a,
|
||||||
|
0x20, 0x31, 0x32, 0x30, 0x25, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x6e,
|
||||||
|
0x61, 0x76, 0x5f, 0x74, 0x6f, 0x70, 0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69,
|
||||||
|
0x3a, 0x68, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x62,
|
||||||
|
0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x63, 0x6f,
|
||||||
|
0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x33, 0x30, 0x33, 0x30, 0x33, 0x30,
|
||||||
|
0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x74, 0x6f,
|
||||||
|
0x70, 0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69, 0x20, 0x70, 0x20, 0x7b, 0x0a,
|
||||||
|
0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20,
|
||||||
|
0x30, 0x20, 0x32, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x2f,
|
||||||
|
0x2a, 0x20, 0x53, 0x75, 0x62, 0x2d, 0x6d, 0x65, 0x6e, 0x75, 0x20, 0x2a,
|
||||||
|
0x2f, 0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x74, 0x6f, 0x70, 0x20, 0x75,
|
||||||
|
0x6c, 0x20, 0x6c, 0x69, 0x20, 0x75, 0x6c, 0x20, 0x7b, 0x0a, 0x20, 0x20,
|
||||||
|
0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x6e, 0x6f, 0x6e,
|
||||||
|
0x65, 0x3b, 0x20, 0x2f, 0x2a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x20,
|
||||||
|
0x74, 0x6f, 0x20, 0x6e, 0x6f, 0x6e, 0x65, 0x20, 0x61, 0x66, 0x74, 0x65,
|
||||||
|
0x72, 0x20, 0x64, 0x65, 0x62, 0x75, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2a,
|
||||||
|
0x2f, 0x0a, 0x20, 0x20, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
|
0x3a, 0x20, 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x74, 0x6f, 0x70, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x25, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x66,
|
||||||
|
0x69, 0x74, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x2d, 0x64, 0x69, 0x72, 0x65, 0x63,
|
||||||
|
0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||||
|
0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x2d, 0x77, 0x72, 0x61,
|
||||||
|
0x70, 0x3a, 0x20, 0x6e, 0x6f, 0x77, 0x72, 0x61, 0x70, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x79, 0x2d, 0x63, 0x6f, 0x6e,
|
||||||
|
0x74, 0x65, 0x6e, 0x74, 0x3a, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x2d, 0x69, 0x74, 0x65, 0x6d,
|
||||||
|
0x73, 0x3a, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a,
|
||||||
|
0x2f, 0x2a, 0x70, 0x6f, 0x70, 0x75, 0x70, 0x20, 0x73, 0x75, 0x62, 0x2d,
|
||||||
|
0x6d, 0x65, 0x6e, 0x75, 0x2a, 0x2f, 0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f,
|
||||||
|
0x74, 0x6f, 0x70, 0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69, 0x3a, 0x68, 0x6f,
|
||||||
|
0x76, 0x65, 0x72, 0x20, 0x3e, 0x20, 0x75, 0x6c, 0x20, 0x7b, 0x0a, 0x20,
|
||||||
|
0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x69, 0x6e,
|
||||||
|
0x68, 0x65, 0x72, 0x69, 0x74, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x6e,
|
||||||
|
0x61, 0x76, 0x5f, 0x74, 0x6f, 0x70, 0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69,
|
||||||
|
0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d,
|
||||||
|
0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x31, 0x35, 0x70,
|
||||||
|
0x78, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68,
|
||||||
|
0x3a, 0x20, 0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x64, 0x69,
|
||||||
|
0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e,
|
||||||
|
0x64, 0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x33, 0x30,
|
||||||
|
0x33, 0x30, 0x33, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x6f, 0x73, 0x69,
|
||||||
|
0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69,
|
||||||
|
0x76, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x64,
|
||||||
|
0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x6e,
|
||||||
|
0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x2d,
|
||||||
|
0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20,
|
||||||
|
0x6e, 0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x74, 0x65, 0x78, 0x74,
|
||||||
|
0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, 0x20, 0x6c, 0x65, 0x66, 0x74,
|
||||||
|
0x3b, 0x0a, 0x20, 0x20, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c,
|
||||||
|
0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, 0x20, 0x6d, 0x69, 0x64, 0x64,
|
||||||
|
0x6c, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3a, 0x20,
|
||||||
|
0x32, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74,
|
||||||
|
0x2d, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x62, 0x6f, 0x6c,
|
||||||
|
0x64, 0x3b, 0x0a, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
|
||||||
|
0x3a, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x61, 0x6c,
|
||||||
|
0x69, 0x67, 0x6e, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x20, 0x63,
|
||||||
|
0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e,
|
||||||
|
0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20, 0x38, 0x30, 0x25, 0x3b,
|
||||||
|
0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x74, 0x6f, 0x70,
|
||||||
|
0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69, 0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69,
|
||||||
|
0x3a, 0x68, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x62,
|
||||||
|
0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x63, 0x6f,
|
||||||
|
0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x34, 0x30, 0x34, 0x30, 0x34, 0x30,
|
||||||
|
0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x6c, 0x65,
|
||||||
|
0x66, 0x74, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69,
|
||||||
|
0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x74, 0x6f, 0x70, 0x3a,
|
||||||
|
0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3a, 0x20,
|
||||||
|
0x30, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a,
|
||||||
|
0x20, 0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x77, 0x69, 0x64,
|
||||||
|
0x74, 0x68, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x66,
|
||||||
|
0x69, 0x78, 0x65, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x62, 0x61, 0x63, 0x6b,
|
||||||
|
0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
|
||||||
|
0x3a, 0x20, 0x23, 0x32, 0x30, 0x32, 0x30, 0x32, 0x30, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x7a, 0x2d, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x20, 0x31, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x72, 0x69,
|
||||||
|
0x67, 0x68, 0x74, 0x3a, 0x20, 0x31, 0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c,
|
||||||
|
0x69, 0x64, 0x20, 0x23, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3b, 0x0a,
|
||||||
|
0x7d, 0x0a, 0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x6c, 0x65, 0x66, 0x74,
|
||||||
|
0x20, 0x75, 0x6c, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67,
|
||||||
|
0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x61, 0x64,
|
||||||
|
0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x74,
|
||||||
|
0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, 0x20, 0x6c,
|
||||||
|
0x65, 0x66, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c,
|
||||||
|
0x61, 0x79, 0x3a, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x66, 0x6c, 0x65, 0x78, 0x2d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
|
||||||
|
0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x2d, 0x77, 0x72, 0x61, 0x70, 0x3a,
|
||||||
|
0x20, 0x6e, 0x6f, 0x77, 0x72, 0x61, 0x70, 0x3b, 0x0a, 0x20, 0x20, 0x6a,
|
||||||
|
0x75, 0x73, 0x74, 0x69, 0x66, 0x79, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x65,
|
||||||
|
0x6e, 0x74, 0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3a, 0x20, 0x69, 0x6e, 0x68,
|
||||||
|
0x65, 0x72, 0x69, 0x74, 0x3b, 0x0a, 0x20, 0x20, 0x61, 0x6c, 0x69, 0x67,
|
||||||
|
0x6e, 0x2d, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x20, 0x63, 0x65, 0x6e,
|
||||||
|
0x74, 0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x62, 0x6f, 0x74, 0x74, 0x6f,
|
||||||
|
0x6d, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x6f, 0x73, 0x69,
|
||||||
|
0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x66, 0x69, 0x78, 0x65, 0x64, 0x3b,
|
||||||
|
0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x6c, 0x65, 0x66,
|
||||||
|
0x74, 0x20, 0x75, 0x6c, 0x20, 0x6c, 0x69, 0x20, 0x7b, 0x0a, 0x20, 0x20,
|
||||||
|
0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x31, 0x35,
|
||||||
|
0x70, 0x78, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x65, 0x69, 0x67,
|
||||||
|
0x68, 0x74, 0x3a, 0x20, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3a, 0x20, 0x31, 0x30,
|
||||||
|
0x30, 0x25, 0x3b, 0x0a, 0x20, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x64,
|
||||||
|
0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x6e,
|
||||||
|
0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x2d,
|
||||||
|
0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20,
|
||||||
|
0x6e, 0x6f, 0x6e, 0x65, 0x3b, 0x0a, 0x20, 0x20, 0x74, 0x65, 0x78, 0x74,
|
||||||
|
0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74,
|
||||||
|
0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6c, 0x65, 0x78, 0x3a, 0x20,
|
||||||
|
0x32, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74,
|
||||||
|
0x2d, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x62, 0x6f, 0x6c,
|
||||||
|
0x64, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69,
|
||||||
|
0x7a, 0x65, 0x3a, 0x20, 0x31, 0x30, 0x30, 0x25, 0x3b, 0x0a, 0x7d, 0x0a,
|
||||||
|
0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x6c, 0x65, 0x66, 0x74, 0x20, 0x68,
|
||||||
|
0x31, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e,
|
||||||
|
0x3a, 0x20, 0x31, 0x32, 0x70, 0x78, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e,
|
||||||
|
0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x77, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x2d, 0x6d, 0x6f, 0x64, 0x65,
|
||||||
|
0x3a, 0x20, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x2d, 0x6c,
|
||||||
|
0x72, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69,
|
||||||
|
0x7a, 0x65, 0x3a, 0x20, 0x35, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20, 0x20,
|
||||||
|
0x6c, 0x65, 0x74, 0x74, 0x65, 0x72, 0x2d, 0x73, 0x70, 0x61, 0x63, 0x69,
|
||||||
|
0x6e, 0x67, 0x3a, 0x20, 0x33, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x7d, 0x0a,
|
||||||
|
0x0a, 0x23, 0x6e, 0x61, 0x76, 0x5f, 0x6c, 0x65, 0x66, 0x74, 0x20, 0x61,
|
||||||
|
0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a,
|
||||||
|
0x20, 0x31, 0x30, 0x70, 0x78, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x70,
|
||||||
|
0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x74, 0x65, 0x78, 0x74, 0x2d, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x3a,
|
||||||
|
0x20, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a,
|
||||||
|
0x23, 0x6e, 0x61, 0x76, 0x5f, 0x6c, 0x65, 0x66, 0x74, 0x20, 0x75, 0x6c,
|
||||||
|
0x20, 0x6c, 0x69, 0x3a, 0x68, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x7b, 0x0a,
|
||||||
|
0x20, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
|
||||||
|
0x2d, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x20, 0x23, 0x33, 0x30, 0x33,
|
||||||
|
0x30, 0x33, 0x30, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x66, 0x6f, 0x6f,
|
||||||
|
0x74, 0x65, 0x72, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67,
|
||||||
|
0x69, 0x6e, 0x3a, 0x20, 0x30, 0x3b, 0x0a, 0x20, 0x20, 0x68, 0x65, 0x69,
|
||||||
|
0x67, 0x68, 0x74, 0x3a, 0x20, 0x35, 0x30, 0x70, 0x78, 0x3b, 0x0a, 0x20,
|
||||||
|
0x20, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x79, 0x2d, 0x63, 0x6f, 0x6e,
|
||||||
|
0x74, 0x65, 0x6e, 0x74, 0x3a, 0x20, 0x6c, 0x65, 0x66, 0x74, 0x3b, 0x0a,
|
||||||
|
0x20, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x3a, 0x20, 0x66,
|
||||||
|
0x6c, 0x65, 0x78, 0x3b, 0x0a, 0x20, 0x20, 0x61, 0x6c, 0x69, 0x67, 0x6e,
|
||||||
|
0x2d, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x20, 0x63, 0x65, 0x6e, 0x74,
|
||||||
|
0x65, 0x72, 0x3b, 0x0a, 0x20, 0x20, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69,
|
||||||
|
0x6f, 0x6e, 0x3a, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65,
|
||||||
|
0x3b, 0x0a, 0x20, 0x20, 0x72, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20, 0x30,
|
||||||
|
0x3b, 0x0a, 0x20, 0x20, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x3a, 0x20,
|
||||||
|
0x30, 0x3b, 0x0a, 0x20, 0x20, 0x2f, 0x2a, 0x62, 0x61, 0x63, 0x6b, 0x67,
|
||||||
|
0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x3a,
|
||||||
|
0x20, 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x72, 0x2d, 0x67, 0x72, 0x61, 0x64,
|
||||||
|
0x69, 0x65, 0x6e, 0x74, 0x28, 0x39, 0x30, 0x64, 0x65, 0x67, 0x2c, 0x20,
|
||||||
|
0x23, 0x32, 0x30, 0x32, 0x30, 0x32, 0x30, 0x2c, 0x20, 0x23, 0x30, 0x30,
|
||||||
|
0x30, 0x30, 0x30, 0x30, 0x29, 0x3b, 0x2a, 0x2f, 0x0a, 0x20, 0x20, 0x2f,
|
||||||
|
0x2a, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x2d,
|
||||||
|
0x69, 0x6d, 0x61, 0x67, 0x65, 0x3a, 0x20, 0x6c, 0x69, 0x6e, 0x65, 0x61,
|
||||||
|
0x72, 0x2d, 0x67, 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x28, 0x39,
|
||||||
|
0x30, 0x64, 0x65, 0x67, 0x2c, 0x20, 0x23, 0x30, 0x30, 0x30, 0x30, 0x30,
|
||||||
|
0x30, 0x2c, 0x20, 0x23, 0x30, 0x30, 0x30, 0x30, 0x33, 0x30, 0x2c, 0x20,
|
||||||
|
0x23, 0x36, 0x30, 0x30, 0x30, 0x42, 0x30, 0x2c, 0x20, 0x23, 0x30, 0x30,
|
||||||
|
0x30, 0x30, 0x33, 0x30, 0x29, 0x3b, 0x2a, 0x2f, 0x0a, 0x20, 0x20, 0x62,
|
||||||
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x2d, 0x74, 0x6f, 0x70, 0x3a, 0x20, 0x31,
|
||||||
|
0x70, 0x78, 0x20, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x20, 0x23, 0x30, 0x30,
|
||||||
|
0x30, 0x30, 0x30, 0x30, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x66, 0x6f,
|
||||||
|
0x6f, 0x74, 0x65, 0x72, 0x20, 0x70, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x66,
|
||||||
|
0x6f, 0x6e, 0x74, 0x2d, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3a, 0x20,
|
||||||
|
0x62, 0x6f, 0x6c, 0x64, 0x3b, 0x0a, 0x20, 0x20, 0x66, 0x6f, 0x6e, 0x74,
|
||||||
|
0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x20, 0x31, 0x33, 0x30, 0x25, 0x3b,
|
||||||
|
0x0a, 0x20, 0x20, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x20, 0x32,
|
||||||
|
0x30, 0x70, 0x78, 0x3b, 0x0a, 0x7d, 0x0a
|
||||||
|
};
|
||||||
|
unsigned int style_css_len = 3463;
|
||||||
@@ -26,7 +26,7 @@ class Server
|
|||||||
void run();
|
void run();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Server(Logger& logger, EventBus& eventBus);
|
Server(EventBus& eventBus);
|
||||||
~Server();
|
~Server();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,126 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Plains Control Panel</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<section id="nav_top">
|
|
||||||
<ul>
|
|
||||||
<li><p>Status</p>
|
|
||||||
<ul>
|
|
||||||
<li><p>Overview</p></li>
|
|
||||||
<li><p>Logs</p></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<p>Account</p>
|
|
||||||
<ul>
|
|
||||||
<li><p>Manage</p></li>
|
|
||||||
<li><p>Documentation</p></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<p>Zone</p>
|
|
||||||
<ul>
|
|
||||||
<li><p>Search</p></li>
|
|
||||||
<li><p>Manage</p></li>
|
|
||||||
<li><p>New</p></li>
|
|
||||||
<li><p>Documentation</p></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><p>DHCP</p>
|
|
||||||
<ul>
|
|
||||||
<li><p>Clients</p></li>
|
|
||||||
<li><p>Manage</p></li>
|
|
||||||
<li><p>Documentation</p></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><p>Cluster</p>
|
|
||||||
<ul>
|
|
||||||
<li><p>Status</p></li>
|
|
||||||
<li><p>Manage</p></li>
|
|
||||||
<li><p>Documentation</p></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><p>API</p>
|
|
||||||
<ul>
|
|
||||||
<li><p>Run Query</p></li>
|
|
||||||
<li><p>Documentation</p></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
<section id="nav_left">
|
|
||||||
<h1>PlAINS</h1>
|
|
||||||
<ul>
|
|
||||||
<li><a>About</a></li>
|
|
||||||
<li><a>Support</a></li>
|
|
||||||
<li><a>Contribute</a></li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
<section id="page">
|
|
||||||
<h1>Plains Control Panel</h1>
|
|
||||||
<p>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
</p>
|
|
||||||
</section>
|
|
||||||
<section id="footer">
|
|
||||||
<p>Plains v0.04</p>
|
|
||||||
</section>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,200 +0,0 @@
|
|||||||
#wrapper * {
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 50px 0 0 100px;
|
|
||||||
padding: 0;
|
|
||||||
background-image: linear-gradient(90deg, #202020, #000000);
|
|
||||||
background-color: #000000;
|
|
||||||
/*color: #EEEEEE;*/
|
|
||||||
color: #eeeeee;
|
|
||||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
|
||||||
font-size: 16px;
|
|
||||||
min-width: 800px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
#page {
|
|
||||||
margin: 0;
|
|
||||||
padding: 15px 30px 30px 30px;
|
|
||||||
position: relative;
|
|
||||||
top: 0; /*This has to match hight of #nav_top so nav-top dosesnt overlap as its not in the same flow*/
|
|
||||||
right: 0;
|
|
||||||
height: 100%;
|
|
||||||
background-color: #101010;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_top {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
left: 100px;
|
|
||||||
position: fixed;
|
|
||||||
height: 50px;
|
|
||||||
background-image: linear-gradient(90deg, #202020, #000000);
|
|
||||||
background-color: #202020;
|
|
||||||
display: block;
|
|
||||||
z-index: 1;
|
|
||||||
min-width: 600px;
|
|
||||||
border-bottom: 1px solid #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_top ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
height: inherit;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_top ul li {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
height: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
list-style-type: none;
|
|
||||||
text-align: left;
|
|
||||||
vertical-align: middle;
|
|
||||||
flex: 20px;
|
|
||||||
font-weight: bold;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 120%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_top ul li:hover {
|
|
||||||
background-color: #303030;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_top ul li p {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sub-menu */
|
|
||||||
#nav_top ul li ul {
|
|
||||||
display: none; /*change to none after debugging*/
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
height: fit-content;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
justify-content: left;
|
|
||||||
align-items: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*popup sub-menu*/
|
|
||||||
#nav_top ul li:hover > ul {
|
|
||||||
display: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_top ul li ul li {
|
|
||||||
margin: 0;
|
|
||||||
padding: 15px 0;
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
background-color: #303030;
|
|
||||||
position: relative;
|
|
||||||
text-decoration: none;
|
|
||||||
list-style-type: none;
|
|
||||||
text-align: left;
|
|
||||||
vertical-align: middle;
|
|
||||||
flex: 20px;
|
|
||||||
font-weight: bold;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_top ul li ul li:hover {
|
|
||||||
background-color: #404040;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_left {
|
|
||||||
margin: 0;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
height: 100%;
|
|
||||||
width: 100px;
|
|
||||||
position: fixed;
|
|
||||||
background-color: #202020;
|
|
||||||
z-index: 1;
|
|
||||||
border-right: 1px solid #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_left ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
text-align: left;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
justify-content: center;
|
|
||||||
width: inherit;
|
|
||||||
align-items: center;
|
|
||||||
bottom: 0;
|
|
||||||
position: fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_left ul li {
|
|
||||||
margin: 0;
|
|
||||||
padding: 15px 0;
|
|
||||||
height: inherit;
|
|
||||||
width: 100%;
|
|
||||||
text-decoration: none;
|
|
||||||
list-style-type: none;
|
|
||||||
text-align: center;
|
|
||||||
flex: 20px;
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_left h1 {
|
|
||||||
margin: 12px 0;
|
|
||||||
padding: 0;
|
|
||||||
text-align: center;
|
|
||||||
writing-mode: vertical-lr;
|
|
||||||
font-size: 50px;
|
|
||||||
letter-spacing: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_left a {
|
|
||||||
margin: 10px 0;
|
|
||||||
padding: 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav_left ul li:hover {
|
|
||||||
background-color: #303030;
|
|
||||||
}
|
|
||||||
|
|
||||||
#footer {
|
|
||||||
margin: 0;
|
|
||||||
height: 50px;
|
|
||||||
justify-content: left;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
/*background-image: linear-gradient(90deg, #202020, #000000);*/
|
|
||||||
/*background-image: linear-gradient(90deg, #000000, #000030, #6000B0, #000030);*/
|
|
||||||
border-top: 1px solid #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#footer p {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 130%;
|
|
||||||
margin: 20px;
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user