Spaces:
Running
Running
Deploy quotesprig to the hub
Browse files- quotesprig/index.html +2 -2
- quotesprig/sw.js +1 -1
quotesprig/index.html
CHANGED
|
@@ -282,10 +282,10 @@
|
|
| 282 |
</footer>
|
| 283 |
</main>
|
| 284 |
<div class="toast" id="toast" role="status" aria-live="polite" hidden></div>
|
| 285 |
-
<script>window.CMX_PRO={"id":"quotesprig","name":"Quotesprig","free":"all 8 calculators, the estimate builder, print and 3 estimate PDFs a month (with a small footer credit)","perks":["Unlimited estimate PDFs, no footer credit","Your logo on every PDF","Saved price book (materials + labour rates) and saved clients","Estimate history","Turn an estimate into an invoice PDF","Good / better / best options on one estimate","CSV export"],"plans":[{"offer":"st-quotesprig-pro-monthly","label":"Monthly","price":"$7","per":"/month","note":"Cancel any time"},{"offer":"st-quotesprig-pro-lifetime","label":"Lifetime","price":"$49","per":" once","note":"Pay once, keep forever","best":true}]};</script>
|
| 286 |
<script src="pro.js"></script>
|
| 287 |
<script src="calc.js"></script>
|
| 288 |
<script src="pdf.js"></script>
|
| 289 |
<script src="app.js"></script>
|
| 290 |
-
<
|
| 291 |
</html>
|
|
|
|
| 282 |
</footer>
|
| 283 |
</main>
|
| 284 |
<div class="toast" id="toast" role="status" aria-live="polite" hidden></div>
|
| 285 |
+
<script>window.CMX_PRO={"id":"quotesprig","name":"Quotesprig","free":"all 8 calculators, the estimate builder, print and 3 estimate PDFs a month (with a small footer credit)","perks":["Unlimited estimate PDFs, no footer credit","Your logo on every PDF","Saved price book (materials + labour rates) and saved clients","Estimate history","Turn an estimate into an invoice PDF","Good / better / best options on one estimate","CSV export"],"plans":[{"offer":"st-quotesprig-pro-pro-monthly","label":"Monthly","price":"$7","per":"/month","note":"Cancel any time"},{"offer":"st-quotesprig-pro-pro-lifetime","label":"Lifetime","price":"$49","per":" once","note":"Pay once, keep forever","best":true}]};</script>
|
| 286 |
<script src="pro.js"></script>
|
| 287 |
<script src="calc.js"></script>
|
| 288 |
<script src="pdf.js"></script>
|
| 289 |
<script src="app.js"></script>
|
| 290 |
+
</body>
|
| 291 |
</html>
|
quotesprig/sw.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
/* Quotesprig offline cache. (c) 2026 CyberMax. All rights reserved.
|
| 2 |
* Network first for pages (updates arrive quickly), cache first for same-scope static files. */
|
| 3 |
-
var CACHE = "quotesprig-
|
| 4 |
var FILES = ["./", "index.html", "style.css", "pro.js", "calc.js", "pdf.js", "app.js", "manifest.webmanifest", "icon.svg", "icon-192.png", "icon-512.png"];
|
| 5 |
self.addEventListener("install", function (e) {
|
| 6 |
e.waitUntil(caches.open(CACHE).then(function (c) { return c.addAll(FILES); }).then(function () { return self.skipWaiting(); }));
|
|
|
|
| 1 |
/* Quotesprig offline cache. (c) 2026 CyberMax. All rights reserved.
|
| 2 |
* Network first for pages (updates arrive quickly), cache first for same-scope static files. */
|
| 3 |
+
var CACHE = "quotesprig-v2";
|
| 4 |
var FILES = ["./", "index.html", "style.css", "pro.js", "calc.js", "pdf.js", "app.js", "manifest.webmanifest", "icon.svg", "icon-192.png", "icon-512.png"];
|
| 5 |
self.addEventListener("install", function (e) {
|
| 6 |
e.waitUntil(caches.open(CACHE).then(function (c) { return c.addAll(FILES); }).then(function () { return self.skipWaiting(); }));
|