Ver código fonte

Merge branch 'master' into TabsToSpaces

Josh Smith 7 anos atrás
pai
commit
b14bb7e76d
5 arquivos alterados com 6 adições e 5 exclusões
  1. 2 1
      README.md
  2. 1 1
      index.html.tmpl
  3. 1 1
      text.php.tmpl
  4. 1 1
      week.html.tmpl
  5. 1 1
      year.html.tmpl

+ 2 - 1
README.md

@@ -12,6 +12,7 @@ Sofaskin V1.1 is developed by Sven at Neoground: http://neoground.com/projects/w
 - Added code from the dajda.net to produce history tables.The historygenerator.py script must be added to WeeWx in order for the - tables to work.
 - Created a PHP page template to view the NOAA climate text files.
 - Add warning if the weather data is old (more than 30 min old). (Written by Björn Torkelsson) 
+- Replaced javascript code in the web camera section of index.html with CSS slideshow to allow for more than two web cameras
 
 <b>Responsive Menu:</b><br>
 I added a better responsive menu system that would use less vertical space on smaller screen sizes.
@@ -40,7 +41,7 @@ skin = Sofaskin
 You also need to put the historygenerator.py python script, in the /usr/share/weewx/user directory. The skin.conf already has the code to use the tables so you don’t need to mess with that unless you want to change the colors. More information on historygenerator.py and how to use the tables is available through the links below.
 https://github.com/brewster76/fuzzy-archer/blob/master/INSTALL
 
-IMPORTANT:
+<b>IMPORTANT:</b>
 You should update the variables in the EXTRA section of the skin.conf file to match your station information. Example section below:
 
 [Extras]

+ 1 - 1
index.html.tmpl

@@ -821,7 +821,7 @@
           Sofaskin by <a href="http://blauesledersofa.de">Blaues Ledersofa</a>
           &sdot;
           CW9009 Version by <a href="http://cw9009.x10host.com">JDS</a>
-          <br>
+          &sdot;
           Powered by<i class="fa fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a> 
         </div>
       </div>

+ 1 - 1
text.php.tmpl

@@ -13,7 +13,7 @@
       }
       
       //Get labels for meta and page titles
-      \$labels = split("[-.]", \$report);
+      \$labels = preg_split("/[\s-.]/", \$report);
       \$count = count(\$labels);
       
       if (\$count == 3){

+ 1 - 1
week.html.tmpl

@@ -572,7 +572,7 @@
           Sofaskin by <a href="http://blauesledersofa.de">Blaues Ledersofa</a>
           &sdot;
           CW9009 Version by <a href="http://cw9009.x10host.com">JDS</a>
-          <br>
+          &sdot;
           Powered by<i class="fa fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a> 
         </div>
       </div>

+ 1 - 1
year.html.tmpl

@@ -436,7 +436,7 @@
           Sofaskin by <a href="http://blauesledersofa.de">Blaues Ledersofa</a>
           &sdot;
           CW9009 Version by <a href="http://cw9009.x10host.com">JDS</a>
-          <br>
+          &sdot;
           Powered by<i class="fa fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a> 
         </div>
       </div>