added test for color switching

This commit is contained in:
Peter Hedenskog 2012-08-07 22:31:56 +02:00
parent 3e2e6c014b
commit 297ade2435
1 changed files with 13 additions and 0 deletions

View File

@ -58,6 +58,19 @@
#end
</p>
#if ($totalScore>90)
#set ($scoreType = "success")
#elseif ($totalScore>80)
#set ($scoreType = "warning")
#else
#set ($scoreType = "error")
#end
<div class="alert alert-$scoreType">
Alert type ...
</div>
<table class="table table-condensed table-striped table-bordered" id="pagesTable" >
<thead>