Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
Letzte ÜberarbeitungBeide Seiten, nächste Überarbeitung
daten:start [2018/09/07 16:28] djangodaten:start [2018/09/07 16:42] – [Messwertdarstellungen - Test 2] django
Zeile 49: Zeile 49:
 <WRAP column 47%> {{  :wview:ueberlappt.png?nolink&333  }}</WRAP> <WRAP column 47%> {{  :wview:ueberlappt_2.png?nolink&333  }}</WRAP> <WRAP column 47%> {{  :wview:ueberlappt.png?nolink&333  }}</WRAP> <WRAP column 47%> {{  :wview:ueberlappt_2.png?nolink&333  }}</WRAP>
  
-<code text> 
-test 
-</code> 
  
 \\ \\
  
 +===== Archivdaten =====
 + 
  
 +<html>
 + <script language="JavaScript">
 +   function createDaySelect(name)
 +    {
 +     document.write("<select name=" + name + " size='1'>");
 +     var mydate = new Date();
 +     var myday = mydate.getDate();
 +     var daystring = "";
 +      for (var i = 1; i <= 31; ++i) {
 +       if(i<10) {
 + daystring = "0" + i;
 + document.write(daystring);
 +       } else {
 + daystring = i;
 + document.write(daystring);
 +       }
 +       if (myday == daystring) {
 + document.write("<option selected='selected' value='" + daystring + "'>" + daystring + "</option>");
 +       } else {
 + document.write("<option value='" + daystring + "'>" + daystring + "</option>");
 +       }
 +      }
 +     document.write("</select>");
 +    }
 +   function createMonthlySelect(name)
 +    {
 +     var month = new Array;
 +     month[0]="Januar";
 +     month[1]="Februar";
 +     month[2]="M&auml;rz";
 +     month[3]="April";
 +     month[4]="Mai";
 +     month[5]="Juni";
 +     month[6]="Juli";
 +     month[7]="August";
 +     month[8]="September";
 +     month[9]="Oktober";
 +     month[10]="November";
 +     month[11]="Dezember";
 +     var mydate = new Date();
 +     var mymonth = mydate.getMonth();
 +     var monthstring = "";
 +     document.write("<select name=" + name + " size='1'>");
 +      for (var i = 0; i < 12; ++i) {
 +       if(i<9) {
 + monthstring = "0" + (i+1);
 +       } else {
 + monthstring = i+1;
 +       }
 +       if(mymonth+1 == monthstring) {
 + document.write("<option selected='selected' value='" + monthstring + "'>" + month[i] + "</option>");
 +       } else {
 + document.write("<option value='" + monthstring + "'>" + month[i] + "</option>");
 +       }
 +      }
 +     document.write("</select>");
 +    }
 +   function createYearlySelect(name)
 +    {
 +     document.write("<select name=" + name + " size='1'>");
 +     document.write("<option selected='selected' value='2018'>2018</option>");
 +     document.write("<option value='2017'>2017</option>");
 +     document.write("<option value='2016'>2016</option>");
 +     document.write("<option value='2015'>2015</option>");
 +     document.write("<option value='2014'>2014</option>");
 +     document.write("<option value='2013'>2013</option>");
 +     document.write("<option value='2012'>2012</option>");
 +     document.write("<option value='2011'>2011</option>");
 +     document.write("<option value='2010'>2010</option>");
 +     document.write("<option value='2009'>2009</option>");
 +     document.write("<option value='2008'>2008</option>");
 +     document.write("<option value='2007'>2007</option>");
 +     document.write("</select>");
 +    }
 +   function openNoaaFile(month, year)
 +    {
 +     var url = "NOAA/NOAA-";
 +     url = url + year;
 +     if (month != '')
 +      {
 +       url = url + "-";
 +       url = url + month;
 +      }
 +     url = url + ".txt";
 +     window.location=url;
 +    }
 +   function openARCFile(day, month, year)
 +    {
 +     var url = "Archive/ARC-" + year + "-" + month + "-" + day + ".txt";
 +     window.location=url;
 +    }
 +   function openURL(urlname)
 +    {
 +     window.location=urlname;
 +    }
 +  </script>
 +</html>
 +
 +<html>
 +            <tr>
 +              <td>
 +               <table cellpadding="2" cellspacing="2" border="0" width="100%" height="30" align="center">
 +                <tbody>
 +                 <tr>
 +                  <td width="100%" align="center" valign="middle">
 +                   <font face="Tw Cen MT" color="#000000">
 +                    NOAA klimatische Zusammenfassung:&nbsp;
 +                   </font>
 +                   <script language="JavaScript">
 +                    createMonthlySelect("month");
 +                    createYearlySelect("year");
 +                   </script>
 +                   <input type="button" value="Monatsreport" onclick="openNoaaFile(this.form.month.value, this.form.year.value)">
 +                   <input type="button" value="Jahresreport" onclick="openNoaaFile('',this.form.year.value)">
 +                  </td>
 +                 </tr>
 +                 <tr>
 +                  <td width="100%" align="center" valign="middle">
 +                   <font face="Tw Cen MT" color="#000000">
 +                    Suche in Archivdaten:&nbsp;
 +                   </font>
 +                   <script language="JavaScript">
 +                    createDaySelect("day");
 +                    createMonthlySelect("month1");
 +                    createYearlySelect("year1");
 +                   </script>
 +                   <input type="button" value="Suche in Tagesdaten" onclick="openARCFile(this.form.day.value, this.form.month1.value, this.form.year1.value)">
 +                  </td>
 +                 </tr>
 +                 <tr>                
 +           <td align="center">
 +            <p>
 +             <br><b>Vorhersage:</b><br>
 +             Es wird teilweise wolkig und kühler werden. <br><br>
 +            </p>
 +           </td>
 +           <td align="center">
 +            <p>
 +             <img src="fc-icon-partlycloudy.gif">
 +                   </p>
 +                  </td>
 + </tr>
 +</html>