diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Alerts.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Alerts.cshtml
index d2356bf771..2081e091e5 100644
--- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Alerts.cshtml
+++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Alerts.cshtml
@@ -10,84 +10,269 @@
}
+@section scripts {
+
Based on Bootstrap Alert.
-++ ++ + +<abp-alert alert-type="Light"> + A simple light alert—check it out! +</abp-alert> +<abp-alert alert-type="Dark"> + A simple dark alert—check it out! +</abp-alert> ++<abp-alert alert-type="Primary"> + A simple primary alert—check it out! +</abp-alert> +<abp-alert alert-type="Secondary"> + A simple secondary alert—check it out! +</abp-alert> +<abp-alert alert-type="Success"> + A simple success alert—check it out! +</abp-alert> <abp-alert alert-type="Danger"> - I'm an abp alert! + A simple danger alert—check it out! +</abp-alert> +<abp-alert alert-type="Warning"> + A simple warning alert—check it out! +</abp-alert> +<abp-alert alert-type="Info"> + A simple info alert—check it out! </abp-alert> -
+<div class="alert alert-primary" role="alert">
+ A simple primary alert—check it out!
+</div>
+<div class="alert alert-secondary" role="alert">
+ A simple secondary alert—check it out!
+</div>
+<div class="alert alert-success" role="alert">
+ A simple success alert—check it out!
+</div>
+<div class="alert alert-danger" role="alert">
+ A simple danger alert—check it out!
+</div>
+<div class="alert alert-warning" role="alert">
+ A simple warning alert—check it out!
+</div>
+<div class="alert alert-info" role="alert">
+ A simple info alert—check it out!
+</div>
+<div class="alert alert-light" role="alert">
+ A simple light alert—check it out!
+</div>
+<div class="alert alert-dark" role="alert">
+ A simple dark alert—check it out!
+</div>
+
+ -<abp-alert alert-type="Warning" dismissible="true"> - I'm a dismissible abp alert! ++ ++ + +<abp-alert alert-type="Warning"> + A simple warning alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like. +</abp-alert> +<abp-alert alert-type="Info"> + A simple info alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like. +</abp-alert> +<abp-alert alert-type="Light"> + A simple light alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like. +</abp-alert> +<abp-alert alert-type="Dark"> + A simple dark alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like. +</abp-alert> ++<abp-alert alert-type="Primary"> + A simple primary alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like. +</abp-alert> +<abp-alert alert-type="Secondary"> + A simple secondary alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like. +</abp-alert> +<abp-alert alert-type="Success"> + A simple success alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like. +</abp-alert> +<abp-alert alert-type="Danger"> + A simple danger alert with <a abp-alert-link href="#">an example link</a>. Give it a click if you like. </abp-alert> -
+<div class="alert alert-primary" role="alert">
+ A simple primary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-secondary" role="alert">
+ A simple secondary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-success" role="alert">
+ A simple success alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-danger" role="alert">
+ A simple danger alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-warning" role="alert">
+ A simple warning alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-info" role="alert">
+ A simple info alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-light" role="alert">
+ A simple light alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+<div class="alert alert-dark" role="alert">
+ A simple dark alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
+</div>
+
+ Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.
+Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
-<abp-alert alert-type="Info"> - I'm an abp alert with <a abp-alert-link href="#">Link</a>! ++ ++ + ++<abp-alert alert-type="Success"> + <h4>Well done!</h4> + <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p> + <hr> + <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p> </abp-alert> -
+<div class="alert alert-success" role="alert">
+ <h4 class="alert-heading">Well done!</h4>
+ <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
+ <hr>
+ <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
+</div>
+
+ -<abp-alert alert-type="Primary"> - <h4>Header</h4> - I'm an abp alert! ++ ++ + ++<abp-alert alert-type="Warning" dismissible="true"> + Holy guacamole! You should check in on some of those fields below. </abp-alert> -
+<div class="alert alert-warning alert-dismissible fade show" role="alert">
+ Holy guacamole! You should check in on some of those fields below.
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close">
+ <span aria-hidden="true">×</span>
+ </button>
+</div>
+
+