diff app/view/Viewport.js @ 693:817524db4017

Readonly was missing
author Dustin Demuth <dustin@intevation.de>
date Thu, 26 Mar 2015 15:54:50 +0100
parents d47ee7439f44
children b400629a2575
line wrap: on
line diff
--- a/app/view/Viewport.js	Thu Mar 26 14:13:47 2015 +0100
+++ b/app/view/Viewport.js	Thu Mar 26 15:54:50 2015 +0100
@@ -44,7 +44,20 @@
                             items: [{
                                 text: 'About',
                                 action: 'about'
-                            }]
+                            }, {
+                                text: 'Zeit',
+                                handler: function(){
+                                    thetime = new Date();
+                                    Ext.Msg.alert("Zeit", "Laut Ihrer lokalen Systemuhr ist es\n"+
+                                            thetime.toString() + "\n\n" +
+                                          "Das entspricht der Serverzeit:\n" +
+                                            thetime.toUTCString() + "\n\n" +
+                                          "Alle Messwerte werden in GMT/UTC auf dem Server gespeichert. " + 
+                                          "Ihr Webbrowser rechnet diese automatisch um."
+                                         );
+                                }
+                            }
+                            ]
                         }
                     }, '->', {
                         xtype: 'box',

http://lada.wald.intevation.org