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;
}
div#footer .sponsor a { font-size: smaller; }
div#footer .logo { font-size: large }
div#footer {
padding: 0.5em 1em;
padding: 0.5em 0.5em;
border-top: 3px double;
}
div#footer .version {
@ -168,7 +169,6 @@ div#footer .version {
text-align: right;
padding-right: 0.5em;
font-size: smaller;
font-family: monospace;
}
#debug-output p {
margin-top: 0em;
@ -1021,7 +1021,7 @@ table.commit tr .title {
}
/* Repo overview */
.repo-overview {
.repo-overview {
padding: 0.5em 0.7em;
/*font-size: 90%;*/
}
@ -1053,14 +1053,14 @@ table.commit tr .title {
color: #5e8dc9 !important;
}
.repo-overview td,
.repo-overview th {
.repo-overview th {
padding: 6px 6px; /* maybe use height ? */
}
.repo-overview .ro-detail { display: none; }
.repo-overview .ro-go a {
padding: 0px 0.15em;
}
.repo-overview .ro-go a:hover {
.repo-overview .ro-go a:hover {
color: #ff721e;
text-decoration: none;
}
@ -1569,4 +1569,4 @@ settings_tab tr:first-child td { border-top: 0px; }
.toolbar-light a:first-child {
padding-left: 0;
border-left: none;
}
}

View File

@ -54,6 +54,7 @@ input:focus, textarea:focus { border-color: #8cadd9; }
.blue { color: #5e8dc9 !important; }
.red { color: red !important; }
.white { color: white !important; }
.pink { color: pink !important; }
/* Floating buttons and color sets */
.blue-set {
@ -589,4 +590,4 @@ table.settings_tab input:focus {
.dialog input[readonly] {
background-color: #f4f4f4;
color: var(--theme-greyscale-dark);
}
}

View File

@ -91,7 +91,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_GUI_PAGE IMPLEMENTATION.
CLASS zcl_abapgit_gui_page IMPLEMENTATION.
METHOD constructor.
@ -117,7 +117,13 @@ CLASS ZCL_ABAPGIT_GUI_PAGE IMPLEMENTATION.
ri_html->add( '<div id="footer">' ).
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( '<div class="logo">' ).