From 4655c8cfdeb75538d910f4ff0c2528fb9683e6f7 Mon Sep 17 00:00:00 2001
From: Tom Keffer What follows are directions for upgrading from specific versions. Version 1.14 introduces some new webpages that have been expressly formatted for
-the smartphone, using jQuery.V1.13 or earlier
The skins shipped with the distribution take advantage of these features. If -you do nothing, your old skins will continue to work, but you will not take +you do nothing, your old skins will continue to work, but you will not be taking advantage of these new webpages.
-If you want these new webpages, then you have two choices:
+If you want them, then you have two choices:
Replace the section that looks like
+After the section that looks like
[[[Mobile]]]
template = mobile.html.tmpl
-with a section that looks like
-[[[Mobile]]] +diff --git a/skins/Standard/skin.conf b/skins/Standard/skin.conf index c663f45d..87a04b99 100644 --- a/skins/Standard/skin.conf +++ b/skins/Standard/skin.conf @@ -244,6 +244,9 @@ template = RSS/weewx_rss.xml.tmpl [[[Mobile]]] + template = mobile.html.tmpl + + [[[MobileSmartphone]]] template = mobile/index.html.tmpl [[[MobileTempOutside]]] diff --git a/weewx.conf b/weewx.conf index ca180631..6e369fc7 100644 --- a/weewx.conf +++ b/weewx.conf @@ -29,7 +29,7 @@ debug = 0 socket_timeout = 20 # Current version -version = 1.14.0b1 +version = 1.14.0b2 ############################################################################################add the following directives:
+[[[MobileSmartphone]]] template = mobile/index.html.tmpl [[[MobileTempOutside]]] @@ -73,7 +73,9 @@ to add the highlighted files: copy_once = backgrounds/*, weewx.css, mobile.css, favicon.ico, mobile/icons/*, mobile/custom.jsWhichever approach you chose, the generated files will appear in public_html/mobile. The start of the document root -will be at public_html/mobile/index.html.
+will be at public_html/mobile/index.html. You may want +to add a link to this in the template for your main index page +skins/Standard/index.html.tmpl.V1.12 or earlier
Version 1.13 changed the way binding happens to the databases used in reports so that it happens much later. The upshot is that the signature of a few diff --git a/skins/Standard/index.html.tmpl b/skins/Standard/index.html.tmpl index 7b690a20..b89d58c1 100644 --- a/skins/Standard/index.html.tmpl +++ b/skins/Standard/index.html.tmpl @@ -309,7 +309,8 @@ fast, and easy to understand by leveraging modern software concepts.
- + +Weewx uptime: $station.uptime
diff --git a/skins/Standard/mobile/index.html.tmpl b/skins/Standard/mobile/index.html.tmpl index 21a5b383..8a1bf214 100644 --- a/skins/Standard/mobile/index.html.tmpl +++ b/skins/Standard/mobile/index.html.tmpl @@ -29,7 +29,7 @@
Server uptime: $station.os_uptime
weewx v$station.version