sidebar improving

This commit is contained in:
gabryon99 2020-01-28 19:57:21 +01:00
parent 18664163cb
commit a46a3241f9
7 changed files with 117 additions and 72 deletions

View file

@ -881,7 +881,7 @@ function addGoogleMapsScript()
print("<script src=\"https://maps.googleapis.com/maps/api/js?v=3.exp"..g_maps_key.."\"></script>\n")
end
function addLogoSvg(collapsed_sidebar)
function addLogoSvg()
return ([[
<div id='ntop-logo'>
<svg
@ -921,19 +921,7 @@ function addLogoSvg(collapsed_sidebar)
id="ntop-logo-n"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'VAGRounded BT';-inkscape-font-specification:'VAGRounded BT';fill:#ff7500;fill-opacity:1;stroke-width:0.26458332"
d="m 0.12764118,293.41728 v -3.3538 q 0,-0.61495 0.20153808,-0.90951 0.20670573,-0.29972 0.63045246,-0.29972 0.25321448,0 0.44958498,0.13436 0.1963704,0.12919 0.3462321,0.39791 0.2687174,-0.29456 0.6201171,-0.42892 0.3513997,-0.13436 0.8526611,-0.13436 0.9870199,0 1.5089518,0.56328 0.521932,0.56327 0.521932,1.63814 v 2.39262 q 0,0.61495 -0.2067058,0.91467 -0.2067057,0.29972 -0.6304524,0.29972 -0.4237468,0 -0.6304525,-0.29972 -0.2067057,-0.29972 -0.2067057,-0.91467 v -1.88619 q 0,-0.69763 -0.2118734,-0.99219 -0.2067057,-0.29972 -0.6872965,-0.29972 -0.4547526,0 -0.6717936,0.31006 -0.217041,0.30489 -0.217041,0.96118 v 1.90686 q 0,0.61495 -0.2067057,0.91467 -0.2067057,0.29972 -0.63045248,0.29972 -0.42374673,0 -0.63045246,-0.29972 -0.20153808,-0.29972 -0.20153808,-0.91467 z" />
<path
id="ntop-logo-t"
style="]].. (collapsed_sidebar == "1" and 'display: none;' or '') ..[[font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'VAGRounded BT';-inkscape-font-specification:'VAGRounded BT';fill:#ff7500;fill-opacity:1;stroke-width:0.26458332"
d="M 6.6957157,290.46139 H 6.633704 q -0.4392497,0 -0.6924642,-0.19121 -0.2480468,-0.19637 -0.2480468,-0.5271 0,-0.34106 0.2480468,-0.5271 0.2532145,-0.18603 0.7544759,-0.21187 v -0.73381 q 0,-0.61494 0.2067057,-0.91467 0.2067058,-0.29972 0.6304525,-0.29972 0.4185791,0 0.6201172,0.29972 0.2067057,0.29973 0.2067057,0.91467 v 0.73381 h 0.144694 q 0.4960937,0 0.7699788,0.19637 0.2790527,0.19637 0.2790527,0.5426 0,0.35657 -0.2687174,0.53744 -0.2635498,0.18087 -0.7906494,0.18087 H 8.3596968 v 2.95589 q 0,0.62011 -0.2015381,0.91984 -0.2015381,0.29455 -0.6252848,0.29455 -0.4237467,0 -0.6304525,-0.29972 -0.2067057,-0.29972 -0.2067057,-0.91467 z" />
<path
id="ntop-logo-o"
style="]].. (collapsed_sidebar == "1" and 'display: none;' or '') ..[[font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'VAGRounded BT';-inkscape-font-specification:'VAGRounded BT';fill:#ff7500;fill-opacity:1;stroke-width:0.26458332"
d="m 11.279415,291.72229 q 0,0.64079 0.304891,1.03353 0.30489,0.38757 0.795817,0.38757 0.490926,0 0.795817,-0.39274 0.304891,-0.39274 0.304891,-1.02836 0,-0.61495 -0.315227,-1.00252 -0.310058,-0.39274 -0.785481,-0.39274 -0.485759,0 -0.795817,0.38757 -0.304891,0.38757 -0.304891,1.00769 z m -1.7259932,0.0207 q 0,-1.30225 0.7958172,-2.1394 0.800985,-0.84233 2.030884,-0.84233 1.235066,0 2.025716,0.83716 0.790649,0.83716 0.790649,2.14457 0,1.30741 -0.790649,2.14974 -0.79065,0.83716 -2.025716,0.83716 -1.229899,0 -2.030884,-0.84233 -0.7958172,-0.84232 -0.7958172,-2.14457 z" />
<path
id="ntop-logo-p"
style="]].. (collapsed_sidebar == "1" and 'display: none;' or '') ..[[font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'VAGRounded BT';-inkscape-font-specification:'VAGRounded BT';fill:#ff7500;fill-opacity:1;stroke-width:0.26458332"
d="m 17.661454,291.76363 q 0,0.64079 0.304891,1.03353 0.304891,0.38757 0.795817,0.38757 0.490926,0 0.795817,-0.39274 0.304891,-0.39274 0.304891,-1.02836 0,-0.61495 -0.315226,-1.00252 -0.310059,-0.39274 -0.785482,-0.39274 -0.480591,0 -0.790649,0.38757 -0.310059,0.38757 -0.310059,1.00769 z m 0.03101,3.90674 q 0,0.62012 -0.206706,0.91984 -0.206706,0.29972 -0.630452,0.29972 -0.423747,0 -0.630453,-0.29972 -0.201538,-0.29972 -0.201538,-0.91984 v -5.60689 q 0,-0.61495 0.201538,-0.90951 0.206706,-0.29972 0.630453,-0.29972 0.253214,0 0.449585,0.13436 0.19637,0.12919 0.346232,0.39791 0.258382,-0.28422 0.604614,-0.42892 0.3514,-0.14469 0.769979,-0.14469 1.07487,0 1.808675,0.83716 0.733805,0.83715 0.733805,2.09289 0,1.25057 -0.754476,2.1239 -0.749308,0.87333 -1.808675,0.87333 -0.377238,0 -0.702799,-0.12402 -0.320394,-0.11886 -0.609782,-0.36173 z" />
</g>
</g>
</g>
</svg>