Replaced page 'analytics' by 'extensions'

This commit is contained in:
xdrm-brackets 2017-09-23 15:44:06 +02:00
parent 939ec1f42c
commit fd0d9cef56
9 changed files with 109 additions and 36 deletions

View File

@ -92,7 +92,7 @@
// nomPage/arg1/arg2 -> inclusion de la page // nomPage/arg1/arg2 -> inclusion de la page
$R->get('(.*)', function($m){ $R->get('(.*)', function($m){
// Liste des pages du site // Liste des pages du site
$page_list = [ 'history', 'profile', 'machines', 'users', 'groups', 'analytics', 'settings' ]; $page_list = [ 'history', 'profile', 'machines', 'users', 'groups', 'extensions', 'settings' ];
if( !preg_match('#^(?:'.implode('|', $page_list).')(?:/[\w-]+)*/?$#i', $m[0]) ) if( !preg_match('#^(?:'.implode('|', $page_list).')(?:/[\w-]+)*/?$#i', $m[0]) )

View File

@ -175,7 +175,7 @@ function navMenu(section, persistence){
// init page-manager // init page-manager
pageManager.setPage(null, '/view', DOM.CONTAINER, ['history', 'profile', 'machines', 'users', 'groups', 'analytics', 'settings'] ); pageManager.setPage(null, '/view', DOM.CONTAINER, ['history', 'profile', 'machines', 'users', 'groups', 'extensions', 'settings'] );
// launch pageManager // launch pageManager
navMenu(pageManager.page); navMenu(pageManager.page);

View File

@ -1,24 +1 @@
// TODO: Attendre que API soit chargée, sinon erreur: le CONTAINER prend comme contenu la dépendance JS function navSubMenu(e){var a=document.querySelector('#CONTAINER > .sub-menu-side > span[data-sublink="'+pageManager.vars[0]+'"]'),n=null;if(n=e instanceof Element?e:null,n="string"==typeof e?document.querySelector('#CONTAINER > .sub-menu-side > span[data-sublink="'+e+'"]'):n,n=null==n?document.querySelector("#CONTAINER > .sub-menu-side > span[data-sublink]"):n,null==n)return!1;null!=a&&a.remClass("active");for(var t=document.querySelectorAll("#CONTAINER > section[data-sublink].active"),r=0;r<t.length;r++)t[r].remClass("active");if(null!=n){n.addClass("active");var u=document.querySelector('#CONTAINER > section[data-sublink="'+n.getData("sublink")+'"]');null!=u&&u.addClass("active")}if(!n.getData("sublink"))return!1;var l=pageManager.vars[0]!=n.getData("sublink");pageManager.vars[0]=n.getData("sublink"),l&&pageManager.updateURL()}function navMenu(e,a){var n=document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+pageManager.page+'"]'),t=null;if(t=e instanceof Element?e:null,t="string"==typeof e?document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+e+'"]'):t,t=t||document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+pageManager.pagelist[0]+'"]'),null==t)return!1;a=a===!0?!0:!1,n&&n.remClass("active"),t&&t.addClass("active");if(a||n==t||(pageManager.vars=[]),t.getData("link")){DOM.HEADER.addClass("loading");var r=function(){var e=pageManager.vars.length>0&&null!=document.querySelector('#CONTAINER > .sub-menu-side > [data-sublink="'+pageManager.vars[0]+'"]');navSubMenu(e?pageManager.vars[0]:null),document.querySelector("#CONTAINER > .sub-menu-side").addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("sublink");)a=a.parentNode;a.getData("sublink")&&navSubMenu(a)},!1),DOM.HEADER.remClass("loading")};pageManager.page!=t.getData("link")&&pageManager.setPage(t.getData("link")),pageManager.activeXHR?pageManager.activeXHR.addEventListener("loadend",r,!1):r.call()}}DOM={WRAPPER:$("WRAPPER"),HEADER:$("HEADER"),MENUSIDE:$("MENU-SIDE"),CONTAINER:$("CONTAINER")};var pageManager=new pageManagerClass,api=new APIClass("/api/");pageManager.setPage(null,"/view",DOM.CONTAINER,["history","profile","machines","users","groups","extensions","settings"]),navMenu(pageManager.page),pageManager.refresher=function(){navSubMenu(this.vars[0]),document.querySelector("#CONTAINER > .sub-menu-side").addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("sublink");)a=a.parentNode;a.getData("sublink")&&navSubMenu(a)},!1)},DOM.MENUSIDE.addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("link");)a=a.parentNode;a.getData("link")&&navMenu(a.getData("link"))},!1);
// init page-manager
// launch pageManager
// set default refresher
function navSubMenu(e){var a=document.querySelector('#CONTAINER > .sub-menu-side > span[data-sublink="'+pageManager.vars[0]+'"]'),n=null
if(n=e instanceof Element?e:null,n="string"==typeof e?document.querySelector('#CONTAINER > .sub-menu-side > span[data-sublink="'+e+'"]'):n,n=null==n?document.querySelector("#CONTAINER > .sub-menu-side > span[data-sublink]"):n,null==n)return!1
null!=a&&a.remClass("active")
for(var t=document.querySelectorAll("#CONTAINER > section[data-sublink].active"),r=0;r<t.length;r++)t[r].remClass("active")
if(null!=n){n.addClass("active")
var u=document.querySelector('#CONTAINER > section[data-sublink="'+n.getData("sublink")+'"]')
null!=u&&u.addClass("active")}if(!n.getData("sublink"))return!1
var l=pageManager.vars[0]!=n.getData("sublink")
pageManager.vars[0]=n.getData("sublink"),l&&pageManager.updateURL()}function navMenu(e,a){var n=document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+pageManager.page+'"]'),t=null
if(t=e instanceof Element?e:null,t="string"==typeof e?document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+e+'"]'):t,t=t||document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+pageManager.pagelist[0]+'"]'),null==t)return!1
a=a===!0,n&&n.remClass("active"),t&&t.addClass("active")
if(a||n==t||(pageManager.vars=[]),t.getData("link")){DOM.HEADER.addClass("loading")
var r=function(){var e=pageManager.vars.length>0&&null!=document.querySelector('#CONTAINER > .sub-menu-side > [data-sublink="'+pageManager.vars[0]+'"]')
navSubMenu(e?pageManager.vars[0]:null),document.querySelector("#CONTAINER > .sub-menu-side").addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("sublink");)a=a.parentNode
a.getData("sublink")&&navSubMenu(a)},!1),DOM.HEADER.remClass("loading")}
pageManager.page!=t.getData("link")&&pageManager.setPage(t.getData("link")),pageManager.activeXHR?pageManager.activeXHR.addEventListener("loadend",r,!1):r.call()}}DOM={WRAPPER:$("WRAPPER"),HEADER:$("HEADER"),MENUSIDE:$("MENU-SIDE"),CONTAINER:$("CONTAINER")}
var pageManager=new pageManagerClass,api=new APIClass("/api/")
pageManager.setPage(null,"/view",DOM.CONTAINER,["history","profile","machines","users","groups","analytics","settings"]),navMenu(pageManager.page),pageManager.refresher=function(){navSubMenu(this.vars[0]),document.querySelector("#CONTAINER > .sub-menu-side").addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("sublink");)a=a.parentNode
a.getData("sublink")&&navSubMenu(a)},!1)},DOM.MENUSIDE.addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("link");)a=a.parentNode
a.getData("link")&&navMenu(a.getData("link"))},!1)

