diff options
-rw-r--r-- | contrib/logo/logo.svg | 136 | ||||
-rw-r--r-- | src/viz/index.js | 3 |
2 files changed, 138 insertions, 1 deletions
diff --git a/contrib/logo/logo.svg b/contrib/logo/logo.svg new file mode 100644 index 0000000..b93b087 --- /dev/null +++ b/contrib/logo/logo.svg @@ -0,0 +1,136 @@ +<?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="210mm" + height="297mm" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="logo.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.74594091" + inkscape:cx="372.04724" + inkscape:cy="526.18109" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1400" + inkscape:window-height="998" + inkscape:window-x="0" + inkscape:window-y="28" + inkscape:window-maximized="1" /> + <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="Ebene 1" + inkscape:groupmode="layer" + id="layer1"> + <text + xml:space="preserve" + style="font-size:131.96934509px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#b80000;fill-opacity:1;stroke:#b80000;stroke-width:14.00332737;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;font-family:Droid Sans;-inkscape-font-specification:Droid Sans" + x="334.76724" + y="565.03455" + id="text2985" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + x="334.76724" + y="565.03455" + style="font-size:527.87738036999996893px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#b80000;fill-opacity:1;stroke:#b80000;stroke-width:14.00332736999999916;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;font-family:PT Sans;-inkscape-font-specification:PT Sans Italic" + id="tspan2989">5</tspan></text> + <text + xml:space="preserve" + style="font-size:106.84563445999999942px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:none;fill-opacity:1;stroke:#000000;stroke-width:13.25054073000000088;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;font-family:UnDotum;-inkscape-font-specification:UnDotum" + x="167.79295" + y="541.95251" + id="text2991" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan2993" + x="167.79295" + y="541.95251" + style="font-size:427.38253784000005453px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;fill:none;fill-opacity:1;stroke:#000000;stroke-width:13.25054073000000088;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;font-family:Pothana2000;-inkscape-font-specification:Pothana2000 Bold Italic">s</tspan></text> + <path + style="fill:none;stroke:#000000;stroke-width:7.94055118;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + d="m 108.47153,566.34199 455.37721,56.21942" + id="path3763" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:7.94055118;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + d="M 123.54083,580.4743 122.44891,239.38003" + id="path3765" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#0000d8;stroke-width:12.91006279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 145.17362,536.45704 143.35948,-106.81689 46.84953,56.21941 52.47143,-33.73163 61.84136,10.30689 157.41436,-109.62788" + id="path3767" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:7.94055118;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + d="m 212.32197,585.89033 0,-14.30017" + id="path3769" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:7.94055118;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + d="m 319.24517,599.45787 0,-14.30017" + id="path3769-1" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:7.94055118;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + d="m 430.24429,612.62547 0,-14.30017" + id="path3769-1-9" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:7.94055118;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + d="m 542.31417,626.45933 0,-14.30017" + id="path3769-1-9-5" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:7.94055118;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 114.86736,419.60188 16.67183,2.05821" + id="path3763-1" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:7.94055118;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 114.3465,276.90224 16.6718,2.05821" + id="path3763-1-1" + inkscape:connector-curvature="0" /> + <text + xml:space="preserve" + style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Droid Sans;-inkscape-font-specification:Droid Sans" + x="292.24835" + y="878.08563" + id="text3882" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3884" + x="292.24835" + y="878.08563" + style="font-size:144px" /></text> + </g> +</svg> diff --git a/src/viz/index.js b/src/viz/index.js index 907e1bf..ee51064 100644 --- a/src/viz/index.js +++ b/src/viz/index.js @@ -1,8 +1,9 @@ var qintv_ms = 5000; var uripart = "/updates?"; //var lastfrom = ""; +var lastfrom="limit=12000"; //var lastfrom = "from="+(new Date(Date.now() - 10*60*1000)).toISOString(); -var lastfrom="?limit=120"; +//var lastfrom = "from="+(new Date(Date.now() - 10*60*1000)).toISOString()+"&limit=1000"; //console.log(lastfrom); //var possible_display_functions = {"Off":"none", "Value":showvalue, "Gauge":showgauge, "Graph":showasgraph}; var possible_display_functions = {"Off":"none", "Value":showvalue, "Graph":showasgraph}; |