1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 12:50:36 +01:00

Added "review" in browser action popup

This commit is contained in:
kkapsner 2018-07-31 14:17:39 +02:00
parent 05a3429dbe
commit c2c916dd92
5 changed files with 92 additions and 1 deletions

View File

@ -818,6 +818,10 @@
"message": "Testen", "message": "Testen",
"description": "" "description": ""
}, },
"browserAction_review": {
"message": "Bewerten",
"description": ""
},
"browserAction_reportIssue": { "browserAction_reportIssue": {
"message": "Problem melden", "message": "Problem melden",
"description": "" "description": ""

View File

@ -818,6 +818,10 @@
"message": "Test", "message": "Test",
"description": "" "description": ""
}, },
"browserAction_review": {
"message": "Review",
"description": ""
},
"browserAction_reportIssue": { "browserAction_reportIssue": {
"message": "Report issue", "message": "Report issue",
"description": "" "description": ""

View File

@ -38,7 +38,7 @@ div {
} }
.action img { .action img {
vertical-align: middle; vertical-align: text-bottom;
max-height: 19px; max-height: 19px;
margin-right: 0.25em; margin-right: 0.25em;
} }

View File

@ -32,6 +32,13 @@
window.open("https://canvasblocker.kkapsner.de/test", "_blank"); window.open("https://canvasblocker.kkapsner.de/test", "_blank");
} }
}, },
{
label: "review",
icon: browser.extension.getURL("icons/browserAction-review.svg"),
action: function(){
window.open("https://addons.mozilla.org/de/firefox/addon/canvasblocker/reviews/", "_blank");
}
},
{ {
label: "reportIssue", label: "reportIssue",
icon: browser.extension.getURL("icons/browserAction-reportIssue.svg"), icon: browser.extension.getURL("icons/browserAction-reportIssue.svg"),

View File

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="38"
height="38"
viewBox="0 0 10.054166 10.054167"
version="1.1"
id="svg830"
inkscape:version="0.92.2 2405546, 2018-03-11"
sodipodi:docname="browserAction-review.svg">
<defs
id="defs824" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.2"
inkscape:cx="32.467265"
inkscape:cy="15.819073"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1600"
inkscape:window-height="841"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata827">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-286.94581)">
<path
sodipodi:type="star"
style="opacity:1;fill:none;fill-opacity:1;stroke:#919191;stroke-width:3.83938536;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1375"
sodipodi:sides="5"
sodipodi:cx="13.296659"
sodipodi:cy="285.24011"
sodipodi:r1="13.713037"
sodipodi:r2="6.4780655"
sodipodi:arg1="0.90975316"
sodipodi:arg2="1.5470626"
inkscape:flatsided="false"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 21.71565,296.06453 -8.265256,-4.34818 -7.8467547,4.87563 1.5812554,-9.20439 -7.06177323,-5.95606 9.24252543,-1.34044 3.4823381,-8.55667 4.13094,8.37594 9.213977,0.66775 -6.689465,6.51706 z"
inkscape:transform-center-x="0.037474818"
inkscape:transform-center-y="-0.33085789"
transform="matrix(0.27028556,0,0,0.2811245,1.4881246,212.25546)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB