Browse Source

further localized

master
Bernd-René Predota 4 years ago
parent
commit
ba7be85fc7
  1. 1
      .env
  2. 2
      src/App.css
  3. 4
      src/App.js
  4. 8
      src/components/expense-list/ExpenseList.css
  5. 39
      src/service-worker.js

1
.env

@ -1 +1,2 @@
PORT=8080
REACT_APP_SHEET_ID=1TT4oJ7B_Lq4quyizxK2DxGR_qhYtaG4Mn40j2MNpB6EN

2
src/App.css

@ -21,7 +21,7 @@ button.mdc-toolbar__icon {
.mdc-card__title {
margin: 0.5em 0;
font-size: 200%;
color: #20b1d6;
color: #55b223;
}
.mdc-card__supporting-text {
color: #7a7a7a;

4
src/App.js

@ -212,8 +212,8 @@ class App extends Component {
.batchGet({
spreadsheetId: this.spreadsheetId,
ranges: [
"Data!A2:A50",
"Data!E2:E50",
"Data!A2:A52",
"Data!E2:E52",
"Expenses!A2:F",
"Current!H1",
"Previous!H1"

8
src/components/expense-list/ExpenseList.css

@ -16,16 +16,16 @@
background: rgb(85, 178, 35);
}
.Auto, .Transport, .Tanken {
background: rgb(242, 60, 0);
background: rgb(242, 0, 202);
}
.Hobbies {
background: rgb(39, 70, 211);
background: rgb(0, 0, 255);
}
.Kleidung, .Shopping, Drogerie {
.Kleidung, .Shopping, .Drogerie {
background: rgb(0, 183, 224);
}
.Übernachtung, .Restaurant {
background: rgb(214, 214, 0);
background: rgb(255, 255, 0);
}
.Gesundheit {
background: rgb(242, 60, 0);

39
src/service-worker.js

@ -0,0 +1,39 @@
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.f70ee0a9d5aa18a1a936e57fee2de7cf.js"
);
self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});
workbox.core.clientsClaim();
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), {
blacklist: [/^\/_/,/\/[^\/?]+\.[^\/]+$/],
});
Loading…
Cancel
Save