Jelajahi Sumber

website: Add Saucelabs badges to uppy.io

Kevin van Zonneveld 9 tahun lalu
induk
melakukan
38a0eac694

+ 2 - 0
CHANGELOG.md

@@ -65,6 +65,8 @@ Scheduled to be released: June 03, 2016
 - [ ] test: Get IE4 on windows 3.11 to run Uppy and see it fall back to regular form upload (@arturi)
 - [ ] test: Get IE4 on windows 3.11 to run Uppy and see it fall back to regular form upload (@arturi)
 - [ ] test: Make Edge and Safari work via the tunnel so we can test localhost instead of uppy.io, and test the current build, vs the previous deploy that way
 - [ ] test: Make Edge and Safari work via the tunnel so we can test localhost instead of uppy.io, and test the current build, vs the previous deploy that way
 - [ ] website: scrollbars on code samples (can’t reproduce!) (@arturi)
 - [ ] website: scrollbars on code samples (can’t reproduce!) (@arturi)
+- [ ] website: Polish Saucelabs stats (social badge + stats layout) (@arturi)
+- [x] website: Add Saucelabs badges to uppy.io (@kvz)
 
 
 ## 0.0.5
 ## 0.0.5
 
 

+ 7 - 0
website/themes/uppy/layout/partials/social.ejs

@@ -8,4 +8,11 @@ allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"><
      <a href="https://travis-ci.org/transloadit/uppy"><img src="https://travis-ci.org/transloadit/uppy.svg" alt="Build Status"></a>
      <a href="https://travis-ci.org/transloadit/uppy"><img src="https://travis-ci.org/transloadit/uppy.svg" alt="Build Status"></a>
    </span>
    </span>
   </li>
   </li>
+  <li class="SauceBadge">
+   <span class="wrapper">     
+     <a href="https://saucelabs.com/u/transloadit-uppy">
+       <img src="https://saucelabs.com/buildstatus/transloadit-uppy" alt="Sauce Test Status"/>
+     </a>
+   </span>
+  </li>
 </ul>
 </ul>

+ 12 - 0
website/themes/uppy/layout/stats.ejs

@@ -50,6 +50,18 @@
       <a href="https://twitter.com/hughskennedy">Hugh Kennedy</a>’s excellent
       <a href="https://twitter.com/hughskennedy">Hugh Kennedy</a>’s excellent
       <a href="http://hughsk.io/disc/">disc</a>.
       <a href="http://hughsk.io/disc/">disc</a>.
 
 
+      <hr />
+
+      <h2>Browser support</h2>
+
+      <p>
+        This reflects the current state of Uppy and is updated with every change.
+      </p>
+
+      <a href="https://saucelabs.com/u/transloadit-uppy">
+        <img src="https://saucelabs.com/browser-matrix/transloadit-uppy.svg" alt="Sauce Test Status"/>
+      </a>
+
       <div class="footer">Caught a mistake or want to contribute to the documentation?
       <div class="footer">Caught a mistake or want to contribute to the documentation?
         <a href="https://github.com/transloadit/uppy/blob/master/website/src/<%- page.source %>" target="_blank">
         <a href="https://github.com/transloadit/uppy/blob/master/website/src/<%- page.source %>" target="_blank">
           Edit/fork this page directly on Github
           Edit/fork this page directly on Github