View File

@ -0,0 +1,96 @@
<?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="8.6342955mm"
height="9.0311117mm"
viewBox="0 0 30.59396 32.000002"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="modules.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.4625887"
inkscape:cx="530.87545"
inkscape:cy="59.150088"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:object-nodes="true"
inkscape:snap-intersection-paths="true"
inkscape:snap-bbox="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="false"
inkscape:snap-smooth-nodes="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata7">
<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="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-111.21592,-649.60171)">
<g
id="g4332"
transform="matrix(0.07679306,0,0,0.07679306,102.67531,629.25943)">
<path
id="stylisable"
d="m 308.83203,279.07617 c -4.8516,0.059 -9.79138,1.24469 -14.49609,3.70508 0.46464,-0.14595 0.86268,-0.34632 1.33984,-0.48047 2.21433,-0.62253 4.5614,-1.11417 7.00781,-1.45117 2.44642,-0.33701 4.99261,-0.51953 7.60938,-0.51953 2.61676,0 5.16473,0.18252 7.61133,0.51953 1.55742,0.21453 2.99297,0.58981 4.46093,0.92383 -3.59735,-1.45597 -7.46095,-2.4385 -11.46093,-2.6543 -0.68858,-0.0371 -1.37918,-0.0514 -2.07227,-0.043 z m -30.25781,13.43945 -18.91797,11.98438 -34.78711,22.04102 -22.7793,14.43164 c 0.20582,-0.0308 0.38647,-0.0945 0.59375,-0.12305 2.44642,-0.33701 4.99261,-0.51953 7.60938,-0.51953 2.61676,0 5.16473,0.18252 7.61133,0.51953 2.4466,0.337 4.79323,0.82864 7.00781,1.45117 0.49461,0.13904 0.90752,0.34634 1.38867,0.49805 l 15.63281,-9.9043 17.72266,-11.22851 18.90234,-11.97461 c -0.40665,-0.503 -0.92194,-0.99292 -1.25195,-1.50391 -0.74914,-1.15997 -1.30369,-2.33804 -1.66992,-3.52148 -0.36624,-1.18345 -0.54492,-2.37239 -0.54492,-3.55469 0,-1.18231 0.17868,-2.37125 0.54492,-3.55469 0.36623,-1.18344 0.92078,-2.35956 1.66992,-3.51953 0.33398,-0.51713 0.8551,-1.01256 1.26758,-1.52149 z m 64.84961,1.82227 c 0.65437,1.06355 1.19062,2.13645 1.52539,3.21875 0.36605,1.18344 0.54492,2.37238 0.54492,3.55469 0,1.1823 -0.17887,2.37124 -0.54492,3.55469 -0.36605,1.18344 -0.91907,2.36151 -1.66797,3.52148 -0.4641,0.71885 -1.14536,1.41306 -1.76172,2.11523 l 19.41016,12.31641 16.90429,10.72656 15.46094,9.81055 c 0.80778,-0.27509 1.53278,-0.61704 2.38086,-0.85547 2.21433,-0.62253 4.5614,-1.11417 7.00781,-1.45117 2.44642,-0.33701 4.99261,-0.51953 7.60938,-0.51953 2.16285,0 4.24075,0.19641 6.29101,0.42969 L 394.55273,326.7793 360.92969,305.44531 343.42383,294.33789 Z m -167.81641,63.41406 -15.95117,10.10547 -26.79492,16.97656 c -9.25388,5.86298 -14.84479,9.24634 -18.34375,15.375 -3.49896,6.12867 -3.12784,12.22941 -3.13477,21.15235 l -0.0879,114.82617 c -0.0728,4.76495 -0.48747,10.83427 1.68555,17.50391 2.18623,6.7102 7.22962,13.44263 15.99414,19.01562 l 156.38867,99.44141 c 9.08572,5.77723 16.42354,9.42584 24.60156,9.45312 8.17802,0.0273 15.4182,-3.61939 24.13086,-9.2539 l 147.35157,-95.29297 c 10.40226,-6.72718 18.13517,-10.13748 23.01953,-18.93946 4.88436,-8.80197 5.3502,-19.80097 5.08593,-40.88085 l -1.24609,-99.3379 c -0.0559,-4.46059 -0.0524,-7.78492 -0.52344,-11.05078 -0.47103,-3.26586 -1.73422,-6.73078 -3.93359,-9.40625 -4.39875,-5.35093 -9.83434,-7.54844 -20.24219,-14.15234 l -22.67773,-14.38867 -15.77735,-10.01172 c 0.14215,0.7422 0.3418,1.48465 0.3418,2.22461 0,1.1823 -0.17887,2.37124 -0.54492,3.55469 -0.36605,1.18344 -0.91907,2.36151 -1.66797,3.52148 -0.7489,1.15997 -1.69326,2.30219 -2.8418,3.41406 -0.28952,0.28029 -0.7098,0.53821 -1.02539,0.81446 l 21.51563,13.65234 14.91015,9.46094 c 5.27511,3.34711 9.11522,5.76754 11.84961,7.54492 l -167.14648,107.4082 c -3.93984,2.53173 -7.03232,3.52549 -9.98828,3.5625 -2.95596,0.037 -6.17737,-0.86 -10.4668,-3.57422 L 131.12695,403.55664 c 2.11661,-1.62699 5.09321,-3.68507 9.4961,-6.47461 l 19.0332,-12.05859 20.79883,-13.17774 c -0.089,-0.0835 -0.21997,-0.16024 -0.30664,-0.24414 -1.14872,-1.11187 -2.09266,-2.25409 -2.8418,-3.41406 -0.74914,-1.15997 -1.30369,-2.33804 -1.66992,-3.52148 -0.36624,-1.18345 -0.54492,-2.37239 -0.54492,-3.55469 0,-1.11738 0.18892,-2.24038 0.51562,-3.35938 z m 318.13281,58.66993 c 0.0125,0.7139 0.0582,0.849 0.0684,1.65624 l 1.24414,99.33985 c 0.25861,20.6289 -0.97281,29.5303 -3.26562,33.66211 -2.29281,4.13181 -7.21698,6.68774 -18.21289,13.79883 L 326.2207,660.17188 c -3.96233,2.56245 -7.05271,4.27874 -9.63086,5.36914 L 317.5918,527.5 c 3.74268,-0.99013 7.35708,-2.61298 10.78906,-4.81836 L 493.74023,416.42188 Z m -367.75585,1.04296 166.3496,105.25977 c 3.51596,2.22478 7.11824,3.79122 10.75977,4.75586 l -0.99609,137.34765 c -2.50787,-1.1381 -5.27288,-2.57589 -8.95313,-4.91601 L 136.75391,560.4707 c -6.64187,-4.22328 -8.83044,-7.71779 -9.98829,-11.27148 -1.15778,-3.55369 -1.04712,-7.73875 -0.97265,-12.90039 l 0.002,-0.0508 0.0879,-114.87696 c 0.001,-1.806 0.0765,-2.52689 0.10157,-3.90625 z"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:14.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="stylisable"
d="m 310.29347,387.19024 c -13.23651,0 -25.34338,3.4768 -34.61719,9.63476 -9.27381,6.15796 -16.01953,15.56974 -16.01953,26.58008 l 0,31.7832 c 0,11.01034 6.74572,20.42406 16.01953,26.58203 9.27381,6.15796 21.38068,9.63477 34.61719,9.63477 13.23651,0 25.34337,-3.47681 34.61718,-9.63477 9.27381,-6.15797 16.01953,-15.57169 16.01953,-26.58203 l 0,-31.7832 c 0,-11.01034 -6.74572,-20.42212 -16.01953,-26.58008 -9.27381,-6.15796 -21.38067,-9.63476 -34.61718,-9.63476 z m 0,15.43359 c 10.46706,0 19.82021,2.90194 26.08007,7.05859 6.25985,4.15664 9.1211,8.99344 9.1211,13.72266 0,4.72922 -2.86125,9.56602 -9.1211,13.72266 -6.25986,4.15665 -15.61301,7.06054 -26.08007,7.06054 -10.46706,0 -19.81827,-2.90389 -26.07813,-7.06054 -6.25985,-4.15664 -9.12305,-8.99344 -9.12305,-13.72266 0,-4.72922 2.8632,-9.56602 9.12305,-13.72266 6.25986,-4.15665 15.61107,-7.05859 26.07813,-7.05859 z m -35.20118,46.95508 c 0.19604,0.13469 0.3856,0.27647 0.58399,0.4082 9.27381,6.15796 21.38068,9.63477 34.61719,9.63477 13.23651,0 25.34337,-3.47681 34.61718,-9.63477 0.19793,-0.13142 0.38841,-0.27187 0.58399,-0.40625 l 0,5.60742 c 0,4.72922 -2.86125,9.56602 -9.1211,13.72266 -6.25986,4.15665 -15.61301,7.06055 -26.08007,7.06055 -10.46706,0 -19.81827,-2.9039 -26.07813,-7.06055 -6.25985,-4.15664 -9.12305,-8.99344 -9.12305,-13.72266 l 0,-5.60937 z"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:15.43470478;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:15.43470478;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 310.29347,264.89737 c -13.23651,0 -25.34338,3.4768 -34.61719,9.63476 -9.27381,6.15796 -16.01953,15.56974 -16.01953,26.58008 l 0,31.7832 c 0,11.01034 6.74572,20.42406 16.01953,26.58203 9.27381,6.15796 21.38068,9.63477 34.61719,9.63477 13.23651,0 25.34337,-3.47681 34.61718,-9.63477 9.27381,-6.15797 16.01953,-15.57169 16.01953,-26.58203 l 0,-31.7832 c 0,-11.01034 -6.74572,-20.42212 -16.01953,-26.58008 -9.27381,-6.15796 -21.38067,-9.63476 -34.61718,-9.63476 z m 0,15.43359 c 10.46706,0 19.82021,2.90194 26.08007,7.05859 6.25985,4.15664 9.1211,8.99344 9.1211,13.72266 0,4.72922 -2.86125,9.56602 -9.1211,13.72266 -6.25986,4.15665 -15.61301,7.06054 -26.08007,7.06054 -10.46706,0 -19.81827,-2.90389 -26.07813,-7.06054 -6.25985,-4.15664 -9.12305,-8.99344 -9.12305,-13.72266 0,-4.72922 2.8632,-9.56602 9.12305,-13.72266 6.25986,-4.15665 15.61107,-7.05859 26.07813,-7.05859 z m -35.20118,46.95508 c 0.19604,0.13469 0.3856,0.27647 0.58399,0.4082 9.27381,6.15796 21.38068,9.63477 34.61719,9.63477 13.23651,0 25.34337,-3.47681 34.61718,-9.63477 0.19793,-0.13142 0.38841,-0.27187 0.58399,-0.40625 l 0,5.60742 c 0,4.72922 -2.86125,9.56602 -9.1211,13.72266 -6.25986,4.15665 -15.61301,7.06055 -26.08007,7.06055 -10.46706,0 -19.81827,-2.9039 -26.07813,-7.06055 -6.25985,-4.15664 -9.12305,-8.99344 -9.12305,-13.72266 l 0,-5.60937 z"
id="stylisable"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="stylisable"
d="m 410.29347,324.89737 c -13.23651,0 -25.34338,3.4768 -34.61719,9.63476 -9.27381,6.15796 -16.01953,15.56974 -16.01953,26.58008 l 0,31.7832 c 0,11.01034 6.74572,20.42406 16.01953,26.58203 9.27381,6.15796 21.38068,9.63477 34.61719,9.63477 13.23651,0 25.34337,-3.47681 34.61718,-9.63477 9.27381,-6.15797 16.01953,-15.57169 16.01953,-26.58203 l 0,-31.7832 c 0,-11.01034 -6.74572,-20.42212 -16.01953,-26.58008 -9.27381,-6.15796 -21.38067,-9.63476 -34.61718,-9.63476 z m 0,15.43359 c 10.46706,0 19.82021,2.90194 26.08007,7.05859 6.25985,4.15664 9.1211,8.99344 9.1211,13.72266 0,4.72922 -2.86125,9.56602 -9.1211,13.72266 -6.25986,4.15665 -15.61301,7.06054 -26.08007,7.06054 -10.46706,0 -19.81827,-2.90389 -26.07813,-7.06054 -6.25985,-4.15664 -9.12305,-8.99344 -9.12305,-13.72266 0,-4.72922 2.8632,-9.56602 9.12305,-13.72266 6.25986,-4.15665 15.61107,-7.05859 26.07813,-7.05859 z m -35.20118,46.95508 c 0.19604,0.13469 0.3856,0.27647 0.58399,0.4082 9.27381,6.15796 21.38068,9.63477 34.61719,9.63477 13.23651,0 25.34337,-3.47681 34.61718,-9.63477 0.19793,-0.13142 0.38841,-0.27187 0.58399,-0.40625 l 0,5.60742 c 0,4.72922 -2.86125,9.56602 -9.1211,13.72266 -6.25986,4.15665 -15.61301,7.06055 -26.08007,7.06055 -10.46706,0 -19.81827,-2.9039 -26.07813,-7.06055 -6.25985,-4.15664 -9.12305,-8.99344 -9.12305,-13.72266 l 0,-5.60937 z"
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:15.43470478;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:15.43470478;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 210.29347,324.89737 c -13.23651,0 -25.34338,3.4768 -34.61719,9.63476 -9.27381,6.15796 -16.01953,15.56974 -16.01953,26.58008 l 0,31.7832 c 0,11.01034 6.74572,20.42406 16.01953,26.58203 9.27381,6.15796 21.38068,9.63477 34.61719,9.63477 13.23651,0 25.34337,-3.47681 34.61718,-9.63477 9.27381,-6.15797 16.01953,-15.57169 16.01953,-26.58203 l 0,-31.7832 c 0,-11.01034 -6.74572,-20.42212 -16.01953,-26.58008 -9.27381,-6.15796 -21.38067,-9.63476 -34.61718,-9.63476 z m 0,15.43359 c 10.46706,0 19.82021,2.90194 26.08007,7.05859 6.25985,4.15664 9.1211,8.99344 9.1211,13.72266 0,4.72922 -2.86125,9.56602 -9.1211,13.72266 -6.25986,4.15665 -15.61301,7.06054 -26.08007,7.06054 -10.46706,0 -19.81827,-2.90389 -26.07813,-7.06054 -6.25985,-4.15664 -9.12305,-8.99344 -9.12305,-13.72266 0,-4.72922 2.8632,-9.56602 9.12305,-13.72266 6.25986,-4.15665 15.61107,-7.05859 26.07813,-7.05859 z m -35.20118,46.95508 c 0.19604,0.13469 0.3856,0.27647 0.58399,0.4082 9.27381,6.15796 21.38068,9.63477 34.61719,9.63477 13.23651,0 25.34337,-3.47681 34.61718,-9.63477 0.19793,-0.13142 0.38841,-0.27187 0.58399,-0.40625 l 0,5.60742 c 0,4.72922 -2.86125,9.56602 -9.1211,13.72266 -6.25986,4.15665 -15.61301,7.06055 -26.08007,7.06055 -10.46706,0 -19.81827,-2.9039 -26.07813,-7.06055 -6.25985,-4.15664 -9.12305,-8.99344 -9.12305,-13.72266 l 0,-5.60937 z"
id="stylisable"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -10,7 +10,7 @@
<nav class='sub-menu-side'> <nav class='sub-menu-side'>
<span data-sublink='analytics'> <span data-sublink='analytics'>
<span class='svg'><?php echo file_get_contents( __PUBLIC__.'/src/static/sub-menu-side/analytics.svg' ); ?></span> <span class='svg'><?php echo file_get_contents( __PUBLIC__.'/src/static/sub-menu-side/analytics.svg' ); ?></span>
<span>Statistiques</span> <span>Général</span>
</span> </span>
<span data-sublink='view' > <span data-sublink='view' >

