[llvm-commits] [LNT] r160935 - in /lnt/trunk/lnt/server/ui: static/style.css templates/layout.html

Michael Gottesman mgottesman at apple.com
Sun Jul 29 14:42:09 PDT 2012


Author: mgottesman
Date: Sun Jul 29 16:42:09 2012
New Revision: 160935

URL: http://llvm.org/viewvc/llvm-project?rev=160935&view=rev
Log:
Updated layout.html/style.css so that the footer of the page is in a proper footer
container and removed the <br> tags and replaced them with proper <p> tags.
Additionally I added the appropriate style to ensure that the text looks almost
the same.

Modified:
    lnt/trunk/lnt/server/ui/static/style.css
    lnt/trunk/lnt/server/ui/templates/layout.html

Modified: lnt/trunk/lnt/server/ui/static/style.css
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/static/style.css?rev=160935&r1=160934&r2=160935&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/static/style.css (original)
+++ lnt/trunk/lnt/server/ui/static/style.css Sun Jul 29 16:42:09 2012
@@ -78,6 +78,10 @@
   margin-right: 2em;
 }
 
+/* Footer Styles */
+footer {
+    line-height: 0.3em;
+}
 
 /* Nested popups */
 

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=160935&r1=160934&r2=160935&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/layout.html (original)
+++ lnt/trunk/lnt/server/ui/templates/layout.html Sun Jul 29 16:42:09 2012
@@ -62,9 +62,11 @@
 
 {# Footer #}
 <hr>
-LNT Version: {{ app.version }}<br>
-Server Started: {{ app.start_time|asusertime }}<br>
-Generated: {{ request.request_time|asusertime }}<br>
-Render Time: {{ "%.2fs" % request.elapsed_time() }}<br>
+<footer>
+<p>LNT Version: {{ app.version }}</p>
+<p>Server Started: {{ app.start_time|asusertime }}</p>
+<p>Generated: {{ request.request_time|asusertime }}</p>
+<p>Render Time: {{ "%.2fs" % request.elapsed_time() }}</p>
+</footer>
 </body>
 </html>





More information about the llvm-commits mailing list