Add "Sponsor us" to page footer (#5882)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
Marc Bernard 2022-11-22 14:54:56 -05:00 committed by GitHub
parent a6ec3e0c3e
commit 613a5eaa8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 9 deletions

View File

@ -154,9 +154,10 @@ div#header span.spacer {
padding-left: 0.25em; padding-left: 0.25em;
} }
div#footer .sponsor a { font-size: smaller; }
div#footer .logo { font-size: large } div#footer .logo { font-size: large }
div#footer { div#footer {
padding: 0.5em 1em; padding: 0.5em 0.5em;
border-top: 3px double; border-top: 3px double;
} }
div#footer .version { div#footer .version {
@ -168,7 +169,6 @@ div#footer .version {
text-align: right; text-align: right;
padding-right: 0.5em; padding-right: 0.5em;
font-size: smaller; font-size: smaller;
font-family: monospace;
} }
#debug-output p { #debug-output p {
margin-top: 0em; margin-top: 0em;

View File

@ -54,6 +54,7 @@ input:focus, textarea:focus { border-color: #8cadd9; }
.blue { color: #5e8dc9 !important; } .blue { color: #5e8dc9 !important; }
.red { color: red !important; } .red { color: red !important; }
.white { color: white !important; } .white { color: white !important; }
.pink { color: pink !important; }
/* Floating buttons and color sets */ /* Floating buttons and color sets */
.blue-set { .blue-set {

View File

@ -91,7 +91,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_GUI_PAGE IMPLEMENTATION. CLASS zcl_abapgit_gui_page IMPLEMENTATION.
METHOD constructor. METHOD constructor.
@ -117,7 +117,13 @@ CLASS ZCL_ABAPGIT_GUI_PAGE IMPLEMENTATION.
ri_html->add( '<div id="footer">' ). ri_html->add( '<div id="footer">' ).
ri_html->add( '<table class="w100"><tr>' ). ri_html->add( '<table class="w100"><tr>' ).
ri_html->add( '<td class="w40"></td>' ). " spacer ri_html->add( '<td class="w40 sponsor">' ).
ri_html->add( ri_html->icon( iv_name = 'heart-regular/pink'
iv_hint = 'Sponsor us' ) ).
ri_html->add_a( iv_act = 'https://abapgit.org/sponsor.html'
iv_typ = zif_abapgit_html=>c_action_type-url
iv_txt = 'Sponsor us' ).
ri_html->add( '</td>' ).
ri_html->add( '<td class="center">' ). ri_html->add( '<td class="center">' ).
ri_html->add( '<div class="logo">' ). ri_html->add( '<div class="logo">' ).