# HG changeset patch # User Tomas Zeman # Date 1334220738 -7200 # Node ID 216eac8b08b4eaecae106cbdfd5d407d67ad7614 # Parent a2a452c1ed2c16763121d279793589983a5388fb Twitter bootstrap integration diff -r a2a452c1ed2c -r 216eac8b08b4 src/main/scala/bootstrap/liftweb/Boot.scala --- a/src/main/scala/bootstrap/liftweb/Boot.scala Tue Apr 03 15:55:54 2012 +0200 +++ b/src/main/scala/bootstrap/liftweb/Boot.scala Thu Apr 12 10:52:18 2012 +0200 @@ -40,6 +40,9 @@ Menu.i("Home") / "" , ContactSnippet.menu) LiftRules.setSiteMap(SiteMap(menus:_*)) + + LiftRules.htmlProperties.default.set { r: Req => + Html5Properties(r.userAgent) } } } diff -r a2a452c1ed2c -r 216eac8b08b4 src/main/webapp/css/base.css --- a/src/main/webapp/css/base.css Tue Apr 03 15:55:54 2012 +0200 +++ b/src/main/webapp/css/base.css Thu Apr 12 10:52:18 2012 +0200 @@ -27,11 +27,13 @@ .attr-name { font-weight: bold; width: 150px; + text-align: justify; } .attr-name-wide { font-weight: bold; width: 230px; + text-align: justify; } .attr-value { diff -r a2a452c1ed2c -r 216eac8b08b4 src/main/webapp/entity/delete.html --- a/src/main/webapp/entity/delete.html Tue Apr 03 15:55:54 2012 +0200 +++ b/src/main/webapp/entity/delete.html Thu Apr 12 10:52:18 2012 +0200 @@ -6,12 +6,11 @@
-
-

-
-
- -
+
+
+ +
+
diff -r a2a452c1ed2c -r 216eac8b08b4 src/main/webapp/entity/form.html --- a/src/main/webapp/entity/form.html Tue Apr 03 15:55:54 2012 +0200 +++ b/src/main/webapp/entity/form.html Thu Apr 12 10:52:18 2012 +0200 @@ -6,12 +6,11 @@
-
-

-
-
- -
+
+
+ +
+
diff -r a2a452c1ed2c -r 216eac8b08b4 src/main/webapp/entity/list.html --- a/src/main/webapp/entity/list.html Tue Apr 03 15:55:54 2012 +0200 +++ b/src/main/webapp/entity/list.html Thu Apr 12 10:52:18 2012 +0200 @@ -6,12 +6,11 @@
-
-

-
-
- -
+
+
+ +
+
diff -r a2a452c1ed2c -r 216eac8b08b4 src/main/webapp/entity/view.html --- a/src/main/webapp/entity/view.html Tue Apr 03 15:55:54 2012 +0200 +++ b/src/main/webapp/entity/view.html Thu Apr 12 10:52:18 2012 +0200 @@ -6,12 +6,11 @@
-
-

-
-
- -
+
+
+ +
+
diff -r a2a452c1ed2c -r 216eac8b08b4 src/main/webapp/templates-hidden/default.html --- a/src/main/webapp/templates-hidden/default.html Tue Apr 03 15:55:54 2012 +0200 +++ b/src/main/webapp/templates-hidden/default.html Thu Apr 12 10:52:18 2012 +0200 @@ -1,13 +1,14 @@ + - - - + + + - + diff -r a2a452c1ed2c -r 216eac8b08b4 src/main/webapp/templates-hidden/panel.html --- a/src/main/webapp/templates-hidden/panel.html Tue Apr 03 15:55:54 2012 +0200 +++ b/src/main/webapp/templates-hidden/panel.html Thu Apr 12 10:52:18 2012 +0200 @@ -1,6 +1,6 @@ - +
AttributeAttribute Value