[llvm-commits] [zorg] r125860 - in /zorg/trunk/llvmlab/llvmlab/ui: static/style.css templates/layout.html
Daniel Dunbar
daniel at zuster.org
Fri Feb 18 08:40:39 PST 2011
Author: ddunbar
Date: Fri Feb 18 10:40:39 2011
New Revision: 125860
URL: http://llvm.org/viewvc/llvm-project?rev=125860&view=rev
Log:
llvmlab: Add support for using flask.flash().
Modified:
zorg/trunk/llvmlab/llvmlab/ui/static/style.css
zorg/trunk/llvmlab/llvmlab/ui/templates/layout.html
Modified: zorg/trunk/llvmlab/llvmlab/ui/static/style.css
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/ui/static/style.css?rev=125860&r1=125859&r2=125860&view=diff
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/ui/static/style.css (original)
+++ zorg/trunk/llvmlab/llvmlab/ui/static/style.css Fri Feb 18 10:40:39 2011
@@ -34,3 +34,12 @@
div.footer a {
color: #FFF;
}
+
+div.flash_messages {
+ margin: 10px;
+}
+div.flash_message {
+ background: #CEE5F5;
+ padding: 10px;
+ border: 1px solid #AACBE2;
+}
Modified: zorg/trunk/llvmlab/llvmlab/ui/templates/layout.html
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/ui/templates/layout.html?rev=125860&r1=125859&r2=125860&view=diff
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/ui/templates/layout.html (original)
+++ zorg/trunk/llvmlab/llvmlab/ui/templates/layout.html Fri Feb 18 10:40:39 2011
@@ -12,6 +12,11 @@
<a href="{{ url_for('index') }}">{#
#}lab.llvm.org</a> | {{ self.title() }}
</div>
+ <div class="flash_messages">
+ {% for message in get_flashed_messages() %}
+ <div class="flash_message">{{ message }}</div>
+ {% endfor %}
+ </div>
<div class="body">{% block body %}{% endblock %}</div>
<div class="footer">
<a href="{{ url_for('index') }}">{#
More information about the llvm-commits
mailing list