[vlc-devel] [PATCH] Use alert on the nightly page

Marvin Scholz epirat07 at gmail.com
Tue Jun 28 22:12:06 CEST 2016


This makes the warning look more consistent with the overall design
and should still be eye-catching enough.
---
 nightlies.videolan.org/index.php      | 8 ++++----
 www.videolan.org/style/bootstrap.scss | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/nightlies.videolan.org/index.php b/nightlies.videolan.org/index.php
index f076d58..7309374 100644
--- a/nightlies.videolan.org/index.php
+++ b/nightlies.videolan.org/index.php
@@ -20,10 +20,10 @@
         <p>Here you can download experimental versions of VLC that are daily generated from the VLC code that is currently in development.<br/>Several issues that existed in previous versions of VLC might be fixed here, but since this version of VLC is not yet finished, you should expect other problems and issues.<br /></p>
     </div>
 
-    <span style="color: #ff0000; font-size: 16px;">WARNING: The nightly builds are UNSTABLE and may not work at all.
-    There is absolutely NO SUPPORT for it from the VideoLAN Team.
-    </span>
-
+    <div class="alert alert-warning" role="alert">
+        <strong>Warning!</strong> The nightly builds are <em>UNSTABLE</em> and may not work at all.
+        There is absolutely <em>NO SUPPORT</em> for it from the VideoLAN Team.
+    </div>
 
     <h2>Download nightly builds</h2>
     <p>You'll find the last development version in trunk-xxx directories, while branch-xxx directories contains bugfixes for the last released version.</p>
diff --git a/www.videolan.org/style/bootstrap.scss b/www.videolan.org/style/bootstrap.scss
index 2e6d4da..7268759 100644
--- a/www.videolan.org/style/bootstrap.scss
+++ b/www.videolan.org/style/bootstrap.scss
@@ -36,7 +36,7 @@
 //@import "bootstrap/badges";
 //@import "bootstrap/jumbotron";
 @import "bootstrap/thumbnails";
-//@import "bootstrap/alerts";
+ at import "bootstrap/alerts";
 //@import "bootstrap/progress-bars";
 @import "bootstrap/media";
 @import "bootstrap/list-group";
@@ -53,4 +53,4 @@
 
 // Utility classes
 @import "bootstrap/utilities";
- at import "bootstrap/responsive-utilities";
\ No newline at end of file
+ at import "bootstrap/responsive-utilities";
-- 
2.7.4 (Apple Git-66)



More information about the vlc-devel mailing list