From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larsen To: development@lists.ipfire.org Subject: Re: [PATCH] Link the IPFire logo to ipfire.org Date: Tue, 09 Jun 2015 22:00:30 +0200 Message-ID: <557745DE.2050600@web.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6934035401462967429==" List-Id: --===============6934035401462967429== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable >> The final HTML code would look something like this: >> >>
>> >> >> >>
>> >> The CSS properties should be changed that the background image is >> removed and the content is centered. The final result should like the >> same in the end. Now using HTML instead of JavaScript. Had to use "margin-left: -3px; margin-t= op: -3px" to get it pixel-perfect. Also changed: Not linking the hostname if displayed, only "IPFire". Signed-off-by: Lars Schuhmacher --- html/html/themes/darkdos/include/functions.pl | 2 +- html/html/themes/ipfire-legacy/include/functions.pl | 2 +- html/html/themes/ipfire/include/css/style.css | 1 - html/html/themes/ipfire/include/functions.pl | 6 ++++-- html/html/themes/maniac/include/functions.pl | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/html/html/themes/darkdos/include/functions.pl b/html/html/themes= /darkdos/include/functions.pl index 737e051..7d803b6 100644 --- a/html/html/themes/darkdos/include/functions.pl +++ b/html/html/themes/darkdos/include/functions.pl @@ -227,7 +227,7 @@ END if ($settings{'WINDOWWITHHOSTNAME'} eq 'on') { print "

$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}


";=20 } else { - print "

-=3D IPFire =3D-


"; + print "

-=3D IPFire =3D-


"; } print <+ $h2 + diff --git a/html/html/themes/ipfire-legacy/include/functions.pl b/html/html/= themes/ipfire-legacy/include/functions.pl index 1401030..5288253 100644 --- a/html/html/themes/ipfire-legacy/include/functions.pl +++ b/html/html/themes/ipfire-legacy/include/functions.pl @@ -227,7 +227,7 @@ END if ($settings{'WINDOWWITHHOSTNAME'} eq 'on') { print "

$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}


";=20 } else { - print "

IPFire


"; + print "

IPFire


"; } print <$h2 diff --git a/html/html/themes/ipfire/include/css/style.css b/html/html/themes= /ipfire/include/css/style.css index e0ac3cd..1cc18f8 100644 --- a/html/html/themes/ipfire/include/css/style.css +++ b/html/html/themes/ipfire/include/css/style.css @@ -115,7 +115,6 @@ iframe { #logo { height: 65px; margin-top: 1em; - background: url('../../images/tux2.png') no-repeat; } =20 #logo h1 { diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/= ipfire/include/functions.pl index 63740d4..eedf069 100644 --- a/html/html/themes/ipfire/include/functions.pl +++ b/html/html/themes/ipfire/include/functions.pl @@ -152,12 +152,14 @@ print <
+ + END ; if ($settings{'WINDOWWITHHOSTNAME'} ne 'off') { - print "

$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}

"; + print "

$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}

"; } else { - print "

IPFire

"; + print "

IPFire

"; } =20 print <$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}
";=20 } else { - print "

-=3D IPFire =3D-


"; + print "

-=3D IPFire =3D-


"; } print <+ $h2 + --===============6934035401462967429==--