Widget:Ncfetch: Difference between revisions

From Polyphasic Sleep Wiki
Created page with "<includeonly> <div style="padding:5px"> <div style="width:320px;height:320px;"> <canvas id="nc-<!--{$url|escape:'html'}-->" width:100%;height:100%;"></canvas></div></div> <scr..."
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="padding:5px">
<div style="width:320px;height:320px;">
<canvas id="nc-<!--{$url|escape:'html'}-->" width:100%;height:100%;"></canvas></div></div>
<script src="/napchart.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
<script>
fetch("https://cache.polysleep.org/napcharts/" + url)
fetch("https://cache.polysleep.org/napcharts/" + <!--{$id|escape:'html'}-->)
</script>
</script>
</includeonly>
</includeonly>