Browse Source

Added icon for menutitem and module description

pull/103/head
César López Ramírez 4 years ago
parent
commit
a3f7ce51ed
  1. BIN
      easy_my_coop/static/description/icon.png
  2. 47
      easy_my_coop/static/description/icon.svg
  3. 3
      easy_my_coop/views/menus.xml

BIN
easy_my_coop/static/description/icon.png

After

Width: 128  |  Height: 128  |  Size: 3.6 KiB

47
easy_my_coop/static/description/icon.svg

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<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" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 70 70" style="enable-background:new 0 0 70 70;" xml:space="preserve" sodipodi:docname="índice.svg" inkscape:export-filename="/home/slimbook/Descargas/índice.svg.png" inkscape:export-xdpi="192" inkscape:export-ydpi="192" inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata id="metadata2124"><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/></cc:Work></rdf:RDF></metadata><defs id="defs2122">
<defs id="defs7">
<filter height="263.8" width="265.3" y="0" x="-195.3" filterUnits="userSpaceOnUse" id="Adobe_OpacityMaskFilter">
<feColorMatrix id="feColorMatrix4" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0" type="matrix"/>
</filter>
</defs>
<mask id="b_1_" height="263.8" width="265.3" y="0" x="-195.3" maskUnits="userSpaceOnUse">
<g id="g10" class="st0">
<path d="M4,0h61c4,0,5,1,5,5v60c0,4-1,5-5,5H4c-3,0-4-1-4-5V5C0,1,1,0,4,0z" class="st1" id="a_1_"/>
</g>
</mask>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-636.75708" y1="415.02859" x2="-637.75708" y2="414.02859" gradientTransform="matrix(70,0,0,-70,44643,29052)">
<stop offset="0" style="stop-color:#B06161" id="stop13"/>
<stop offset="0.4578" style="stop-color:#984E4E" id="stop15"/>
<stop offset="1" style="stop-color:#7C3838" id="stop17"/>
</linearGradient>
</defs><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1055" id="namedview2120" showgrid="false" inkscape:zoom="6.2913102" inkscape:cx="12.879768" inkscape:cy="18.310313" inkscape:window-x="40" inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="Capa_1"/>
<style type="text/css" id="style2">
.st0{filter:url(#Adobe_OpacityMaskFilter);}
.st1{fill:#FFFFFF;}
.st2{mask:url(#b_1_);}
.st3{fill:url(#SVGID_1_);}
.st4{fill:#FFFFFF;fill-opacity:0.383;}
.st5{opacity:0.33;}
.st6{fill:#393939;}
.st7{display:none;opacity:0.33;fill:#393939;enable-background:new ;}
.st8{fill-opacity:0.383;}
.st9{display:none;opacity:0.3;enable-background:new ;}
.st10{opacity:0.3;}
.st11{display:none;fill:#FFFFFF;}
</style>
<rect style="opacity:0.47210298;vector-effect:none;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.41948131px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" id="rect5558" width="89.170609" height="13.192815" x="-21.414392" y="61.485111" ry="1.9499881"/><rect style="opacity:1;vector-effect:none;fill:#008080;fill-opacity:1;stroke:none;stroke-width:2.0482235px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" id="rect1851" width="69.937737" height="69.619843" x="0.15894702" y="0.22121178" ry="2.7302713"/><path class="st7" d="M 32.4,69 H 4 C 2,69 0,68 0,65 V 42.2 L 15.6,25.5 36,21 52,25 59.9,30.4 55,36 v 8.6 z" id="path2057" inkscape:connector-curvature="0" style="display:none;opacity:0.33000004;fill:#393939;enable-background:new"/><path class="st9" d="m 54.8,36.8 c 0.1,0.1 0.2,0.2 0.2,0.3 v 9.4 c 0,0.1 -0.1,0.3 -0.2,0.3 L 37.5,54 c -0.1,0 -0.2,0 -0.3,0 C 37.1,53.9 37,53.8 37,53.7 V 36.4 c 0,-0.2 0.2,-0.4 0.4,-0.4 0.1,0 0.2,0 0.3,0.1 l 3.8,4.8 c 0,0 0.2,0.2 0.5,0.1 0.3,-0.1 12.6,-4.3 12.6,-4.3 0,0 0.2,0 0.2,0.1 z m 5.1,-4.9 c 0.1,0.1 0.1,0.2 0.1,0.4 0,0.1 -0.1,0.2 -0.2,0.2 l -17,5.5 c -0.1,0 -0.3,0 -0.4,-0.1 l -4.8,-5.6 -1.4,0.4 v 0 c -0.1,0 -0.1,0 -0.2,0 l -1.4,-0.4 -4.8,5.6 C 29.6,38 29.4,38 29.3,38 l -17,-5.5 c -0.1,0 -0.2,-0.1 -0.2,-0.2 0,-0.1 0,-0.2 0.1,-0.3 l 3.5,-4.4 c 0.1,-0.1 0.1,-0.1 0.2,-0.1 l 20,-5.5 c 0.1,0 0.2,0 0.2,0 l 20.1,5.4 c 0.1,0 0.2,0.1 0.2,0.1 z M 36,31.1 50.4,27.3 36,23.5 21.6,27.3 Z M 34.7,36 c 0.2,0.1 0.3,0.2 0.3,0.3 v 17.3 c 0,0.1 -0.1,0.2 -0.2,0.3 -0.1,0.1 -0.2,0.1 -0.4,0 L 16.2,46.8 C 16.1,46.7 16,46.6 16,46.5 v -9.4 c 0,-0.1 0.1,-0.2 0.2,-0.3 0.1,-0.1 0.2,-0.1 0.3,0 0,0 12.9,4.2 13.3,4.3 0.3,0.1 0.5,-0.1 0.5,-0.1 l 4.1,-4.8 C 34.4,36 34.6,36 34.7,36 Z" id="path2061" inkscape:connector-curvature="0" style="display:none;opacity:0.3;enable-background:new"/><path class="st11" d="m 54.8,34.8 c 0.1,0.1 0.2,0.2 0.2,0.3 v 9.4 c 0,0.1 -0.1,0.3 -0.2,0.3 L 37.5,52 c -0.1,0 -0.2,0 -0.3,0 C 37.1,51.9 37,51.8 37,51.7 V 34.4 c 0,-0.2 0.2,-0.4 0.4,-0.4 0.1,0 0.2,0 0.3,0.1 l 3.8,4.8 c 0,0 0.2,0.2 0.5,0.1 0.3,-0.1 12.6,-4.3 12.6,-4.3 0,0 0.2,0 0.2,0.1 z m 5.1,-4.9 c 0.1,0.1 0.1,0.2 0.1,0.4 0,0.1 -0.1,0.2 -0.2,0.2 l -17,5.5 c -0.1,0 -0.3,0 -0.4,-0.1 l -4.8,-5.6 -1.4,0.4 v 0 c -0.1,0 -0.1,0 -0.2,0 l -1.4,-0.4 -4.8,5.6 C 29.6,36 29.4,36 29.3,36 l -17,-5.5 c -0.1,0 -0.2,-0.1 -0.2,-0.2 0,-0.1 0,-0.2 0.1,-0.3 l 3.5,-4.4 c 0.1,-0.1 0.1,-0.1 0.2,-0.1 l 20,-5.5 c 0.1,0 0.2,0 0.2,0 l 20.1,5.4 c 0.1,0 0.2,0.1 0.2,0.1 z M 36,29.1 50.4,25.3 36,21.5 21.6,25.3 Z M 34.7,34 c 0.2,0.1 0.3,0.2 0.3,0.3 v 17.3 c 0,0.1 -0.1,0.2 -0.2,0.3 -0.1,0.1 -0.2,0.1 -0.4,0 L 16.2,44.8 C 16.1,44.7 16,44.6 16,44.5 v -9.4 c 0,-0.1 0.1,-0.2 0.2,-0.3 0.1,-0.1 0.2,-0.1 0.3,0 0,0 12.9,4.2 13.3,4.3 0.3,0.1 0.5,-0.1 0.5,-0.1 l 4.1,-4.8 C 34.4,34 34.6,34 34.7,34 Z" id="path2113" inkscape:connector-curvature="0" style="display:none;fill:#ffffff"/>
<rect style="opacity:1;vector-effect:none;fill:#000000;fill-opacity:0.32941176;stroke:none;stroke-width:0.63062042px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" id="rect7109" width="38.23584" height="67.126938" x="30.618204" y="9.3956041" ry="9.1156044" transform="matrix(0.86965005,0.4936687,-0.62780865,0.77836771,0,0)"/><g id="g5048" transform="translate(45.245763,25.076271)"><rect style="fill:none" y="0" x="0" height="24" width="24" id="rect5046"/></g><g id="g5054" transform="matrix(2.779492,0,0,2.779492,1.271875,2.9200825)" style="fill:#ffffff"><g id="g5052" style="fill:#ffffff"><path inkscape:connector-curvature="0" d="M 6.05,8.05 C 3.32,10.78 3.32,15.2 6.03,17.93 7.5,14.53 10.12,11.69 13.39,10 10.62,12.34 8.68,15.61 8,19.32 10.6,20.55 13.8,20.1 15.95,17.95 19.43,14.47 20,4 20,4 20,4 9.53,4.57 6.05,8.05 Z" id="path5050" style="fill:#ffffff"/></g></g></svg>

3
easy_my_coop/views/menus.xml

@ -5,7 +5,8 @@
-->
<odoo>
<menuitem name="Easy-My Coop" id="menu_main_easy_my_coop"
groups="easy_my_coop.group_easy_my_coop_user" sequence="40"/>
groups="easy_my_coop.group_easy_my_coop_user" sequence="40"
web_icon="easy_my_coop,static/description/icon.png" />
<menuitem name="Share Management" id="menu_easy_my_coop_main_subscription"
parent="menu_main_easy_my_coop"

Loading…
Cancel
Save