diff --git a/README.md b/README.md index db7a40c5..15fe83f3 100644 --- a/README.md +++ b/README.md @@ -560,7 +560,8 @@ More information will follow. * `title: ...` will be used as the title in the layout. * `alias: ...` (optional) a short alias for Bitcoin Core alerts. Ex. "dos" will produce /dos.html * `active: ...` (true or false) define if the alert should appear as ongoing in the network status page. -* `banner: ...` (optional) a short text that will be displayed in a red alert banner and link to the alert page. +* `banner: ...` (optional) a short text that will be displayed in an alert banner and link to the alert page. +* `bannerclass: ...` (optional) a CSS class that sets the color of the banner. Possible values: alert (default red), warning (orange), success (green), info (blue). * `last updated: ...` should be kept up to date and be in RFC 2822 format ( date -uR ). ## Wallets diff --git a/_alerts/2015-07-04-spv-mining.html b/_alerts/2015-07-04-spv-mining.html index 8d2f3ce1..fb4a83c8 100644 --- a/_alerts/2015-07-04-spv-mining.html +++ b/_alerts/2015-07-04-spv-mining.html @@ -3,6 +3,7 @@ title: "Some Miners Generating Invalid Blocks" alias: "spv-mining" active: true banner: "WARNING: many wallets currently vulnerable to double-spending of confirmed transactions (click here to read)" +bannerclass: "alert" --- {% capture markdown %}

This document is being updated as new information arrives. Last diff --git a/_layouts/base.html b/_layouts/base.html index cfb237fd..2a1acbc5 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -23,7 +23,7 @@

{% if site.ALERT %} -