diff options
| author | hukl <contact@smyck.org> | 2009-10-19 19:34:49 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-10-19 19:34:49 +0200 |
| commit | 191eb515543f7a408a4fb3e3d585d2cd031fb880 (patch) | |
| tree | f3fbb7baf8514eca3b7f9c4b17e07844a8e67b96 /app/views/custom | |
| parent | b17fc81bbbbbedb346795935d12c6e163257fa55 (diff) | |
first set of css updates
Diffstat (limited to 'app/views/custom')
| -rw-r--r-- | app/views/custom/page_templates/public/standard_template.html.erb | 4 | ||||
| -rw-r--r-- | app/views/custom/partials/_article.html.erb | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app/views/custom/page_templates/public/standard_template.html.erb b/app/views/custom/page_templates/public/standard_template.html.erb index d4c80aa..8cd88a6 100644 --- a/app/views/custom/page_templates/public/standard_template.html.erb +++ b/app/views/custom/page_templates/public/standard_template.html.erb | |||
| @@ -2,9 +2,9 @@ | |||
| 2 | <h2><%= @page.title %></h2> | 2 | <h2><%= @page.title %></h2> |
| 3 | <h3><%= date_for_page @page %>, <%= @page.user.try(:login) %></h3> | 3 | <h3><%= date_for_page @page %>, <%= @page.user.try(:login) %></h3> |
| 4 | <hr class="subtitle" /> | 4 | <hr class="subtitle" /> |
| 5 | <p><em><%= sanitize( @page.abstract )%></em></p> | 5 | <div class="abstract"><p><em><%= sanitize( @page.abstract )%></em></p></div> |
| 6 | <div id="headline_image"><%= headline_image %></div> | 6 | <div id="headline_image"><%= headline_image %></div> |
| 7 | <%= aggregate?(@page.body) %> | 7 | <div class="body"><%= aggregate?(@page.body) %></div> |
| 8 | </div> | 8 | </div> |
| 9 | 9 | ||
| 10 | <%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file | 10 | <%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file |
diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index dfad62a..4f772ae 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | <div class="article_partial"> | 1 | <div class="article_partial"> |
| 2 | <h2><%= link_to_path page.title, page.node.unique_name %></h2> | 2 | <h2 class="headline"><%= link_to_path page.title, page.node.unique_name %></h2> |
| 3 | <div class="author_and_date"> | 3 | <div class="author_and_date"> |
| 4 | <%= date_for_page page %>, <%= author_for_page page %> | 4 | <%= date_for_page page %>, <%= author_for_page page %> |
| 5 | </div> | 5 | </div> |
| 6 | <p class="excerpt"><%= page.abstract %></p> | 6 | <p class="excerpt"><%= page.abstract %></p> |
| 7 | <div class="teaser_ruler"></div> | ||
| 8 | </div> \ No newline at end of file | 7 | </div> \ No newline at end of file |
