Title: [198820] trunk/Websites/webkit.org
Revision
198820
Author
j...@apple.com
Date
2016-03-29 19:18:56 -0700 (Tue, 29 Mar 2016)

Log Message

Fixed a context error for Nightly Build sync plugin, tightens layout styles for abovetitle

Modified Paths

Diff

Modified: trunk/Websites/webkit.org/ChangeLog (198819 => 198820)


--- trunk/Websites/webkit.org/ChangeLog	2016-03-30 02:02:47 UTC (rev 198819)
+++ trunk/Websites/webkit.org/ChangeLog	2016-03-30 02:18:56 UTC (rev 198820)
@@ -1,5 +1,18 @@
 2016-03-29  Jon Davis  <j...@apple.com>
 
+        Fixed a context error for Nightly Build sync plugin, tightens layout styles for abovetitle
+        https://bugs.webkit.org/show_bug.cgi?id=155989
+
+        Unreviewed fix for the Sync Nightly Builds plugin to work with the older 
+        PHP environment on the server. Quick style adjustments for abovetitle images.
+
+        * wp-content/plugins/sync-nightly-builds.php: 
+        * wp-content/themes/webkit/nightly-archives.php: 
+        * wp-content/themes/webkit/style.css:
+        (article .abovetitle):
+
+2016-03-29  Jon Davis  <j...@apple.com>
+
         Add WebKit Nightly Archives, WebKit Nightly Start, and Downloads pages
         https://bugs.webkit.org/show_bug.cgi?id=155989
 

Modified: trunk/Websites/webkit.org/wp-content/plugins/sync-nightly-builds.php (198819 => 198820)


--- trunk/Websites/webkit.org/wp-content/plugins/sync-nightly-builds.php	2016-03-30 02:02:47 UTC (rev 198819)
+++ trunk/Websites/webkit.org/wp-content/plugins/sync-nightly-builds.php	2016-03-30 02:18:56 UTC (rev 198820)
@@ -34,11 +34,12 @@
         $this->uploads_dir = trailingslashit($upload_dir_info['basedir']);
 
         add_action('update_webkit_nightly_builds', function () {
-            foreach ($this->archives as $endpoint => $filename) {
+            $SyncBuild = SyncWebKitNightlyBuilds::object();
+            foreach ($SyncBuild->archives as $endpoint => $filename) {
                 // Download a copy of the archives
                 $url = "" $endpoint);
 
-                if (!copy($url, $this->uploads_dir. $filename))  {
+                if (!copy($url, $SyncBuild->uploads_dir. $filename))  {
                     error_log("Couldn't download the $filename archive index. ({$errors['type']}) {$errors['message']}");
                 }
             }

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-archives.php (198819 => 198820)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-archives.php	2016-03-30 02:02:47 UTC (rev 198819)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/nightly-archives.php	2016-03-30 02:18:56 UTC (rev 198820)
@@ -40,13 +40,8 @@
 <style>
 #archives h1 {
     text-align: center;
-    margin-top: 3rem;
 }
 
-#archives h1 img {
-    margin-bottom: 1rem;
-}
-
 #downloads blockquote:first-child {
     color: #8E8E93;
     text-align: center;

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/style.css (198819 => 198820)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/style.css	2016-03-30 02:02:47 UTC (rev 198819)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/style.css	2016-03-30 02:18:56 UTC (rev 198820)
@@ -1077,7 +1077,7 @@
 }
 
 article .abovetitle {
-    margin-bottom: 0.8em;
+    margin-top: -0.4em;
 }
 
 article .pull-left {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to