Commit Graph

27 Commits

Author SHA1 Message Date
admin a596ee557e Address on markers and on graph
public/javascripts/chart_utilities.js
   - add address in #addSensorID'
   - function 'addAddress' added

public/javascripts/datetime.js
   - removed unnecessary comment

public/javascripts/global.js
   - refreshrate changed to 5 min
   - typo 'autohide' corrected

views/index.pug
   - removed text 'only for live ...'

views/layout.pug
   - removed superflous links and variables

public/javascripts/maps.js
   - added address to marker popup

charts/preparecharts.js
   - translate legend texts

public/javascripts/showcharts.js
   - dont show selected tab

public/stylesheets/style.sass
   - add style for sensornumber on chart

loclae/[de|en]/translation.json
    - added translations for legend

charts/utilities.js
   - ymax for live set to 120
2023-06-02 17:16:12 +02:00
admin c32761ed46 multiple changes WIP WIP NIT WORKING 2023-06-01 15:55:04 +02:00
admin b485c08227 Autorefresh
public/javascripts/datetiume.js
   - added parameter 'params'
   - refresh all graphics aftter refreshrate

public/javascripts/global.js
   - call showDate with params
2023-05-24 23:00:15 +02:00
admin 3921a889a2 Using and showing always local time
routes/api.js
   - console.log deleted

public/javascripts/global.js
   - made 'params' to const
   - added setNoUTC in main

public/javascripts/showcharts.js
   - added setNiUTC to set global at highcharts

package.json
   - added luxon
     "version": "3.0.4",
     "date": "2023-04-24 18:00 UTC",
2023-05-24 19:45:12 +02:00
admin 4cea325f56 Settings split according to chart
routes/api.js
   - check type of sensor
   - translate error message

app.js
   - debug = false at i18n

public/javascripts/chart_utilities.js
   - setter/getter for current Tab

public/javascripts/global.js
   - settings dialog completely rearranged
   - if only sensorid is given, check type

routes/index.js
   - set language to global variable

views/index.pug
   - reaggange settings dialog
   - translate 'Error'

views/layout.pug
   - load new datepicker (vanillajs-datepicker)

public/javascripts/map.js
   - fetching from server refactored to function
   - reenable tabs after leaving map

charts/preparecharts
   - typo

public/javascripts/showcharts.js
   - loadAll extended to  load also live and map

public/stylesheets/style.sass
   - a few changes for settinds dialog

locales/[de|en]
   - added a few words

charts/utilities.js
   - setter and getter for language
2023-05-09 16:10:07 +02:00
admin 58e25bf468 Added week to settings 2023-04-21 17:31:39 +02:00
admin 7763c1e43d Language switching possiple in every tab
app.js
   - german as fallback language

public/javascripts/global.js and map.js
   - language select possible in every tab

views/index.pug
   - changed order of de / en

localse/dev/translation.json
   - is a copy of de

package.json
  "version": "3.0.3",
  "date": "2023-04-21 14:00 UTC",
2023-04-21 15:47:19 +02:00
admin 6f2e676359 Language switching works
app.js
   - call to index.js changed

public/javascripts/global.js
   - no more show version
   - no more 'showReset

routes/index.js
   - added 'translate'-function

views/index.pug
   - texts changed for translation

views/layout.pug
   - show version and date

public/javascripts/map.js
   - added text from server

charts/preparecharts.js
   - translate texts

locales/[en|de]/translation.json
   - new translations

charts/urils.js
   - added translations

package.json
  "version": "3.0.2",
   "date": "2023-04-19 11:00 UTC",
2023-04-19 13:07:08 +02:00
admin 0573c95179 *** WIP *** Language switching works
public/javascripts/checklang.js
   - better description in comment

views/chglang.pug
   - text for 'h1' changed

routers/index.js
   - more comment

views/index.pug
   - no more action on click at language

package.json
  "version": "3.0.1",
  "date": "2023-04-17 13:00 UTC",

public/stylesheets/style.sass
   - css for 'Loading' on first page

locales/en/translation.json
   - type
2023-04-17 15:04:37 +02:00
admin bf2aa26952 WIP **** WIP
funktioniert nur teilweise: Umschaltung auf en geht seltsamerwesie nicht
2023-04-12 12:43:03 +02:00
admin c8682aa713 showcharts: sensorid -> sid 2023-04-07 18:25:02 +02:00
admin abc05f177b Automatic refresh after change of settings
routes/api.js
   - check error on return from server

public/javascripts/global.js
   -  reload pages with new values after save at settings

public/javascripts/map.js
   - removed status.loaded=true after call to laodAll

public/javascripts/showcharts.js
   - also load live at loadAll
2023-04-07 18:09:24 +02:00
admin 22a6b9ab2c Prepare charts moved from api server to here
route/api.js
   - new distriputer fpr chart preparation

appp.js
   - removed unnecessary calls

public/javascripts/map.js
   - changed /char/... call to /api/... call

charts/preparecharts
   - added

charts/utilities.js
   - added

public/javascripts/showcharts.js
   - changed /char/... call to /api/... call

routes/users.js
   - deleted
2023-04-07 15:23:16 +02:00
admin 4918e6df47 deleted unneceesary files and references 2023-04-06 17:25:12 +02:00
admin 5fb78d4eb5 Added info table to live chart
public/javascripts/datetime.js
   - wrong call fixed

public/javascripts/global.js
   - direct call to live chart if sensorid is given

public/javascripts/showcharts.js
   - info table added

public/stylesheets/style.sass
   - style for infotabel
   - changed color vor nav tabs
2023-04-06 17:18:08 +02:00
admin 701b763bb1 Settings added
public/chart_utilities.js
   - showError with id

public/javascripts/global.js
   - save parameter fron settings

views/index.pug
    - add settings dialog

views/layout.pug
   - add flatpicker

public/javascripts/map.js
   - add error evaluation

public/javascripts/showcharts.js
   - error avelauation added

public/stylesheets/style.sass
   - add styles for settings dialog
2023-04-05 20:52:03 +02:00
admin 7a15817936 Peaks merged to havg/davh
index.pug
   - removed #dpeak1/#dpeak2

showcharts.js
   - removed second chart

public/stylesheets/style.sass
   - removed #dpeak1/2
   - ste height für char divs
2023-04-04 14:38:00 +02:00
admin 71a59fb9e8 *** WIP WIP *** load all charts in advance 2023-04-04 10:39:13 +02:00
admin 5082eb408f *** WIP WIP *** All charts work now 2023-04-02 15:34:49 +02:00
admin a1c1c93bc4 *** WIP WIP *** All charts work (mostly) 2023-03-31 17:38:55 +02:00
admin 1cdf03b064 *** WIP WIP *** woks now for live and havg 2023-03-27 09:55:55 +02:00
admin 9acf053b18 WIP WIP 2023-03-25 19:43:26 +01:00
admin d10b274fe0 First running version 2023-03-24 13:49:54 +01:00
admin be8d364116 Live Chart woks 2023-03-20 20:01:26 +01:00
admin 586b2641e2 *** WIP WIP *** same more changes ! 2023-03-17 17:38:19 +01:00
admin 0a89e05329 WIP WIP WIP *** Now with tabs 2023-03-15 16:08:33 +01:00
admin b270370105 WIP WIP WIP ** first git - markers work as expected 2023-03-14 17:34:48 +01:00