1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2025-03-13 12:17:36 +00:00
This commit is contained in:
Steffo 2020-08-29 04:47:49 +02:00
parent dbb694cc3c
commit c8b30e0059
25 changed files with 38 additions and 29 deletions

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
/*! For license information please see bundle.291c0.esm.js.LICENSE.txt */

3
docs/bundle.49acc.js generated

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3
docs/bundle.abac4.esm.js generated Normal file

File diff suppressed because one or more lines are too long

1
docs/bundle.abac4.esm.js.LICENSE.txt generated Normal file
View file

@ -0,0 +1 @@
/*! For license information please see bundle.abac4.esm.js.LICENSE.txt */

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.291c0.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.abac4.esm.js","sourceRoot":""}

3
docs/bundle.b2c46.js generated Normal file

File diff suppressed because one or more lines are too long

1
docs/bundle.b2c46.js.map generated Normal file

File diff suppressed because one or more lines are too long

2
docs/index.html generated
View file

@ -1 +1 @@
<!DOCTYPE html><html lang="it"><head><meta charset="utf-8"><title>appuntiweb</title><meta content="width=device-width,initial-scale=1" name="viewport"><link href="/favicon.ico" rel="icon" type="image/x-icon"><link href="/favicon.ico" rel="shortcut icon" type="image/x-icon"><style>body{background-color:#0d193b}</style><link rel="manifest" href="/manifest.json"><link href="/bundle.724d1.css" rel="preload" as="style"><noscript><link rel="stylesheet" href="/bundle.724d1.css"></noscript><script>function $loadcss(u,m,l){(l=document.createElement('link')).rel='stylesheet';l.href=u;document.head.appendChild(l)}$loadcss("/bundle.724d1.css")</script></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.291c0.esm.js" type="module"></script><script nomodule="" src="/polyfills.7db06.js"></script><script nomodule="" defer="defer" src="/bundle.49acc.js"></script></body></html>
<!DOCTYPE html><html lang="it"><head><meta charset="utf-8"><title>appuntiweb</title><meta content="width=device-width,initial-scale=1" name="viewport"><link href="/favicon.ico" rel="icon" type="image/x-icon"><link href="/favicon.ico" rel="shortcut icon" type="image/x-icon"><style>body{background-color:#0d193b}</style><link rel="manifest" href="/manifest.json"><link href="/bundle.724d1.css" rel="preload" as="style"><noscript><link rel="stylesheet" href="/bundle.724d1.css"></noscript><script>function $loadcss(u,m,l){(l=document.createElement('link')).rel='stylesheet';l.href=u;document.head.appendChild(l)}$loadcss("/bundle.724d1.css")</script></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.abac4.esm.js" type="module"></script><script nomodule="" src="/polyfills.21065.js"></script><script nomodule="" defer="defer" src="/bundle.b2c46.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"polyfills.15b25.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"polyfills.9a719.esm.js","sourceRoot":""}

View file

@ -1 +1 @@
{"/":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1}},"/AlgoritmiEStruttureDati":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-AlgoritmiEStruttureDati.chunk.e6f90.esm.js":{"type":"script","weight":0.9}},"/ApprendimentoSistemiArtificiali":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-ApprendimentoSistemiArtificiali.chunk.857ce.esm.js":{"type":"script","weight":0.9},"route-ApprendimentoSistemiArtificiali.chunk.55de3.css":{"type":"style","weight":0.9}},"/BasiDiDati":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-BasiDiDati.chunk.f1dc7.esm.js":{"type":"script","weight":0.9},"route-BasiDiDati.chunk.1d0a7.css":{"type":"style","weight":0.9}},"/CalcoloNumerico":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-CalcoloNumerico.chunk.c0a6d.esm.js":{"type":"script","weight":0.9},"route-CalcoloNumerico.chunk.8f997.css":{"type":"style","weight":0.9}},"/Fisica":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-Fisica.chunk.e2766.esm.js":{"type":"script","weight":0.9},"route-Fisica.chunk.ed9a8.css":{"type":"style","weight":0.9}},"/Home":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-Home.chunk.d3981.esm.js":{"type":"script","weight":0.9},"route-Home.chunk.b342d.css":{"type":"style","weight":0.9}},"/MingwInstall":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-MingwInstall.chunk.1eacd.esm.js":{"type":"script","weight":0.9}},"/NetLogo":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-NetLogo.chunk.18d97.esm.js":{"type":"script","weight":0.9},"route-NetLogo.chunk.1d0a7.css":{"type":"style","weight":0.9}},"/OttimizzazioneLineare":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-OttimizzazioneLineare.chunk.b7c6f.esm.js":{"type":"script","weight":0.9},"route-OttimizzazioneLineare.chunk.99830.css":{"type":"style","weight":0.9}},"/RipassoDiAlgebraLineare":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-RipassoDiAlgebraLineare.chunk.10651.esm.js":{"type":"script","weight":0.9},"route-RipassoDiAlgebraLineare.chunk.1d0a7.css":{"type":"style","weight":0.9}},"/Statistica":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-Statistica.chunk.68267.esm.js":{"type":"script","weight":0.9},"route-Statistica.chunk.9d494.css":{"type":"style","weight":0.9}},"/VlDiGeometria":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.291c0.esm.js":{"type":"script","weight":1},"route-VlDiGeometria.chunk.56154.esm.js":{"type":"script","weight":0.9}}}
{"/":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1}},"/AlgoritmiEStruttureDati":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-AlgoritmiEStruttureDati.chunk.e6f90.esm.js":{"type":"script","weight":0.9}},"/ApprendimentoSistemiArtificiali":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-ApprendimentoSistemiArtificiali.chunk.857ce.esm.js":{"type":"script","weight":0.9},"route-ApprendimentoSistemiArtificiali.chunk.55de3.css":{"type":"style","weight":0.9}},"/BasiDiDati":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-BasiDiDati.chunk.f1dc7.esm.js":{"type":"script","weight":0.9},"route-BasiDiDati.chunk.1d0a7.css":{"type":"style","weight":0.9}},"/CalcoloNumerico":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-CalcoloNumerico.chunk.2a191.esm.js":{"type":"script","weight":0.9},"route-CalcoloNumerico.chunk.8f997.css":{"type":"style","weight":0.9}},"/Fisica":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-Fisica.chunk.e2766.esm.js":{"type":"script","weight":0.9},"route-Fisica.chunk.ed9a8.css":{"type":"style","weight":0.9}},"/Home":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-Home.chunk.d3981.esm.js":{"type":"script","weight":0.9},"route-Home.chunk.b342d.css":{"type":"style","weight":0.9}},"/MingwInstall":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-MingwInstall.chunk.1eacd.esm.js":{"type":"script","weight":0.9}},"/NetLogo":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-NetLogo.chunk.18d97.esm.js":{"type":"script","weight":0.9},"route-NetLogo.chunk.1d0a7.css":{"type":"style","weight":0.9}},"/OttimizzazioneLineare":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-OttimizzazioneLineare.chunk.b7c6f.esm.js":{"type":"script","weight":0.9},"route-OttimizzazioneLineare.chunk.99830.css":{"type":"style","weight":0.9}},"/RipassoDiAlgebraLineare":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-RipassoDiAlgebraLineare.chunk.10651.esm.js":{"type":"script","weight":0.9},"route-RipassoDiAlgebraLineare.chunk.1d0a7.css":{"type":"style","weight":0.9}},"/Statistica":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-Statistica.chunk.68267.esm.js":{"type":"script","weight":0.9},"route-Statistica.chunk.9d494.css":{"type":"style","weight":0.9}},"/VlDiGeometria":{"bundle.724d1.css":{"type":"style","weight":1},"bundle.abac4.esm.js":{"type":"script","weight":1},"route-VlDiGeometria.chunk.56154.esm.js":{"type":"script","weight":0.9}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -204,4 +204,4 @@
0
\end{pmatrix}
`)))),l("li",null,"Calcoliamo ",l(o.h,null,sl(tl||(tl=ul`\alpha = V \cdot \gamma`))))),l(a.a,null,"Gli zeri nella ",l(o.h,null,sl(rl||(rl=ul`\gamma`)))," sono i gradi di libertà, sono zero in modo che essi diano la norma minima."))))}}).call(this,i("hosL").h)},zLC0:function(){}}]);
//# sourceMappingURL=route-CalcoloNumerico.chunk.c0a6d.esm.js.map
//# sourceMappingURL=route-CalcoloNumerico.chunk.2a191.esm.js.map

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-CalcoloNumerico.chunk.c0a6d.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-CalcoloNumerico.chunk.2a191.esm.js","sourceRoot":""}

2
docs/sw-esm.js generated

File diff suppressed because one or more lines are too long

2
docs/sw.js generated

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"private": true,
"name": "appuntiweb",
"version": "0.8.9",
"version": "0.8.10",
"license": "AGPL-3.0-or-later",
"scripts": {
"start": "preact watch --template src/template.html",

File diff suppressed because one or more lines are too long

View file

@ -2,20 +2,21 @@ import {BoxColors, CurrentPage, LatexRenderColor, Panel} from "bluelib";
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
import {faAdjust, faChevronRight, faClock, faExclamationTriangle, faPrint} from "@fortawesome/free-solid-svg-icons";
import Router from "preact-router";
import {useContext} from "preact/hooks";
import {useContext, useState} from "preact/hooks";
export default function(props) {
const currentPage = useContext(CurrentPage);
const latexColor = useContext(LatexRenderColor);
const [supported, setSupported] = useState(true);
if(currentPage === "/") {
return null;
}
if(window.print === undefined) {
if(window.print === undefined || !supported) {
return (
<Panel color={BoxColors.ORANGE}>
<FontAwesomeIcon icon={faExclamationTriangle}/> La stampa della pagina non è supportata su questo browser.
<FontAwesomeIcon icon={faExclamationTriangle}/> Le funzionalità di stampa non sembra essere supportata su questo browser.
</Panel>
)
}
@ -29,6 +30,14 @@ export default function(props) {
}
}
function printPage() {
try {
window.print();
} catch (e) {
setSupported(false);
}
}
return (
<Panel color={BoxColors.CYAN}>
Per stampare:&nbsp;
@ -40,7 +49,7 @@ export default function(props) {
&nbsp;
<FontAwesomeIcon icon={faChevronRight}/>
&nbsp;
<button onClick={window.print}><FontAwesomeIcon icon={faPrint}/> Stampa</button>
<button onClick={printPage}><FontAwesomeIcon icon={faPrint}/> Stampa</button>
</Panel>
)
}