added patch for about Spitfire dialog
This commit is contained in:
parent
ffa413fe3c
commit
babb5e0830
1 changed files with 48 additions and 0 deletions
48
pre-compile-patches/branding-about.patch
Normal file
48
pre-compile-patches/branding-about.patch
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
t: new
|
||||||
|
o: /browser/base/content/aboutDialog.xhtml
|
||||||
|
|
||||||
|
+#filter substitution
|
||||||
|
+<?xml version="1.0"?>
|
||||||
|
+<?csp default-src chrome: resource:; object-src 'none';?>
|
||||||
|
+
|
||||||
|
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
|
+ xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
|
+ id="aboutDialog"
|
||||||
|
+ windowtype="Browser:About"
|
||||||
|
+ role="dialog">
|
||||||
|
+
|
||||||
|
+ <linkset>
|
||||||
|
+ <html:link rel="stylesheet" href="chrome://global/skin/global.css"/>
|
||||||
|
+ <html:link rel="stylesheet" href="chrome://browser/content/aboutDialog.css"/>
|
||||||
|
+ <html:link rel="stylesheet" href="chrome://branding/content/aboutDialog.css"/>
|
||||||
|
+ <html:link rel="localization" href="branding/brand.ftl"/>
|
||||||
|
+ <html:link rel="localization" href="browser/aboutDialog.ftl"/>
|
||||||
|
+ </linkset>
|
||||||
|
+
|
||||||
|
+ <html:div id="aboutDialogContainer">
|
||||||
|
+ <hbox id="clientBox">
|
||||||
|
+ <vbox id="leftBox" flex="1"/>
|
||||||
|
+ <vbox id="rightBox">
|
||||||
|
+ <!-- <label id="release" hidden="true">Extended Support Release</label> -->
|
||||||
|
+
|
||||||
|
+ <label class="text-blurb" style="margin-top: 16px;">Spitfire is a privacy-focused and customisable web browser.</label>
|
||||||
|
+ <label class="text-blurb">
|
||||||
|
+ </label>
|
||||||
|
+ </vbox>
|
||||||
|
+ </hbox>
|
||||||
|
+ <vbox id="bottomBox">
|
||||||
|
+ <hbox pack="center">
|
||||||
|
+ <label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="bottomLinks-license"/>
|
||||||
|
+ <label is="text-link" class="bottom-link" href="https://weforge.xyz/Spitfire">Source Code</label>
|
||||||
|
+ <label is="text-link" class="bottom-link" href="https://liberapay.com/partisan/">Support the project</label>
|
||||||
|
+ </hbox>
|
||||||
|
+ <description id="trademark" data-l10n-id="trademarkInfo"></description>
|
||||||
|
+ </vbox>
|
||||||
|
+ </html:div>
|
||||||
|
+
|
||||||
|
+ <keyset>
|
||||||
|
+ <key id="aboutDialogEscapeKey" keycode="VK_ESCAPE"/>
|
||||||
|
+ </keyset>
|
||||||
|
+
|
||||||
|
+ <script src="chrome://browser/content/aboutDialog.js"/>
|
||||||
|
+</window>
|
Loading…
Add table
Add a link
Reference in a new issue