Permalink
Browse files

Added a pinned tab icon for Safari.

Originally done by Sunil Patel at
https://github.com/srpatel/jenkins-pinned-tab
  • Loading branch information...
kohsuke committed Oct 9, 2015
1 parent e4811a1 commit 9c7af982adc6f120833e45d79bedda15b88c1bc5
Showing with 25 additions and 0 deletions.
  1. +3 −0 changelog.html
  2. +1 −0 core/src/main/resources/lib/layout/layout.jelly
  3. +21 −0 war/src/main/webapp/images/mask-icon.svg
View
@@ -54,6 +54,9 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<li class="rfe">
Added safari pinned tab icon.
(<a href="https://groups.google.com/d/msg/jenkinsci-dev/W29LIfo2uME/fpMy_YNZCgAJ">discussion</a>)
<li class="rfe">
Plugin Manager UI changes to prevent users from enabling/disabling/uninstalling plugins at the "wrong" time.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23150">issue 23150</a>)
@@ -95,6 +95,7 @@ ${h.initPageVariables(context)}
<link rel="stylesheet" href="${resURL}${attrs.css}" type="text/css" />
</j:if>
<link rel="shortcut icon" href="${resURL}/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="mask-icon" href="${rootURL}/images/mask-icon.svg" color="black" />
<!-- are we running as an unit test? -->
<script>var isRunAsTest=${h.isUnitTest}; var rootURL="${rootURL}"; var resURL="${resURL}";</script>
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="40pt" height="40pt" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg">
<defs>
<mask id="f">
<rect width="100%" height="100%" fill="white"/>
<path d=" M 0.00 0.00 L 40.00 0.00 L 40.00 40.00 L 37.27 40.00 C 38.50 36.25 37.27 32.26 33.93 30.08 C 37.23 23.76 37.82 15.43 33.48 9.45 C 31.48 6.24 27.69 4.58 23.99 4.59 C 19.90 4.61 15.43 4.61 11.91 7.00 C 8.49 9.73 6.62 14.24 7.49 18.60 C 7.22 18.96 6.67 19.68 6.40 20.04 C 6.44 21.88 6.62 23.73 7.05 25.52 C 7.75 25.73 9.16 26.15 9.87 26.36 C 10.54 27.93 11.18 29.53 11.84 31.11 C 7.29 32.18 3.44 35.29 2.45 40.00 L 0.00 40.00 L 0.00 0.00 Z" />
<path d=" M 14.75 10.96 C 17.14 7.36 21.64 5.05 26.01 5.75 C 28.92 6.00 31.10 8.13 32.99 10.15 C 32.23 10.28 30.71 10.55 29.95 10.69 C 30.02 10.95 30.15 11.47 30.21 11.73 C 30.96 11.59 32.46 11.29 33.21 11.15 C 33.64 12.00 34.49 13.69 34.91 14.54 L 34.28 15.14 L 33.67 15.60 C 32.90 16.92 31.97 18.13 30.86 19.20 C 32.27 18.98 33.48 18.30 34.38 17.21 C 34.67 17.21 35.25 17.22 35.54 17.23 C 35.58 21.64 35.34 26.61 32.22 30.06 C 29.66 32.82 25.53 32.97 22.03 32.69 C 19.99 31.17 19.02 28.64 16.98 27.09 C 17.68 29.07 18.81 30.85 20.07 32.52 C 19.11 33.73 18.62 35.20 18.24 36.68 C 16.52 35.03 14.62 33.56 13.08 31.74 C 12.17 29.71 11.62 27.55 10.77 25.49 C 10.01 25.29 8.48 24.87 7.72 24.67 C 7.51 22.91 7.50 21.12 7.79 19.37 C 9.19 19.22 10.59 19.08 11.99 18.93 C 12.71 19.74 13.44 20.54 14.17 21.33 C 14.47 17.89 13.73 14.30 14.75 10.96 Z" />
<path d=" M 27.69 37.96 C 26.61 34.90 28.86 32.72 31.84 32.86 C 32.32 34.66 32.70 36.48 32.98 38.32 C 31.21 38.30 29.44 38.18 27.69 37.96 Z" />
<path d=" M 25.99 34.10 C 26.52 34.90 26.52 34.90 25.99 34.10 Z" />
<path d=" M 19.75 33.96 C 21.64 34.49 23.60 34.87 25.40 35.71 C 27.25 38.28 23.26 39.38 21.47 40.00 L 19.62 40.00 C 19.61 37.99 19.67 35.97 19.75 33.96 Z" />
</mask>
</defs>
<path mask="url(#f)" d=" M 11.91 7.00 C 15.43 4.61 19.90 4.61 23.99 4.59 C 27.69 4.58 31.48 6.24 33.48 9.45 C 37.82 15.43 37.23 23.76 33.93 30.08 C 37.27 32.26 38.50 36.25 37.27 40.00 L 21.47 40.00 C 23.26 39.38 27.25 38.28 25.40 35.71 C 23.60 34.87 21.64 34.49 19.75 33.96 C 19.67 35.97 19.61 37.99 19.62 40.00 L 2.45 40.00 C 3.44 35.29 7.29 32.18 11.84 31.11 C 11.18 29.53 10.54 27.93 9.87 26.36 C 9.16 26.15 7.75 25.73 7.05 25.52 C 6.62 23.73 6.44 21.88 6.40 20.04 C 6.67 19.68 7.22 18.96 7.49 18.60 C 6.62 14.24 8.49 9.73 11.91 7.00 Z" />
<path d=" M 17.23 14.41 C 17.92 11.44 20.31 10.38 23.13 11.09 C 21.14 12.16 19.00 12.94 17.23 14.41 Z" />
<path d=" M 24.44 14.50 C 24.85 16.07 25.68 18.10 23.96 19.21 C 22.87 19.32 21.80 19.02 20.74 18.82 C 21.50 18.61 23.01 18.19 23.77 17.98 C 23.94 17.11 24.27 15.37 24.44 14.50 Z" />
<path d=" M 28.12 15.16 C 29.75 18.89 33.70 21.57 32.80 26.09 C 30.10 24.87 26.93 26.15 24.41 24.60 C 26.06 24.59 29.35 24.56 31.00 24.54 C 31.23 23.99 31.70 22.88 31.94 22.33 C 29.98 20.37 27.56 18.29 28.12 15.16 Z" />
<path d=" M 25.50 28.31 C 25.06 27.53 25.06 27.53 25.50 28.31 Z" />
<path d=" M 25.50 28.31 L 26.06 27.78 C 27.38 27.72 30.10 26.88 30.58 28.46 C 29.86 28.54 28.42 28.70 27.70 28.77 C 26.15 29.94 25.42 29.79 25.50 28.31 Z" />
</svg>

0 comments on commit 9c7af98

Please sign in to comment.