diff options
author | Eloy Robillard <eloy.robillard@gmail.com> | 2024-03-18 12:19:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 11:19:27 +0000 |
commit | 7ee76d708934adeef06479f7757beb22c6c01d14 (patch) | |
tree | c03ad4227e8a71939bb5efddffe57fa21a75b043 /ext/images | |
parent | 4fe881d68d4c1182bee2e78a559c2064aaf48b0d (diff) |
Add an option to allow both viewing and adding duplicates (#693)
* Detect duplicates when checking if can add note
* Display the stacked add buttons
Diffstat (limited to 'ext/images')
-rw-r--r-- | ext/images/add-duplicate-term-kana.svg | 40 | ||||
-rw-r--r-- | ext/images/add-duplicate-term-kanji.svg | 84 |
2 files changed, 124 insertions, 0 deletions
diff --git a/ext/images/add-duplicate-term-kana.svg b/ext/images/add-duplicate-term-kana.svg new file mode 100644 index 00000000..9b574aee --- /dev/null +++ b/ext/images/add-duplicate-term-kana.svg @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <defs> + <linearGradient id="linearGradient4719" x1="-1.7198" x2="-1.7198" y1="2.7781" y2="1.4552" gradientTransform="matrix(3.7795 0 0 3.7795 14 .5)" gradientUnits="userSpaceOnUse"> + <stop stop-color="#8dba64" offset="0"/> + <stop stop-color="#b4d495" offset="1"/> + </linearGradient> + <linearGradient id="linearGradient4745-5" x1="2.1167" x2="1.4552" y1="2.3812" y2="1.7198" gradientTransform="scale(3.7795)" gradientUnits="userSpaceOnUse"> + <stop stop-color="#376b19" offset="0"/> + <stop stop-color="#81ab61" offset="1"/> + </linearGradient> + <radialGradient id="radialGradient4770-4" cx="2.1167" cy="2.1167" r=".66146" gradientTransform="matrix(2.2677 -7.9311e-7 7.9312e-7 2.2677 2.7 3.7)" gradientUnits="userSpaceOnUse"> + <stop stop-opacity=".28986" offset="0"/> + <stop stop-opacity="0" offset="1"/> + </radialGradient> + <linearGradient id="linearGradient1389" x1="-1.7198" x2="-1.7198" y1="2.7781" y2="1.4552" gradientTransform="matrix(3.7795 0 0 3.7795 14 .5)" gradientUnits="userSpaceOnUse" xlink:href="#linearGradient4719"/> + <linearGradient id="linearGradient1391" x1="2.1167" x2="1.4552" y1="2.3812" y2="1.7198" gradientTransform="scale(3.7795)" gradientUnits="userSpaceOnUse" xlink:href="#linearGradient4745-5"/> + <radialGradient id="radialGradient1393" cx="2.1167" cy="2.1167" r=".66146" gradientTransform="matrix(2.2677,-7.9311e-7,7.9312e-7,2.2677,2.7,3.7)" gradientUnits="userSpaceOnUse" xlink:href="#radialGradient4770-4"/> + <filter id="filter1916" x="-.083333" y="-.083333" width="1.1667" height="1.1667" color-interpolation-filters="sRGB"> + <feColorMatrix result="color1" type="hueRotate" values="260"/> + <feColorMatrix result="color2" type="saturate" values="1"/> + </filter> + <filter id="filter1922" x="-.083333" y="-.083333" width="1.1667" height="1.1667" color-interpolation-filters="sRGB"> + <feColorMatrix result="color1" type="hueRotate" values="260"/> + <feColorMatrix result="color2" type="saturate" values="1"/> + </filter> + </defs> + <g transform="translate(2,-2)" filter="url(#filter1916)"> + <circle cx="7.5" cy="8.5" r="3" fill="url(#linearGradient1389)"/> + <circle cx="7.5" cy="8.5" r="3" fill="none" stroke="url(#linearGradient1391)"/> + <circle cx="7.5" cy="8.5" r="1.5" fill="url(#radialGradient1393)"/> + <path d="m6 8h1v-1h1v1h1v1h-1v1h-1v-1h-1v-1" fill="#fff"/> + </g> + <g filter="url(#filter1922)"> + <circle cx="7.5" cy="8.5" r="3" fill="url(#linearGradient4719)"/> + <circle cx="7.5" cy="8.5" r="3" fill="none" stroke="url(#linearGradient4745-5)"/> + <circle cx="7.5" cy="8.5" r="1.5" fill="url(#radialGradient4770-4)"/> + <path d="m6 8h1v-1h1v1h1v1h-1v1h-1v-1h-1v-1" fill="#fff"/> + </g> +</svg> diff --git a/ext/images/add-duplicate-term-kanji.svg b/ext/images/add-duplicate-term-kanji.svg new file mode 100644 index 00000000..809d0159 --- /dev/null +++ b/ext/images/add-duplicate-term-kanji.svg @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <defs> + <linearGradient id="linearGradient4582" x1="-1.7198" x2="-1.7198" y1="3.5719" y2=".79375" gradientTransform="matrix(3.7795 0 0 3.7795 14.5 -6.308e-7)" gradientUnits="userSpaceOnUse"> + <stop stop-color="#6fb558" offset="0"/> + <stop stop-color="#a5db9b" offset="1"/> + </linearGradient> + <linearGradient id="linearGradient4758-7" x1="7.5406" x2="5.1594" y1="3.3073" y2=".92604" gradientTransform="matrix(3.7795 0 0 3.7795 -16 -6e-7)" gradientUnits="userSpaceOnUse"> + <stop stop-color="#34812c" offset="0"/> + <stop stop-color="#87b870" offset="1"/> + </linearGradient> + <radialGradient id="radialGradient4683-3" cx="2.1167" cy="2.1167" r=".66146" gradientTransform="matrix(4.5354 8.0301e-7 -8.0301e-7 4.5354 -1.6 -1.6)" gradientUnits="userSpaceOnUse"> + <stop stop-opacity=".28986" offset="0"/> + <stop stop-opacity="0" offset="1"/> + </radialGradient> + <linearGradient id="linearGradient328" x1="-1.7198" x2="-1.7198" y1="3.5719" y2=".79375" gradientTransform="matrix(3.7795,0,0,3.7795,14.5,-6.308e-7)" gradientUnits="userSpaceOnUse" xlink:href="#linearGradient4582"/> + <linearGradient id="linearGradient330" x1="7.5406" x2="5.1594" y1="3.3073" y2=".92604" gradientTransform="matrix(3.7795,0,0,3.7795,-16,-6e-7)" gradientUnits="userSpaceOnUse" xlink:href="#linearGradient4758-7"/> + <radialGradient id="radialGradient332" cx="2.1167" cy="2.1167" r=".66146" gradientTransform="matrix(4.5354,8.0301e-7,-8.0301e-7,4.5354,-1.6,-1.6)" gradientUnits="userSpaceOnUse" xlink:href="#radialGradient4683-3"/> + <filter id="filter554" x="-.038462" y="-.038462" width="1.0769" height="1.0769" color-interpolation-filters="sRGB"> + <feColorMatrix result="color1" type="hueRotate" values="250"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="color2" type="saturate" values="1"/> + </filter> + <filter id="filter795" x="-.038462" y="-.038462" width="1.0769" height="1.0769" color-interpolation-filters="sRGB"> + <feColorMatrix result="color1" type="hueRotate" values="250"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="fbSourceGraphic" type="saturate" values="1"/> + <feColorMatrix in="fbSourceGraphic" result="fbSourceGraphicAlpha" values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"/> + <feColorMatrix in="fbSourceGraphic" result="color1" type="hueRotate" values="0"/> + <feColorMatrix result="color2" type="saturate" values="1"/> + </filter> + </defs> + <g transform="matrix(.91504 0 0 .91504 2.2745 -.91504)" filter="url(#filter795)"> + <circle cx="8" cy="8" r="6.5" fill="url(#linearGradient328)"/> + <circle cx="8" cy="8" r="5.75" fill="none" stroke="#fff" stroke-opacity=".50196" stroke-width="1.5"/> + <circle cx="8" cy="8" r="6.5" fill="none" stroke="url(#linearGradient330)"/> + <circle cx="8" cy="8" r="3" fill="url(#radialGradient332)"/> + <path d="m5 7h2v-2h2v2h2v2h-2v2h-2v-2h-2v-2" fill="#fff"/> + </g> + <g transform="matrix(.91504 0 0 .91504 -.91504 2.2745)" filter="url(#filter554)"> + <circle cx="8" cy="8" r="6.5" fill="url(#linearGradient328)"/> + <circle cx="8" cy="8" r="5.75" fill="none" stroke="#fff" stroke-opacity=".50196" stroke-width="1.5"/> + <circle cx="8" cy="8" r="6.5" fill="none" stroke="url(#linearGradient330)"/> + <circle cx="8" cy="8" r="3" fill="url(#radialGradient332)"/> + <path d="m5 7h2v-2h2v2h2v2h-2v2h-2v-2h-2v-2" fill="#fff"/> + </g> +</svg> |