From 7c45c9604fa0f754b771e676efc89e5209044aa9 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Tue, 8 Apr 2014 19:32:13 +0200 Subject: extracted banner content from status and adjust layout --- source/_banner.html.erb | 13 +++++++++++++ source/_status.html.erb | 25 ------------------------- source/layouts/layout.erb | 23 +++++++++++++++-------- 3 files changed, 28 insertions(+), 33 deletions(-) create mode 100644 source/_banner.html.erb (limited to 'source') diff --git a/source/_banner.html.erb b/source/_banner.html.erb new file mode 100644 index 0000000..a260119 --- /dev/null +++ b/source/_banner.html.erb @@ -0,0 +1,13 @@ + diff --git a/source/_status.html.erb b/source/_status.html.erb index 07f4e74..5229f9c 100644 --- a/source/_status.html.erb +++ b/source/_status.html.erb @@ -1,11 +1,4 @@
- -

- Statusdisplay -

- -
- @@ -25,18 +18,6 @@
-

- Livestream -

- -
- -

- 22. bis 25. Mai: CryptoCon -

- -
-

Webcam im Fenster

@@ -51,10 +32,4 @@

-
- -

- Mitglied werden -

- diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index a88ab54..0686d89 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -20,24 +20,31 @@
-
-

sublab

+
+
+
+

sublab

+
+
+ <%= yield_content :moods %> +
+
-
+
<%= partial "navigation" %> +
+ <%= partial "banner" %> +
+ <%= partial "status" %>
-
+
<%= yield %>
-
- <%= partial "status" %> -
-
-- cgit v1.2.1