Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bbd4403c3e | |||
| c52079e882 | |||
| 7864e16ef3 | |||
| 4b06b633b8 | |||
| 12abd19936 |
@@ -35,11 +35,13 @@ $ rm -frv side_menu
|
||||
$ unzip -d side_menu /path/to/side_menu_vX.Y.Z.zip
|
||||
```
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
How to contribute?
|
||||
|
||||
@@ -13,15 +13,16 @@ You can report a bug or request a feature by opening an issue.
|
||||
]]></description>
|
||||
<licence>agpl</licence>
|
||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
||||
<version>1.4.1</version>
|
||||
<version>1.5.0</version>
|
||||
<namespace>SideMenu</namespace>
|
||||
<category>customization</category>
|
||||
<website>https://gitnet.fr/deblan/side_menu</website>
|
||||
<bugs>https://gitnet.fr/deblan/side_menu/issues</bugs>
|
||||
<repository type="git">https://gitnet.fr/deblan/side_menu</repository>
|
||||
<screenshot>https://upload.deblan.org/u/2020-03/5e7fab2b.jpg</screenshot>
|
||||
<screenshot>https://upload.deblan.org/u/2020-03/5e81b219.jpg</screenshot>
|
||||
<screenshot>https://upload.deblan.org/u/2020-04/5ea92746.png</screenshot>
|
||||
<screenshot>https://upload.deblan.org/u/2020-03/5e7fab2b.jpg</screenshot>
|
||||
<screenshot>https://upload.deblan.org/u/2020-05/5eb6b76e.png</screenshot>
|
||||
<screenshot>https://upload.deblan.org/u/2020-05/5eb6b78a.png</screenshot>
|
||||
<dependencies>
|
||||
<nextcloud min-version="18" max-version="18"/>
|
||||
</dependencies>
|
||||
|
||||
@@ -15,10 +15,6 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#appmenu, #appmenu + nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#side-menu {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
||||
@@ -0,0 +1,173 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<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="40"
|
||||
height="40"
|
||||
viewBox="0 0 10.583 10.583"
|
||||
version="1.1"
|
||||
id="svg935"
|
||||
sodipodi:docname="side-menu-opener-dark.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata941">
|
||||
<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>
|
||||
<defs
|
||||
id="defs939" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1008"
|
||||
id="namedview937"
|
||||
showgrid="false"
|
||||
inkscape:zoom="8.34386"
|
||||
inkscape:cx="83.025045"
|
||||
inkscape:cy="14.304895"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="41"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg935" />
|
||||
<g
|
||||
transform="translate(.3 -286.074)"
|
||||
fill="#fff"
|
||||
color="#000"
|
||||
fill-opacity=".855"
|
||||
id="g933"
|
||||
style="fill:#000000;fill-opacity:0.89855075">
|
||||
<rect
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="288.474"
|
||||
x="4.266"
|
||||
height="1.451"
|
||||
width="1.451"
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect909" />
|
||||
<g
|
||||
transform="translate(-.13)"
|
||||
id="g915"
|
||||
style="fill:#000000;fill-opacity:0.89855075">
|
||||
<rect
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="6.445"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect911" />
|
||||
<rect
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="2.345"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect913" />
|
||||
</g>
|
||||
<rect
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="290.631"
|
||||
x="4.266"
|
||||
height="1.451"
|
||||
width="1.451"
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect917" />
|
||||
<g
|
||||
transform="translate(-.13 2.157)"
|
||||
id="g923"
|
||||
style="fill:#000000;fill-opacity:0.89855075">
|
||||
<rect
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="6.445"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect919" />
|
||||
<rect
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="2.345"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect921" />
|
||||
</g>
|
||||
<rect
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="292.808"
|
||||
x="4.266"
|
||||
height="1.451"
|
||||
width="1.451"
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect925" />
|
||||
<g
|
||||
transform="translate(-.13 4.334)"
|
||||
id="g931"
|
||||
style="fill:#000000;fill-opacity:0.89855075">
|
||||
<rect
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="6.445"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect927" />
|
||||
<rect
|
||||
style="marker:none;fill:#000000;fill-opacity:0.89855075"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="2.345"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect929" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<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="40"
|
||||
height="40"
|
||||
viewBox="0 0 10.583 10.583"
|
||||
version="1.1"
|
||||
id="svg1090"
|
||||
sodipodi:docname="side-menu-opener-hamburger-2-dark.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata1096">
|
||||
<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>
|
||||
<defs
|
||||
id="defs1094" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1008"
|
||||
id="namedview1092"
|
||||
showgrid="false"
|
||||
inkscape:zoom="8.34386"
|
||||
inkscape:cx="84.523455"
|
||||
inkscape:cy="12.270318"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="41"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg1090" />
|
||||
<rect
|
||||
overflow="visible"
|
||||
style="marker:none;fill:#000000;fill-opacity:1"
|
||||
width="4.806"
|
||||
height="1.256"
|
||||
x="2.888"
|
||||
y="2.787"
|
||||
rx="0"
|
||||
ry=".472"
|
||||
color="#000"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1082" />
|
||||
<rect
|
||||
overflow="visible"
|
||||
style="marker:none;fill:#000000;fill-opacity:1"
|
||||
width="4.806"
|
||||
height="1.256"
|
||||
x="2.888"
|
||||
y="4.655"
|
||||
rx="0"
|
||||
ry=".472"
|
||||
color="#000"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1084" />
|
||||
<rect
|
||||
overflow="visible"
|
||||
style="marker:none;fill:#000000;fill-opacity:1"
|
||||
width="4.806"
|
||||
height="1.256"
|
||||
x="2.888"
|
||||
y="6.54"
|
||||
rx="0"
|
||||
ry=".472"
|
||||
color="#000"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1086" />
|
||||
<path
|
||||
style="marker:none;fill:#000000;fill-opacity:1"
|
||||
d="M1.243.71A.469.469 0 0 0 .881.88a.469.469 0 0 0-.171.362V9.34c0 .146.067.275.171.362a.469.469 0 0 0 .362.171H9.34a.469.469 0 0 0 .362-.171.469.469 0 0 0 .171-.362V1.243a.469.469 0 0 0-.171-.362A.469.469 0 0 0 9.34.71zm.723 1.256h6.65v6.65h-6.65z"
|
||||
color="#000"
|
||||
overflow="visible"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
paint-order="stroke markers fill"
|
||||
id="path1088" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -1,6 +1,101 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 10.583 10.583">
|
||||
<rect overflow="visible" style="marker:none" width="4.806" height="1.256" x="2.888" y="2.787" rx="0" ry=".472" color="#000" fill="#fff" fill-opacity=".855" paint-order="stroke markers fill"/>
|
||||
<rect overflow="visible" style="marker:none" width="4.806" height="1.256" x="2.888" y="4.655" rx="0" ry=".472" color="#000" fill="#fff" fill-opacity=".855" paint-order="stroke markers fill"/>
|
||||
<rect overflow="visible" style="marker:none" width="4.806" height="1.256" x="2.888" y="6.54" rx="0" ry=".472" color="#000" fill="#fff" fill-opacity=".855" paint-order="stroke markers fill"/>
|
||||
<path style="marker:none" d="M1.243.71A.469.469 0 0 0 .881.88a.469.469 0 0 0-.171.362V9.34c0 .146.067.275.171.362a.469.469 0 0 0 .362.171H9.34a.469.469 0 0 0 .362-.171.469.469 0 0 0 .171-.362V1.243a.469.469 0 0 0-.171-.362A.469.469 0 0 0 9.34.71zm.723 1.256h6.65v6.65h-6.65z" color="#000" overflow="visible" fill="#fff" fill-opacity=".855" paint-order="stroke markers fill"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<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="40"
|
||||
height="40"
|
||||
viewBox="0 0 10.583 10.583"
|
||||
version="1.1"
|
||||
id="svg1443"
|
||||
sodipodi:docname="side-menu-opener-hamburger-2.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata1449">
|
||||
<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="defs1447" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1008"
|
||||
id="namedview1445"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.9"
|
||||
inkscape:cx="90.508475"
|
||||
inkscape:cy="4.5762712"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="41"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg1443" />
|
||||
<rect
|
||||
overflow="visible"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:1"
|
||||
width="4.806"
|
||||
height="1.256"
|
||||
x="2.888"
|
||||
y="2.787"
|
||||
rx="0"
|
||||
ry=".472"
|
||||
color="#000"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1435" />
|
||||
<rect
|
||||
overflow="visible"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:1"
|
||||
width="4.806"
|
||||
height="1.256"
|
||||
x="2.888"
|
||||
y="4.655"
|
||||
rx="0"
|
||||
ry=".472"
|
||||
color="#000"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1437" />
|
||||
<rect
|
||||
overflow="visible"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:1"
|
||||
width="4.806"
|
||||
height="1.256"
|
||||
x="2.888"
|
||||
y="6.54"
|
||||
rx="0"
|
||||
ry=".472"
|
||||
color="#000"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1439" />
|
||||
<path
|
||||
style="marker:none;fill:#ffffff;fill-opacity:1"
|
||||
d="M1.243.71A.469.469 0 0 0 .881.88a.469.469 0 0 0-.171.362V9.34c0 .146.067.275.171.362a.469.469 0 0 0 .362.171H9.34a.469.469 0 0 0 .362-.171.469.469 0 0 0 .171-.362V1.243a.469.469 0 0 0-.171-.362A.469.469 0 0 0 9.34.71zm.723 1.256h6.65v6.65h-6.65z"
|
||||
color="#000"
|
||||
overflow="visible"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
paint-order="stroke markers fill"
|
||||
id="path1441" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<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="40"
|
||||
height="40"
|
||||
viewBox="0 0 10.583 10.583"
|
||||
version="1.1"
|
||||
id="svg1168"
|
||||
sodipodi:docname="side-menu-opener-hamburger-dark.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata1174">
|
||||
<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>
|
||||
<defs
|
||||
id="defs1172" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1008"
|
||||
id="namedview1170"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.9"
|
||||
inkscape:cx="112.71186"
|
||||
inkscape:cy="0.16949153"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="41"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg1168" />
|
||||
<g
|
||||
color="#000"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
transform="translate(0 -286.417)"
|
||||
id="g1166"
|
||||
style="fill:#000000;fill-opacity:0.99637681">
|
||||
<rect
|
||||
ry=".545"
|
||||
rx="0"
|
||||
y="288.816"
|
||||
x="2.516"
|
||||
height="1.451"
|
||||
width="5.551"
|
||||
style="marker:none;fill:#000000;fill-opacity:0.99637681"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1160" />
|
||||
<rect
|
||||
ry=".545"
|
||||
rx="0"
|
||||
y="290.973"
|
||||
x="2.516"
|
||||
height="1.451"
|
||||
width="5.551"
|
||||
style="marker:none;fill:#000000;fill-opacity:0.99637681"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1162" />
|
||||
<rect
|
||||
ry=".545"
|
||||
rx="0"
|
||||
y="293.15"
|
||||
x="2.516"
|
||||
height="1.451"
|
||||
width="5.551"
|
||||
style="marker:none;fill:#000000;fill-opacity:0.99637681"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1164" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
@@ -1,7 +1,91 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 10.583 10.583">
|
||||
<g color="#000" fill="#fff" fill-opacity=".855" transform="translate(0 -286.417)">
|
||||
<rect ry=".545" rx="0" y="288.816" x="2.516" height="1.451" width="5.551" style="marker:none" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<rect ry=".545" rx="0" y="290.973" x="2.516" height="1.451" width="5.551" style="marker:none" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<rect ry=".545" rx="0" y="293.15" x="2.516" height="1.451" width="5.551" style="marker:none" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<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="40"
|
||||
height="40"
|
||||
viewBox="0 0 10.583 10.583"
|
||||
version="1.1"
|
||||
id="svg1382"
|
||||
sodipodi:docname="side-menu-opener-hamburger.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata1388">
|
||||
<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="defs1386" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1008"
|
||||
id="namedview1384"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.9"
|
||||
inkscape:cx="108.13559"
|
||||
inkscape:cy="3.8983051"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="41"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg1382" />
|
||||
<g
|
||||
color="#000"
|
||||
fill="#fff"
|
||||
fill-opacity=".855"
|
||||
transform="translate(0 -286.417)"
|
||||
id="g1380"
|
||||
style="fill:#ffffff;fill-opacity:1">
|
||||
<rect
|
||||
ry=".545"
|
||||
rx="0"
|
||||
y="288.816"
|
||||
x="2.516"
|
||||
height="1.451"
|
||||
width="5.551"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:1"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1374" />
|
||||
<rect
|
||||
ry=".545"
|
||||
rx="0"
|
||||
y="290.973"
|
||||
x="2.516"
|
||||
height="1.451"
|
||||
width="5.551"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:1"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1376" />
|
||||
<rect
|
||||
ry=".545"
|
||||
rx="0"
|
||||
y="293.15"
|
||||
x="2.516"
|
||||
height="1.451"
|
||||
width="5.551"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:1"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1378" />
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 2.4 KiB |
@@ -1,19 +1,172 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 10.583 10.583">
|
||||
<g transform="translate(.3 -286.074)" fill="#fff" color="#000" fill-opacity=".855">
|
||||
<rect ry="0" rx="0" y="288.474" x="4.266" height="1.451" width="1.451" style="marker:none" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<g transform="translate(-.13)">
|
||||
<rect style="marker:none" width="1.451" height="1.451" x="6.445" y="288.474" rx="0" ry="0" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<rect style="marker:none" width="1.451" height="1.451" x="2.345" y="288.474" rx="0" ry="0" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<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="40"
|
||||
height="40"
|
||||
viewBox="0 0 10.583 10.583"
|
||||
version="1.1"
|
||||
id="svg1321"
|
||||
sodipodi:docname="side-menu-opener.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata1327">
|
||||
<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="defs1325" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1008"
|
||||
id="namedview1323"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.9"
|
||||
inkscape:cx="78.983051"
|
||||
inkscape:cy="5.5932203"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="41"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg1321" />
|
||||
<g
|
||||
transform="translate(.3 -286.074)"
|
||||
fill="#fff"
|
||||
color="#000"
|
||||
fill-opacity=".855"
|
||||
id="g1319"
|
||||
style="fill:#ffffff;fill-opacity:0.94565219">
|
||||
<rect
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="288.474"
|
||||
x="4.266"
|
||||
height="1.451"
|
||||
width="1.451"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1295" />
|
||||
<g
|
||||
transform="translate(-.13)"
|
||||
id="g1301"
|
||||
style="fill:#ffffff;fill-opacity:0.94565219">
|
||||
<rect
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="6.445"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1297" />
|
||||
<rect
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="2.345"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1299" />
|
||||
</g>
|
||||
<rect ry="0" rx="0" y="290.631" x="4.266" height="1.451" width="1.451" style="marker:none" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<g transform="translate(-.13 2.157)">
|
||||
<rect style="marker:none" width="1.451" height="1.451" x="6.445" y="288.474" rx="0" ry="0" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<rect style="marker:none" width="1.451" height="1.451" x="2.345" y="288.474" rx="0" ry="0" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<rect
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="290.631"
|
||||
x="4.266"
|
||||
height="1.451"
|
||||
width="1.451"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1303" />
|
||||
<g
|
||||
transform="translate(-.13 2.157)"
|
||||
id="g1309"
|
||||
style="fill:#ffffff;fill-opacity:0.94565219">
|
||||
<rect
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="6.445"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1305" />
|
||||
<rect
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="2.345"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1307" />
|
||||
</g>
|
||||
<rect ry="0" rx="0" y="292.808" x="4.266" height="1.451" width="1.451" style="marker:none" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<g transform="translate(-.13 4.334)">
|
||||
<rect style="marker:none" width="1.451" height="1.451" x="6.445" y="288.474" rx="0" ry="0" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<rect style="marker:none" width="1.451" height="1.451" x="2.345" y="288.474" rx="0" ry="0" overflow="visible" paint-order="stroke markers fill"/>
|
||||
<rect
|
||||
ry="0"
|
||||
rx="0"
|
||||
y="292.808"
|
||||
x="4.266"
|
||||
height="1.451"
|
||||
width="1.451"
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1311" />
|
||||
<g
|
||||
transform="translate(-.13 4.334)"
|
||||
id="g1317"
|
||||
style="fill:#ffffff;fill-opacity:0.94565219">
|
||||
<rect
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="6.445"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1313" />
|
||||
<rect
|
||||
style="marker:none;fill:#ffffff;fill-opacity:0.94565219"
|
||||
width="1.451"
|
||||
height="1.451"
|
||||
x="2.345"
|
||||
y="288.474"
|
||||
rx="0"
|
||||
ry="0"
|
||||
overflow="visible"
|
||||
paint-order="stroke markers fill"
|
||||
id="rect1315" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 4.5 KiB |
@@ -64,6 +64,7 @@ class CssController extends Controller
|
||||
],
|
||||
'display-logo' => (bool) $this->config->getAppValue('side_menu', 'display-logo', 1),
|
||||
'opener-only' => (bool) $this->config->getAppValue('side_menu', 'opener-only', 0),
|
||||
'external-sites-in-top-menu' => (bool) $this->config->getAppValue('side_menu', 'external-sites-in-top-menu', 0),
|
||||
'size-icon' => $this->config->getAppValue('side_menu', 'size-icon', 'normal'),
|
||||
'size-text' => $this->config->getAppValue('side_menu', 'size-text', 'normal'),
|
||||
];
|
||||
|
||||
@@ -54,6 +54,8 @@ class JsController extends Controller
|
||||
$parameters = [
|
||||
'opener-position' => $this->config->getAppValue('side_menu', 'opener-position', 'before'),
|
||||
'opener-hover' => (bool) $this->config->getAppValue('side_menu', 'opener-hover', '0'),
|
||||
'external-sites-in-top-menu' => (bool) $this->config->getAppValue('side_menu', 'external-sites-in-top-menu', 0),
|
||||
'force-light-icon' => (bool) $this->config->getAppValue('side_menu', 'force-light-icon', '0'),
|
||||
'hide-when-no-apps' => (bool) $this->config->getAppValue('side_menu', 'hide-when-no-apps', '0'),
|
||||
];
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ class Admin implements ISettings
|
||||
'background-color-to' => $backgroundColorTo,
|
||||
'current-app-background-color' => $this->config->getAppValue('side_menu', 'current-app-background-color', '#444444'),
|
||||
'text-color' => $this->config->getAppValue('side_menu', 'text-color', '#FFFFFF'),
|
||||
'force-light-icon' => $this->config->getAppValue('side_menu', 'force-light-icon', '0'),
|
||||
'cache' => $this->config->getAppValue('side_menu', 'cache', '0'),
|
||||
'opener' => $this->config->getAppValue('side_menu', 'opener', 'side-menu-opener'),
|
||||
'display-logo' => $this->config->getAppValue('side_menu', 'display-logo', '1'),
|
||||
@@ -64,6 +65,7 @@ class Admin implements ISettings
|
||||
'hide-when-no-apps' => $this->config->getAppValue('side_menu', 'hide-when-no-apps', '0'),
|
||||
'size-icon' => $this->config->getAppValue('side_menu', 'size-icon', 'normal'),
|
||||
'size-text' => $this->config->getAppValue('side_menu', 'size-text', 'normal'),
|
||||
'external-sites-in-top-menu' => $this->config->getAppValue('side_menu', 'external-sites-in-top-menu', '0'),
|
||||
];
|
||||
|
||||
return new TemplateResponse('side_menu', 'settings/admin-form', $parameters, '');
|
||||
|
||||
@@ -41,7 +41,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
apps: [],
|
||||
logo: null
|
||||
logo: null,
|
||||
forceLightIcon: false,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -52,10 +53,21 @@ export default {
|
||||
for (let element of links) {
|
||||
let href = element.getAttribute('href')
|
||||
|
||||
if (this.ignoreExternalSites && element.parentNode.getAttribute('data-id').indexOf('external_index') !== -1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (href !== '#') {
|
||||
let svg = element.querySelector('svg').outerHTML
|
||||
|
||||
svg = svg.replace(/(height|width)="20"/, '')
|
||||
svg = svg
|
||||
.replace(/(height|width)="20"/, '')
|
||||
.replace('id="invertMenuMain', 'id="invertSideMenu')
|
||||
.replace('url(#invertMenuMain', 'url(#invertSideMenu')
|
||||
|
||||
if (this.forceLightIcon) {
|
||||
svg = svg.replace(/filter="url[^"]+"/, '')
|
||||
}
|
||||
|
||||
this.apps.push({
|
||||
href: href,
|
||||
@@ -87,16 +99,18 @@ export default {
|
||||
}
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.retrieveApps();
|
||||
this.retrieveLogo();
|
||||
mounted() {
|
||||
this.retrieveApps()
|
||||
this.retrieveLogo()
|
||||
this.forceLightIcon = document.querySelector('#side-menu-container').getAttribute('data-forcelighticon') == 1;
|
||||
this.ignoreExternalSites = document.querySelector('#side-menu-container').getAttribute('data-externalsitesintopmenu') == 1;
|
||||
|
||||
const menu = document.querySelector('#appmenu')
|
||||
|
||||
if (menu) {
|
||||
const config = {attributes: true, childList: true, subtree: true};
|
||||
const observer = new MutationObserver(this.retrieveApps);
|
||||
observer.observe(menu, config);
|
||||
const config = {attributes: true, childList: true, subtree: true}
|
||||
const observer = new MutationObserver(this.retrieveApps)
|
||||
observer.observe(menu, config)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@ const elements = [
|
||||
'side-menu-background-color-to',
|
||||
'side-menu-current-app-background-color',
|
||||
'side-menu-text-color',
|
||||
'side-menu-force-light-icon',
|
||||
'side-menu-opener',
|
||||
'side-menu-opener-position',
|
||||
'side-menu-opener-hover',
|
||||
@@ -29,6 +30,7 @@ const elements = [
|
||||
'side-menu-size-icon',
|
||||
'side-menu-size-text',
|
||||
'side-menu-cache',
|
||||
'side-menu-external-sites-in-top-menu',
|
||||
];
|
||||
|
||||
const selector = '#side-menu-message';
|
||||
|
||||
@@ -8,6 +8,16 @@
|
||||
<?php endforeach; ?>
|
||||
}
|
||||
|
||||
<?php if ($_['external-sites-in-top-menu'] === false): ?>
|
||||
#appmenu {
|
||||
display: none;
|
||||
}
|
||||
<?php endif; ?>
|
||||
|
||||
#appmenu + nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
<?php if ($_['opener-only'] === true): ?>
|
||||
#nextcloud {
|
||||
display: none;
|
||||
|
||||
@@ -5,6 +5,34 @@
|
||||
var body = $('body')
|
||||
var isTouchDevice = window.matchMedia("(pointer: coarse)").matches
|
||||
|
||||
<?php if ($_['force-light-icon']): ?>
|
||||
sideMenuContainer.attr('data-forcelighticon', '1')
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($_['external-sites-in-top-menu']): ?>
|
||||
sideMenuContainer.attr('data-externalsitesintopmenu', '1')
|
||||
|
||||
var externalSitesInTopMenu = function() {
|
||||
var items = $('#appmenu').find('li')
|
||||
|
||||
items.each(function(i, item) {
|
||||
var dataId = item.getAttribute('data-id')
|
||||
|
||||
if (dataId === null || dataId.indexOf('external_index') === -1) {
|
||||
item.style.display = 'none'
|
||||
item.classList.remove('hidden')
|
||||
} else {
|
||||
item.style.display = 'flex'
|
||||
item.classList.add('hidden')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
$(window).resize(externalSitesInTopMenu);
|
||||
|
||||
setInterval(externalSitesInTopMenu, 500);
|
||||
<?php endif; ?>
|
||||
|
||||
body.on('side-menu.apps', function(e, apps) {
|
||||
<?php if ($_['hide-when-no-apps']): ?>
|
||||
sideMenu = $('#side-menu')
|
||||
|
||||
@@ -82,6 +82,22 @@ $choicesSizes = [
|
||||
type="color"
|
||||
value="<?php print_unescaped($_['text-color']); ?>">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="side-menu-opener-only" class="settings-hint">
|
||||
<?php p($l->t('Force light icons')); ?>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<select id="side-menu-force-light-icon" name="force-light-icon">
|
||||
<?php foreach ($choicesYesNo as $label => $value): ?>
|
||||
<option value="<?php echo $value ?>" <?php if ($value === $_['force-light-icon']): ?>selected<?php endif; ?>>
|
||||
<?php echo $l->t($label); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
@@ -92,8 +108,11 @@ $choicesSizes = [
|
||||
<?php
|
||||
$choices = [
|
||||
'Default' => 'side-menu-opener',
|
||||
'Default (dark)' => 'side-menu-opener-dark',
|
||||
'Hamburger' => 'side-menu-opener-hamburger',
|
||||
'Hamburger (dark)' => 'side-menu-opener-hamburger-dark',
|
||||
'Hamburger 2' => 'side-menu-opener-hamburger-2',
|
||||
'Hamburger 2 (dark)' => 'side-menu-opener-hamburger-2-dark',
|
||||
];
|
||||
?>
|
||||
|
||||
@@ -229,6 +248,23 @@ $choicesSizes = [
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="side-menu-external-sites-in-top-menu" class="settings-hint">
|
||||
<?php p($l->t('Do not move external sites in the side menu')); ?>
|
||||
<small><span class="warning">Experimental</span></small>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<select id="side-menu-external-sites-in-top-menu" name="external-sites-in-top-menu">
|
||||
<?php foreach ($choicesYesNo as $label => $value): ?>
|
||||
<option value="<?php echo $value ?>" <?php if ($value === $_['external-sites-in-top-menu']): ?>selected<?php endif; ?>>
|
||||
<?php echo $l->t($label); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
|
||||