Title: [266497] trunk/Websites/webkit.org
Revision
266497
Author
j...@apple.com
Date
2020-09-02 18:04:44 -0700 (Wed, 02 Sep 2020)

Log Message

Add an STP callout to Web Inspector documentation
https://bugs.webkit.org/show_bug.cgi?id=216105

Reviewed by Devin Rousso.

* wp-content/themes/webkit/single-web_inspector_page.php:
* wp-content/themes/webkit/style.css:
(article .meta .icon):

Modified Paths

Diff

Modified: trunk/Websites/webkit.org/ChangeLog (266496 => 266497)


--- trunk/Websites/webkit.org/ChangeLog	2020-09-02 23:58:08 UTC (rev 266496)
+++ trunk/Websites/webkit.org/ChangeLog	2020-09-03 01:04:44 UTC (rev 266497)
@@ -1,3 +1,14 @@
+2020-09-02  Jon Davis  <j...@apple.com>
+
+        Add an STP callout to Web Inspector documentation
+        https://bugs.webkit.org/show_bug.cgi?id=216105
+
+        Reviewed by Devin Rousso.
+
+        * wp-content/themes/webkit/single-web_inspector_page.php:
+        * wp-content/themes/webkit/style.css:
+        (article .meta .icon):
+
 2020-08-24  Jon Davis  <j...@apple.com>
 
         Disable unused RPC services

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/single-web_inspector_page.php (266496 => 266497)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/single-web_inspector_page.php	2020-09-02 23:58:08 UTC (rev 266496)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/single-web_inspector_page.php	2020-09-03 01:04:44 UTC (rev 266497)
@@ -1,4 +1,5 @@
 <?php get_header();
+$revision = get_post_meta(get_the_ID(), 'updated-for-stp', true);
 if (have_posts()) : while (have_posts()) : the_post(); ?>
     <article class="page<?php if ( has_table_of_contents() ) echo ' with-toc';?>" id="post-<?php the_ID(); ?>">
 
@@ -14,6 +15,10 @@
         </div>
 
         <div class="meta">
+            <hr>
+            <p><img src="" width="51" height="51" class="icon">
+            Updated for <a href="" Technology Preview</a><?php echo empty($revision) ? '' : " $revision"; ?>. Try it out for the latest Web Inspector features, including all of the above and more.</p>
+            <hr>
             <p class="written">Written <?php the_date(); ?> by <?php the_author() ?></p>
             <p class="updated">Last updated <?php the_modified_date(); ?> by <?php the_modified_author(); ?></p>
         </div>

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


--- trunk/Websites/webkit.org/wp-content/themes/webkit/style.css	2020-09-02 23:58:08 UTC (rev 266496)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/style.css	2020-09-03 01:04:44 UTC (rev 266497)
@@ -1619,6 +1619,11 @@
     text-transform: uppercase;
 }
 
+article .meta .icon {
+    float: left; 
+    margin-right: 1em;
+}
+
 article .two-columns {
     columns: 2;
     column-gap: 6rem;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to