mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Remove favicon from internal pages
This commit is contained in:
parent
b85f9b4ceb
commit
a707c3545a
@ -1,7 +1,6 @@
|
|||||||
<html><head>
|
<html><head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<title>%TITLE%</title>
|
<title>%TITLE%</title>
|
||||||
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
|
|
||||||
<style>
|
<style>
|
||||||
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
||||||
html * {font-size: 100%;line-height: 1.6;}
|
html * {font-size: 100%;line-height: 1.6;}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<html><head>
|
<html><head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<title>%TITLE%</title>
|
<title>%TITLE%</title>
|
||||||
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
|
|
||||||
<style>
|
<style>
|
||||||
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
||||||
html * {font-size: 100%;line-height: 1.6;}
|
html * {font-size: 100%;line-height: 1.6;}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<html><head>
|
<html><head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<title>%TITLE%</title>
|
<title>%TITLE%</title>
|
||||||
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
|
|
||||||
<style>
|
<style>
|
||||||
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
||||||
html * {font-size: 100%;line-height: 1.6;}
|
html * {font-size: 100%;line-height: 1.6;}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<html><head>
|
<html><head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
|
|
||||||
<title>%TITLE%</title>
|
<title>%TITLE%</title>
|
||||||
<style>
|
<style>
|
||||||
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<html><head>
|
<html><head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<title>%SITE-TITLE%</title>
|
<title>%SITE-TITLE%</title>
|
||||||
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
|
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
html { background: #dddddd url("%IMG_BACKGROUND%") no-repeat center center; background-size: %B_SIZE%; }
|
html { background: #dddddd url("%IMG_BACKGROUND%") no-repeat center center; background-size: %B_SIZE%; }
|
||||||
body { font-family: sans-serif; color: #525c66; direction: %DIRECTION%; }
|
body { font-family: sans-serif; color: #525c66; direction: %DIRECTION%; }
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<html><head>
|
<html><head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<title>%TITLE%</title>
|
<title>%TITLE%</title>
|
||||||
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
|
|
||||||
<style>
|
<style>
|
||||||
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
||||||
#box {background: #ffffff; max-width: 500px;min-width:450px;margin: 25px auto 0px auto;padding: 15px 40px 15px 40px;direction: %DIRECTION%;}
|
#box {background: #ffffff; max-width: 500px;min-width:450px;margin: 25px auto 0px auto;padding: 15px 40px 15px 40px;direction: %DIRECTION%;}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<html><head>
|
<html><head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<title>%TITLE%</title>
|
<title>%TITLE%</title>
|
||||||
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
|
|
||||||
<style>
|
<style>
|
||||||
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
||||||
html * {font-size: 100%;line-height: 1.6;}
|
html * {font-size: 100%;line-height: 1.6;}
|
||||||
|
@ -129,8 +129,6 @@ QString QupZillaSchemeReply::reportbugPage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
bPage.append(QzTools::readAllFileContents(":html/reportbug.html"));
|
bPage.append(QzTools::readAllFileContents(":html/reportbug.html"));
|
||||||
bPage.replace(QLatin1String("%FAVICON%"), QLatin1String("qrc:icons/qupzilla.png"));
|
|
||||||
|
|
||||||
bPage.replace(QLatin1String("%TITLE%"), tr("Report Issue"));
|
bPage.replace(QLatin1String("%TITLE%"), tr("Report Issue"));
|
||||||
bPage.replace(QLatin1String("%REPORT-ISSUE%"), tr("Report Issue"));
|
bPage.replace(QLatin1String("%REPORT-ISSUE%"), tr("Report Issue"));
|
||||||
bPage.replace(QLatin1String("%PLUGINS-TEXT%"), tr("If you are experiencing problems with QupZilla, please try to disable"
|
bPage.replace(QLatin1String("%PLUGINS-TEXT%"), tr("If you are experiencing problems with QupZilla, please try to disable"
|
||||||
@ -167,7 +165,6 @@ QString QupZillaSchemeReply::startPage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
sPage.append(QzTools::readAllFileContents(":html/start.html"));
|
sPage.append(QzTools::readAllFileContents(":html/start.html"));
|
||||||
sPage.replace(QLatin1String("%FAVICON%"), QLatin1String("qrc:icons/qupzilla.png"));
|
|
||||||
sPage.replace(QLatin1String("%ABOUT-IMG%"), QzTools::pixmapToDataUrl(QzTools::dpiAwarePixmap(QSL(":icons/other/startpage.png"))).toString());
|
sPage.replace(QLatin1String("%ABOUT-IMG%"), QzTools::pixmapToDataUrl(QzTools::dpiAwarePixmap(QSL(":icons/other/startpage.png"))).toString());
|
||||||
|
|
||||||
sPage.replace(QLatin1String("%TITLE%"), tr("Start Page"));
|
sPage.replace(QLatin1String("%TITLE%"), tr("Start Page"));
|
||||||
@ -187,7 +184,6 @@ QString QupZillaSchemeReply::aboutPage()
|
|||||||
|
|
||||||
if (aPage.isEmpty()) {
|
if (aPage.isEmpty()) {
|
||||||
aPage.append(QzTools::readAllFileContents(":html/about.html"));
|
aPage.append(QzTools::readAllFileContents(":html/about.html"));
|
||||||
aPage.replace(QLatin1String("%FAVICON%"), QLatin1String("qrc:icons/qupzilla.png"));
|
|
||||||
aPage.replace(QLatin1String("%ABOUT-IMG%"), QzTools::pixmapToDataUrl(QzTools::dpiAwarePixmap(QSL(":icons/other/about.png"))).toString());
|
aPage.replace(QLatin1String("%ABOUT-IMG%"), QzTools::pixmapToDataUrl(QzTools::dpiAwarePixmap(QSL(":icons/other/about.png"))).toString());
|
||||||
aPage.replace(QLatin1String("%COPYRIGHT-INCLUDE%"), QzTools::readAllFileContents(":html/copyright").toHtmlEscaped());
|
aPage.replace(QLatin1String("%COPYRIGHT-INCLUDE%"), QzTools::readAllFileContents(":html/copyright").toHtmlEscaped());
|
||||||
|
|
||||||
@ -326,7 +322,6 @@ QString QupZillaSchemeReply::restorePage()
|
|||||||
|
|
||||||
if (rPage.isEmpty()) {
|
if (rPage.isEmpty()) {
|
||||||
rPage.append(QzTools::readAllFileContents(":html/restore.html"));
|
rPage.append(QzTools::readAllFileContents(":html/restore.html"));
|
||||||
rPage.replace(QLatin1String("%FAVICON%"), QLatin1String("qrc:icons/qupzilla.png"));
|
|
||||||
rPage.replace(QLatin1String("%IMAGE%"), QzTools::pixmapToDataUrl(IconProvider::standardIcon(QStyle::SP_MessageBoxWarning).pixmap(45)).toString());
|
rPage.replace(QLatin1String("%IMAGE%"), QzTools::pixmapToDataUrl(IconProvider::standardIcon(QStyle::SP_MessageBoxWarning).pixmap(45)).toString());
|
||||||
rPage.replace(QLatin1String("%TITLE%"), tr("Restore Session"));
|
rPage.replace(QLatin1String("%TITLE%"), tr("Restore Session"));
|
||||||
rPage.replace(QLatin1String("%OOPS%"), tr("Oops, QupZilla crashed."));
|
rPage.replace(QLatin1String("%OOPS%"), tr("Oops, QupZilla crashed."));
|
||||||
@ -349,7 +344,6 @@ QString QupZillaSchemeReply::configPage()
|
|||||||
|
|
||||||
if (cPage.isEmpty()) {
|
if (cPage.isEmpty()) {
|
||||||
cPage.append(QzTools::readAllFileContents(":html/config.html"));
|
cPage.append(QzTools::readAllFileContents(":html/config.html"));
|
||||||
cPage.replace(QLatin1String("%FAVICON%"), QLatin1String("qrc:icons/qupzilla.png"));
|
|
||||||
cPage.replace(QLatin1String("%ABOUT-IMG%"), QzTools::pixmapToDataUrl(QzTools::dpiAwarePixmap(QSL(":icons/other/about.png"))).toString());
|
cPage.replace(QLatin1String("%ABOUT-IMG%"), QzTools::pixmapToDataUrl(QzTools::dpiAwarePixmap(QSL(":icons/other/about.png"))).toString());
|
||||||
|
|
||||||
cPage.replace(QLatin1String("%TITLE%"), tr("Configuration Information"));
|
cPage.replace(QLatin1String("%TITLE%"), tr("Configuration Information"));
|
||||||
|
Loading…
Reference in New Issue
Block a user