This commit is contained in:
the-djmaze 2022-11-08 20:51:05 +01:00
parent decbbd8817
commit 7ed6bfbf56
4 changed files with 9 additions and 2 deletions

5
assets/favicon.svg Normal file
View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.0" width="512pt" height="512pt" viewBox="0 0 512.000000 512.000000" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg">
<style>path,rect{fill:#000000}@media(prefers-color-scheme:dark){path,rect{fill:#ffffff}rect{transform:scale(1,-1)}}</style>
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" stroke="none"><path d="M933 3908 c-150 -150 -276 -281 -279 -291 -5 -16 51 -77 272 -298 l279 -279 177 0 c98 0 178 3 178 7 0 4 -89 97 -197 206 -157 157 -195 200 -183 207 9 6 257 10 613 10 l597 0 0 134 c0 113 -2 135 -16 140 -9 3 -283 6 -610 6 -327 0 -594 3 -594 8 0 4 90 97 199 206 110 110 198 203 195 208 -3 4 -84 8 -181 8 l-176 0 -274 -272z"/><path d="M3560 4173 c0 -4 88 -96 196 -204 115 -115 194 -201 190 -208 -5 -8 -178 -11 -611 -11 -540 0 -603 -2 -609 -16 -3 -9 -6 -67 -6 -129 0 -103 2 -115 19 -125 13 -6 224 -10 615 -10 328 0 596 -3 596 -8 0 -4 -90 -97 -200 -207 -110 -110 -200 -203 -200 -207 0 -5 82 -8 182 -8 l182 0 285 286 285 285 -285 285 -284 284 -177 0 c-98 0 -178 -3 -178 -7z"/><path d="M640 2317 l0 -1163 28 -27 28 -27 1865 0 1865 0 27 28 27 28 0 1156 c0 636 -4 1159 -8 1162 -5 3 -41 -27 -80 -67 l-72 -72 -2 -1030 -3 -1030 -1755 0 -1755 0 -3 1030 -2 1030 -72 72 c-40 40 -76 73 -80 73 -5 0 -8 -523 -8 -1163z"/><path d="M1290 2972 c0 -4 84 -92 188 -195 l187 -187 895 0 895 0 188 188 c103 103 187 191 187 195 0 4 -75 7 -168 7 l-168 0 -69 -70 -69 -70 -796 0 -796 0 -69 70 -69 70 -168 0 c-93 0 -168 -3 -168 -8z"/><rect width="105.70417" height="113.39262" x="965.82471" y="-1995.0565" ry="0"/><rect width="105.70417" height="113.39262" x="968.17059" y="-1775.3387" ry="0"/><rect width="105.70417" height="113.39262" x="1544.7432" y="-1770.8339" ry="0"/><rect width="105.70417" height="113.39262" x="1201.2841" y="-2214.6541" ry="0"/><rect width="105.70417" height="113.39262" x="1529.8855" y="-2211.1558" ry="0"/><rect width="105.70417" height="113.39262" x="1766.1398" y="-2213.186" ry="0"/><rect width="105.70417" height="113.39262" x="1767.3953" y="-1976.6418" ry="0"/><rect width="105.70417" height="113.39262" x="2112.5291" y="-2219.311" ry="0"/><rect width="105.70417" height="113.39262" x="2677.8127" y="-2214.9653" ry="0"/><rect width="105.70417" height="113.39262" x="2672.6284" y="-1988.6554" ry="0"/><rect width="105.70417" height="113.39262" x="2673.4526" y="-1762.207" ry="0"/><rect width="105.70417" height="113.39262" x="2898.8728" y="-2216.2759" ry="0"/><rect width="105.70417" height="113.39262" x="3249.094" y="-2212.2566" ry="0"/><rect width="105.70417" height="113.39262" x="3251.0608" y="-1984.4783" ry="0"/><rect width="105.70417" height="113.39262" x="3251.5601" y="-1774.9227" ry="0"/><rect width="105.70417" height="113.39262" x="3470.1848" y="-2214.272" ry="0"/><rect width="105.70417" height="113.39262" x="3829.9443" y="-2215.0381" ry="0"/><rect width="105.70417" height="113.39262" x="4044.0989" y="-2214.53" ry="0"/><rect width="105.70417" height="113.39262" x="4041.5127" y="-1999.0615" ry="0"/><rect width="105.70417" height="113.39262" x="4043.4043" y="-1785.1989" ry="0"/><rect width="105.70417" height="113.39262" x="3830.5203" y="-1781.4473" ry="0"/></g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.0" width="512pt" height="512pt" viewBox="0 0 512.000000 512.000000" preserveAspectRatio="xMidYMid meet" id="svg54" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <svg version="1.0" width="512pt" height="512pt" viewBox="0 0 512.000000 512.000000" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" fill="#000000" stroke="none" id="g52"><path d="M933 3908 c-150 -150 -276 -281 -279 -291 -5 -16 51 -77 272 -298 l279 -279 177 0 c98 0 178 3 178 7 0 4 -89 97 -197 206 -157 157 -195 200 -183 207 9 6 257 10 613 10 l597 0 0 134 c0 113 -2 135 -16 140 -9 3 -283 6 -610 6 -327 0 -594 3 -594 8 0 4 90 97 199 206 110 110 198 203 195 208 -3 4 -84 8 -181 8 l-176 0 -274 -272z" id="path2"/><path d="M3560 4173 c0 -4 88 -96 196 -204 115 -115 194 -201 190 -208 -5 -8 -178 -11 -611 -11 -540 0 -603 -2 -609 -16 -3 -9 -6 -67 -6 -129 0 -103 2 -115 19 -125 13 -6 224 -10 615 -10 328 0 596 -3 596 -8 0 -4 -90 -97 -200 -207 -110 -110 -200 -203 -200 -207 0 -5 82 -8 182 -8 l182 0 285 286 285 285 -285 285 -284 284 -177 0 c-98 0 -178 -3 -178 -7z" id="path4"/><path d="M640 2317 l0 -1163 28 -27 28 -27 1865 0 1865 0 27 28 27 28 0 1156 c0 636 -4 1159 -8 1162 -5 3 -41 -27 -80 -67 l-72 -72 -2 -1030 -3 -1030 -1755 0 -1755 0 -3 1030 -2 1030 -72 72 c-40 40 -76 73 -80 73 -5 0 -8 -523 -8 -1163z" id="path6"/><path d="M1290 2972 c0 -4 84 -92 188 -195 l187 -187 895 0 895 0 188 188 c103 103 187 191 187 195 0 4 -75 7 -168 7 l-168 0 -69 -70 -69 -70 -796 0 -796 0 -69 70 -69 70 -168 0 c-93 0 -168 -3 -168 -8z" id="path8"/><rect style="fill:#000000;stroke-width:7.5" id="rect372" width="105.70417" height="113.39262" x="965.82471" y="-1995.0565" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-3" width="105.70417" height="113.39262" x="968.17059" y="-1775.3387" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-1" width="105.70417" height="113.39262" x="1544.7432" y="-1770.8339" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-2" width="105.70417" height="113.39262" x="1201.2841" y="-2214.6541" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-7" width="105.70417" height="113.39262" x="1529.8855" y="-2211.1558" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-0" width="105.70417" height="113.39262" x="1766.1398" y="-2213.186" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-9" width="105.70417" height="113.39262" x="1767.3953" y="-1976.6418" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-36" width="105.70417" height="113.39262" x="2112.5291" y="-2219.311" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-06" width="105.70417" height="113.39262" x="2677.8127" y="-2214.9653" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-26" width="105.70417" height="113.39262" x="2672.6284" y="-1988.6554" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-18" width="105.70417" height="113.39262" x="2673.4526" y="-1762.207" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-79" width="105.70417" height="113.39262" x="2898.8728" y="-2216.2759" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-20" width="105.70417" height="113.39262" x="3249.094" y="-2212.2566" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-23" width="105.70417" height="113.39262" x="3251.0608" y="-1984.4783" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-75" width="105.70417" height="113.39262" x="3251.5601" y="-1774.9227" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-92" width="105.70417" height="113.39262" x="3470.1848" y="-2214.272" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-28" width="105.70417" height="113.39262" x="3829.9443" y="-2215.0381" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-97" width="105.70417" height="113.39262" x="4044.0989" y="-2214.53" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-361" width="105.70417" height="113.39262" x="4041.5127" y="-1999.0615" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-29" width="105.70417" height="113.39262" x="4043.4043" y="-1785.1989" transform="scale(1,-1)" ry="0"/><rect style="fill:#000000;stroke-width:7.5" id="rect372-31" width="105.70417" height="113.39262" x="3830.5203" y="-1781.4473" transform="scale(1,-1)" ry="0"/></g> <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" stroke="none"><path d="M933 3908 c-150 -150 -276 -281 -279 -291 -5 -16 51 -77 272 -298 l279 -279 177 0 c98 0 178 3 178 7 0 4 -89 97 -197 206 -157 157 -195 200 -183 207 9 6 257 10 613 10 l597 0 0 134 c0 113 -2 135 -16 140 -9 3 -283 6 -610 6 -327 0 -594 3 -594 8 0 4 90 97 199 206 110 110 198 203 195 208 -3 4 -84 8 -181 8 l-176 0 -274 -272z"/><path d="M3560 4173 c0 -4 88 -96 196 -204 115 -115 194 -201 190 -208 -5 -8 -178 -11 -611 -11 -540 0 -603 -2 -609 -16 -3 -9 -6 -67 -6 -129 0 -103 2 -115 19 -125 13 -6 224 -10 615 -10 328 0 596 -3 596 -8 0 -4 -90 -97 -200 -207 -110 -110 -200 -203 -200 -207 0 -5 82 -8 182 -8 l182 0 285 286 285 285 -285 285 -284 284 -177 0 c-98 0 -178 -3 -178 -7z"/><path d="M640 2317 l0 -1163 28 -27 28 -27 1865 0 1865 0 27 28 27 28 0 1156 c0 636 -4 1159 -8 1162 -5 3 -41 -27 -80 -67 l-72 -72 -2 -1030 -3 -1030 -1755 0 -1755 0 -3 1030 -2 1030 -72 72 c-40 40 -76 73 -80 73 -5 0 -8 -523 -8 -1163z"/><path d="M1290 2972 c0 -4 84 -92 188 -195 l187 -187 895 0 895 0 188 188 c103 103 187 191 187 195 0 4 -75 7 -168 7 l-168 0 -69 -70 -69 -70 -796 0 -796 0 -69 70 -69 70 -168 0 c-93 0 -168 -3 -168 -8z"/><rect width="105.70417" height="113.39262" x="965.82471" y="-1995.0565" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="968.17059" y="-1775.3387" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="1544.7432" y="-1770.8339" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="1201.2841" y="-2214.6541" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="1529.8855" y="-2211.1558" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="1766.1398" y="-2213.186" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="1767.3953" y="-1976.6418" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="2112.5291" y="-2219.311" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="2677.8127" y="-2214.9653" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="2672.6284" y="-1988.6554" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="2673.4526" y="-1762.207" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="2898.8728" y="-2216.2759" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="3249.094" y="-2212.2566" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="3251.0608" y="-1984.4783" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="3251.5601" y="-1774.9227" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="3470.1848" y="-2214.272" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="3829.9443" y="-2215.0381" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="4044.0989" y="-2214.53" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="4041.5127" y="-1999.0615" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="4043.4043" y="-1785.1989" transform="scale(1,-1)" ry="0"/><rect width="105.70417" height="113.39262" x="3830.5203" y="-1781.4473" transform="scale(1,-1)" ry="0"/></g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -168,6 +168,7 @@ abstract class Service
'{{BaseAppMainCssLink}}' => Utils::WebStaticPath('css/'.($bAdmin ? 'admin' : 'app').$sAppCssMin.'.css'), '{{BaseAppMainCssLink}}' => Utils::WebStaticPath('css/'.($bAdmin ? 'admin' : 'app').$sAppCssMin.'.css'),
'{{BaseAppThemeCssLink}}' => $oActions->ThemeLink($bAdmin), '{{BaseAppThemeCssLink}}' => $oActions->ThemeLink($bAdmin),
'{{BaseAppManifestLink}}' => Utils::WebStaticPath('manifest.json'), '{{BaseAppManifestLink}}' => Utils::WebStaticPath('manifest.json'),
'{{BaseFavIconSvg}}' => Utils::WebStaticPath('favicon.svg'),
'{{LoadingDescriptionEsc}}' => \htmlspecialchars($oConfig->Get('webmail', 'loading_description', 'SnappyMail'), ENT_QUOTES|ENT_IGNORE, 'UTF-8'), '{{LoadingDescriptionEsc}}' => \htmlspecialchars($oConfig->Get('webmail', 'loading_description', 'SnappyMail'), ENT_QUOTES|ENT_IGNORE, 'UTF-8'),
'{{BaseAppAdmin}}' => $bAdmin ? 1 : 0 '{{BaseAppAdmin}}' => $bAdmin ? 1 : 0
); );

View file

@ -15,6 +15,7 @@
<style id="app-boot-css">{{BaseAppBootCss}}</style> <style id="app-boot-css">{{BaseAppBootCss}}</style>
<link type="text/css" rel="stylesheet" href="{{BaseAppMainCssLink}}"> <link type="text/css" rel="stylesheet" href="{{BaseAppMainCssLink}}">
<link rel="manifest" href="{{BaseAppManifestLink}}"> <link rel="manifest" href="{{BaseAppManifestLink}}">
<link rel="icon" href="{{BaseFavIconSvg}}" type="image/svg+xml">
<style id="app-theme-style" data-href="{{BaseAppThemeCssLink}}">{{BaseAppThemeCss}}</style> <style id="app-theme-style" data-href="{{BaseAppThemeCssLink}}">{{BaseAppThemeCss}}</style>
{{BaseAppFaviconPngLinkTag}} {{BaseAppFaviconPngLinkTag}}
{{BaseAppFaviconTouchLinkTag}} {{BaseAppFaviconTouchLinkTag}}