diff options
| author | a-romanov <[email protected]> | 2022-02-10 16:48:10 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:10 +0300 | 
| commit | aa2986a34bde73b2cdcea5080c4443b7cf2ba686 (patch) | |
| tree | 410fbde59311309b774a0da147f79628c3429a2c /library/cpp/monlib/service/pages | |
| parent | e77cfd118321c5b9c168fdee41b4e6c5706b8f68 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 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 eb4eb3b66c6..5dc9eed1fd7 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 e87c53b62bd..07fc883f441 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 ece12bea710..132507f68b0 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 b4656f059fa..f9240d968bf 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; | 