View File

@ -49,15 +49,15 @@
<!-- MENU DE LA PAGE --> <!-- MENU DE LA PAGE -->
<nav id='MENU-SIDE'> <nav id='MENU-SIDE'>
<span data-link='profile' data-desc='Profil' class='mb' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/profile.svg'); ?></span> <span data-link='profile' data-desc='Profil' class='mb' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/profile.svg'); ?></span>
<span data-link='history' data-desc='Journal des accès' class='apart' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/history.svg'); ?></span> <span data-link='history' data-desc='Journal des accès' class='apart' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/history.svg'); ?></span>
<span data-link='machines' data-desc='Systèmes' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/device.svg'); ?></span> <span data-link='machines' data-desc='Systèmes' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/device.svg'); ?></span>
<span data-link='users' data-desc='Utilisateurs' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/users.svg'); ?></span> <span data-link='users' data-desc='Utilisateurs' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/users.svg'); ?></span>
<span data-link='groups' data-desc='Gestion des groupes' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/groups.svg'); ?></span> <span data-link='groups' data-desc='Gestion des groupes' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/groups.svg'); ?></span>
<span data-link='analytics' data-desc='Statistiques et analyse' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/analytics.svg'); ?></span> <span data-link='extensions' data-desc='Extensions' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/extensions.svg'); ?></span>
<span data-link='settings' data-desc='Paramètres' class='mt' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/settings.svg'); ?></span> <span data-link='settings' data-desc='Paramètres' class='mt' ><?= file_get_contents(__PUBLIC__.'/src/static/menu-side/settings.svg'); ?></span>
</nav> </nav>