/* * (C) 2013-2025 by Christian Hesse * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ #ifndef _HTML_H #define _HTML_H /* This is used for default documents. Usually you will not see this anyway. */ #define PAGE307 \ "307 temporary redirect" \ "307 temporary redirect: " \ "%s" #define PAGE404 \ "404 Not Found" \ "404 Not Found: %s" /* status page */ #define CIRCLE_GREEN "🟢" #define CIRCLE_YELLOW "🟡" #define CIRCLE_ORANGE "🟠" #define CIRCLE_RED "🔴" #define CIRCLE_BLUE "🔵" #define STATUS_HEAD \ "" \ "pacredir status" \ "" \ "" \ "" \ "" \ "

pacredir status

" \ "

This is pacredir version " VERSION " running on localhost. " \ "Visit " WEBSITE " for documentation.

" \ "" \ "" \ "" \ "" \ "" \ "" \ "
Distribution:" ID "
Architecture:" ARCH "
Redirects:%d
Not found:%d
Over all:%s
" #define STATUS_INT_HEAD \ "

Ignored interfaces

" \ "" #define STATUS_INT_ONE \ "" #define STATUS_INT_ONE_NA \ "" #define STATUS_INT_NONE \ "" #define STATUS_INT_FOOT \ "
interfacelink
%s%d
%s" CIRCLE_ORANGE "
(none)
" #define STATUS_HOST_HEAD \ "

Hosts

" \ "" \ "" \ "" \ "" \ "" \ "" #define STATUS_HOST_ONE \ "" \ "" \ "" \ "" \ "" \ "" #define STATUS_HOST_NONE \ "" #define STATUS_HOST_FOOT \ "
hostportstatefindsbad
%s%d%s%s%s%d%s%d
(none)
" #define STATUS_FOOT \ "" #endif /* _HTML_H */