summaryrefslogtreecommitdiffstats
path: root/examples/layout
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-09-10 23:36:38 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-09-11 01:03:24 +0200
commit15d55e301ad7bbc643115d7146fcedb6554b9db4 (patch)
tree4d42d47fd4c70192536ed455df6a27d29ab6ae72 /examples/layout
parent4c727eb185b27c6ef5c1c2a2283d7a8adf21a06b (diff)
downloadzorglub-15d55e301ad7bbc643115d7146fcedb6554b9db4.zip
zorglub-15d55e301ad7bbc643115d7146fcedb6554b9db4.tar.gz
rewrite example application
Diffstat (limited to 'examples/layout')
-rw-r--r--examples/layout/css.haml5
-rw-r--r--examples/layout/default.haml2
-rw-r--r--examples/layout/other.haml4
3 files changed, 8 insertions, 3 deletions
diff --git a/examples/layout/css.haml b/examples/layout/css.haml
new file mode 100644
index 0000000..c9e35db
--- /dev/null
+++ b/examples/layout/css.haml
@@ -0,0 +1,5 @@
+%h1=@title
+%p="xx <b>css</b> layout xx"
+%p="Css #{css.inspect}"
+%p=@content
+%p="xx -- xx"
diff --git a/examples/layout/default.haml b/examples/layout/default.haml
index 9c84f4d..6af5e38 100644
--- a/examples/layout/default.haml
+++ b/examples/layout/default.haml
@@ -1,4 +1,4 @@
%h1=@title
-%p="xx -- xx"
+%p="xx <b>default</b> layout xx"
%p=@content
%p="xx -- xx"
diff --git a/examples/layout/other.haml b/examples/layout/other.haml
index ac6f300..601b305 100644
--- a/examples/layout/other.haml
+++ b/examples/layout/other.haml
@@ -1,4 +1,4 @@
%h1=@title
-%p="xx - OTHER - xx"
+%p="xx <b>other</b> layout - xx"
%p=@content
-%p="xx - OTHER - xx"
+%p="xx -- xx"