[LNT] r249105 - Dismissible alerts

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 17:02:30 PDT 2015


Author: cmatthews
Date: Thu Oct  1 19:02:30 2015
New Revision: 249105

URL: http://llvm.org/viewvc/llvm-project?rev=249105&view=rev
Log:
Dismissible alerts

Modified:
    lnt/trunk/lnt/server/ui/templates/layout.html

Modified: lnt/trunk/lnt/server/ui/templates/layout.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/layout.html?rev=249105&r1=249104&r2=249105&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/layout.html (original)
+++ lnt/trunk/lnt/server/ui/templates/layout.html Thu Oct  1 19:02:30 2015
@@ -170,7 +170,7 @@
             {% if messages %}
                 {% for category, message in messages %}
                     <div class="{{ category }}" role="alert">
-                        {{ message }}
+                        {{ message }}  <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
                     </div>
                     {% endfor %}
             {% endif %}




More information about the llvm-commits mailing list