diff options
author | a-romanov <a-romanov@yandex-team.ru> | 2022-02-10 16:48:11 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:11 +0300 |
commit | 0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/monlib/service/pages | |
parent | aa2986a34bde73b2cdcea5080c4443b7cf2ba686 (diff) | |
download | ydb-0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435.tar.gz |
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/service/pages')
-rw-r--r-- | library/cpp/monlib/service/pages/html_mon_page.cpp | 8 | ||||
-rw-r--r-- | library/cpp/monlib/service/pages/html_mon_page.h | 2 | ||||
-rw-r--r-- | library/cpp/monlib/service/pages/templates.cpp | 6 | ||||
-rw-r--r-- | library/cpp/monlib/service/pages/templates.h | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/monlib/service/pages/html_mon_page.cpp b/library/cpp/monlib/service/pages/html_mon_page.cpp index 5dc9eed1fd..eb4eb3b66c 100644 --- a/library/cpp/monlib/service/pages/html_mon_page.cpp +++ b/library/cpp/monlib/service/pages/html_mon_page.cpp @@ -46,12 +46,12 @@ void THtmlMonPage::Output(NMonitoring::IMonHttpRequest& request) { } } } - + void THtmlMonPage::NotFound(NMonitoring::IMonHttpRequest& request) const { IOutputStream& out = request.Output(); - out << HTTPNOTFOUND; - out.Flush(); -} + out << HTTPNOTFOUND; + out.Flush(); +} void THtmlMonPage::NoContent(NMonitoring::IMonHttpRequest& request) const { IOutputStream& out = request.Output(); diff --git a/library/cpp/monlib/service/pages/html_mon_page.h b/library/cpp/monlib/service/pages/html_mon_page.h index 07fc883f44..e87c53b62b 100644 --- a/library/cpp/monlib/service/pages/html_mon_page.h +++ b/library/cpp/monlib/service/pages/html_mon_page.h @@ -16,7 +16,7 @@ namespace NMonitoring { void NotFound(NMonitoring::IMonHttpRequest& request) const; void NoContent(NMonitoring::IMonHttpRequest& request) const; - + virtual void OutputContent(NMonitoring::IMonHttpRequest& request) = 0; bool OutputTableSorterJsCss; diff --git a/library/cpp/monlib/service/pages/templates.cpp b/library/cpp/monlib/service/pages/templates.cpp index 132507f68b..ece12bea71 100644 --- a/library/cpp/monlib/service/pages/templates.cpp +++ b/library/cpp/monlib/service/pages/templates.cpp @@ -25,9 +25,9 @@ namespace NMonitoring { extern const char H6Tag[] = "h6"; extern const char SmallTag[] = "small"; extern const char StrongTag[] = "strong"; - extern const char ListTag[] = "li"; - extern const char UListTag[] = "ul"; - extern const char OListTag[] = "ol"; + extern const char ListTag[] = "li"; + extern const char UListTag[] = "ul"; + extern const char OListTag[] = "ol"; extern const char DListTag[] = "dl"; extern const char DTermTag[] = "dt"; extern const char DDescTag[] = "dd"; diff --git a/library/cpp/monlib/service/pages/templates.h b/library/cpp/monlib/service/pages/templates.h index f9240d968b..b4656f059f 100644 --- a/library/cpp/monlib/service/pages/templates.h +++ b/library/cpp/monlib/service/pages/templates.h @@ -70,7 +70,7 @@ #define SMALL() TAG(TSMALL) #define STRONG() TAG(TSTRONG) - + #define LI() TAG(TLIST) #define LI_CLASS(cls) TAG_CLASS(TLIST, cls) #define UL() TAG(TULIST) @@ -259,9 +259,9 @@ namespace NMonitoring { typedef TTag<H6Tag> TH6; typedef TTag<SmallTag> TSMALL; typedef TTag<StrongTag> TSTRONG; - typedef TTag<ListTag> TLIST; - typedef TTag<UListTag> TULIST; - typedef TTag<OListTag> TOLIST; + typedef TTag<ListTag> TLIST; + typedef TTag<UListTag> TULIST; + typedef TTag<OListTag> TOLIST; typedef TTag<DListTag> DLIST; typedef TTag<DTermTag> DTERM; typedef TTag<DDescTag> DDESC; |