]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Fri, 31 Jan 2020 09:21:56 +0000 (10:21 +0100)
committerVincent <vincent@enhydra.fr>
Fri, 31 Jan 2020 09:21:56 +0000 (10:21 +0100)
.idea/workspace.xml
scripts/lib/weatherstation.php

index d7fc086a4de3155674fb41c93f4858a231246766..29022c2630a05027a9cef414386f367749567164 100644 (file)
@@ -4,8 +4,6 @@
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/scripts/lib/weatherstation.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/weatherstation.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/style/weatherstation.css" beforeDir="false" afterPath="$PROJECT_DIR$/style/weatherstation.css" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/style/weatherstation.less" beforeDir="false" afterPath="$PROJECT_DIR$/style/weatherstation.less" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1580059999939" duration="6428000" />
       <workItem from="1580372411103" duration="5070000" />
       <workItem from="1580457212034" duration="1914000" />
-      <workItem from="1580459154087" duration="2613000" />
-    </task>
-    <task id="LOCAL-00238" summary=".">
-      <created>1571598034347</created>
-      <option name="number" value="00238" />
-      <option name="presentableId" value="LOCAL-00238" />
-      <option name="project" value="LOCAL" />
-      <updated>1571598034347</updated>
+      <workItem from="1580459154087" duration="2861000" />
     </task>
     <task id="LOCAL-00239" summary=".">
       <created>1571599059012</created>
       <option name="project" value="LOCAL" />
       <updated>1580460969815</updated>
     </task>
-    <option name="localTasksCounter" value="287" />
+    <task id="LOCAL-00287" summary=".">
+      <created>1580462356159</created>
+      <option name="number" value="00287" />
+      <option name="presentableId" value="LOCAL-00287" />
+      <option name="project" value="LOCAL" />
+      <updated>1580462356159</updated>
+    </task>
+    <option name="localTasksCounter" value="288" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
     </state>
     <state x="720" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1577298128269" />
     <state x="960" y="247" key="#com.intellij.openapi.updateSettings.impl.PluginUpdateInfoDialog/0.0.2560.1040@0.0.2560.1040" timestamp="1580459136096" />
-    <state x="935" y="114" key="CommitChangelistDialog2" timestamp="1580460948439">
+    <state x="935" y="114" key="CommitChangelistDialog2" timestamp="1580462343000">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
     <state x="701" y="114" key="CommitChangelistDialog2/0.0.1920.1040@0.0.1920.1040" timestamp="1577381105204" />
     <state x="701" y="127" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1575647157027" />
-    <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1580460948439" />
+    <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1580462343000" />
     <state x="92" y="92" width="2376" height="856" key="DiffContextDialog" timestamp="1580377344165">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
index 263b966e53f70f8f99019aa791bb15207be65d2f..49f73d2773f4cdc7495d91b6121a8ca710f4bc79 100644 (file)
@@ -84,9 +84,9 @@ function _curve($weather, $curve)
 
     $res = '<div class="curve curve-' . $curve . '">';
     $res .= '<div class="astre" style="transform: rotate(' . $sunangle . 'deg)"><img src="' . $icon . '" width="20" height="20" style="transform: rotate(' . (-$sunangle) . 'deg)" /></div>';
-    if($curve==='sun') {
-        $res .= '<div class="orbit earth" style="background-image:url(\'/images/earth.png?j=' . time() . '\'"></div>';
-    }else{
+    if ($curve === 'sun') {
+        $res .= '<div class="orbit earth" style="background-image:url(\'/images/earth.png?j=' . filemtime(ROOT . '/images/earth.png') . '\'"></div>';
+    } else {
         $res .= '<div class="orbit"></div>';
     }
     $res .= '<div class="horizon" style="top:' . ($sunrisePos['y'] + 3) . 'px;"></div>';