From 9de59307c9cddf689ea3f302571bb6cfd0d689fa Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 11:31:35 +0200 Subject: converted templates from erb to haml --- source/index.html.haml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 source/index.html.haml (limited to 'source/index.html.haml') diff --git a/source/index.html.haml b/source/index.html.haml new file mode 100644 index 0000000..c3dfd02 --- /dev/null +++ b/source/index.html.haml @@ -0,0 +1,38 @@ +\--- +title: sublab - Ein Hackerspace in Leipzig +\--- +%div + %h2 Ein Hackerspace in Leipzig + %p.lead + Das sublab ist ein + = succeed "." do + %a{:href => "/wiki/Hackerspace"} Hackerspace + Es bietet technik- und netzaffinen Menschen aus Leipzig und Umgebung, sowie der + ganzen Welt einen Ort zum kreativen Ideen- und Erfahrungsaustausch. + %br/ + = link_to("Mehr zum sublab", "/ueber.html") +.panel.panel-primary + .panel-heading + %h3.panel-title Demnächst im sublab + .panel-body + %p BattleMeshV7 - 12. bis 18. Mai 2014 + %p CryptoCon14 - 22. bis 25. Mai 2014 +%div + %h3 Neues aus dem sublab + %p= link_to "Alle News >>", "/aktuelles/blog.html" + = partial "article_summary", collection: blog.articles[0..2] +%div + %h3 @sublab tweets + %p + %strong sublab + @sublab Apr 5 + %br/ + WTF? LOL! + %p + %strong about:radio + @aboutradio Apr 5 + %br/ + Heute von 16-18Uhr: about:radio u.a. zu den Themen: Libre Graphics Meeting in Leipzig, Kamera in der Simildenstrasse +%div + %h3 Wiki Aktivität + = partial "wiki_changes" -- cgit v1.2.1 From f3100ad9d93fd31a043594815e260958f5ceaff0 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 11:51:57 +0200 Subject: fix some conversion errors --- source/index.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/index.html.haml') diff --git a/source/index.html.haml b/source/index.html.haml index c3dfd02..70167c6 100644 --- a/source/index.html.haml +++ b/source/index.html.haml @@ -1,6 +1,6 @@ -\--- +--- title: sublab - Ein Hackerspace in Leipzig -\--- +--- %div %h2 Ein Hackerspace in Leipzig %p.lead -- cgit v1.2.1 From a767ac373836d9ea9601635e3c3843ef2cde2dbd Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 13:58:29 +0200 Subject: migrate index and navigation to foundation --- source/index.html.haml | 73 +++++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 33 deletions(-) (limited to 'source/index.html.haml') diff --git a/source/index.html.haml b/source/index.html.haml index 70167c6..b380844 100644 --- a/source/index.html.haml +++ b/source/index.html.haml @@ -1,38 +1,45 @@ --- title: sublab - Ein Hackerspace in Leipzig --- -%div - %h2 Ein Hackerspace in Leipzig - %p.lead - Das sublab ist ein - = succeed "." do - %a{:href => "/wiki/Hackerspace"} Hackerspace - Es bietet technik- und netzaffinen Menschen aus Leipzig und Umgebung, sowie der - ganzen Welt einen Ort zum kreativen Ideen- und Erfahrungsaustausch. - %br/ - = link_to("Mehr zum sublab", "/ueber.html") -.panel.panel-primary - .panel-heading - %h3.panel-title Demnächst im sublab - .panel-body +.row + .columns + %h2 Ein Hackerspace in Leipzig + %p.lead + Das sublab ist ein + = succeed "." do + %a{:href => "/wiki/Hackerspace"} Hackerspace + Es bietet technik- und netzaffinen Menschen aus Leipzig und Umgebung, sowie der + ganzen Welt einen Ort zum kreativen Ideen- und Erfahrungsaustausch. + %br/ + = link_to("Mehr zum sublab", "/ueber.html") + +.row + .panel + %h3 Demnächst im sublab %p BattleMeshV7 - 12. bis 18. Mai 2014 %p CryptoCon14 - 22. bis 25. Mai 2014 -%div - %h3 Neues aus dem sublab - %p= link_to "Alle News >>", "/aktuelles/blog.html" - = partial "article_summary", collection: blog.articles[0..2] -%div - %h3 @sublab tweets - %p - %strong sublab - @sublab Apr 5 - %br/ - WTF? LOL! - %p - %strong about:radio - @aboutradio Apr 5 - %br/ - Heute von 16-18Uhr: about:radio u.a. zu den Themen: Libre Graphics Meeting in Leipzig, Kamera in der Simildenstrasse -%div - %h3 Wiki Aktivität - = partial "wiki_changes" + +.row + .columns + %h3 Neues aus dem sublab + %p= link_to "Alle News >>", "/aktuelles/blog.html" + = partial "article_summary", collection: blog.articles[0..2] + +.row + .columns + %h3 @sublab tweets + %p + %strong sublab + @sublab Apr 5 + %br/ + WTF? LOL! + %p + %strong about:radio + @aboutradio Apr 5 + %br/ + Heute von 16-18Uhr: about:radio u.a. zu den Themen: Libre Graphics Meeting in Leipzig, Kamera in der Simildenstrasse + +.row + .columns + %h3 Wiki Aktivität + = partial "wiki_changes" -- cgit v1.2.1