Wiki: indice

This commit is contained in:
2009-09-07 08:48:21 -03:00
parent b9924402eb
commit c86fcfc5f9
3 changed files with 76 additions and 6 deletions

View File

@@ -865,5 +865,30 @@ ul.nested li {
padding-bottom: 4px !important;
}
#contents {
margin-top: 18px;
padding: 0px 27px 9px 0px;
border: 1px solid #ccc;
width: 300px;
}
#contents h1 {
font-size: 12px;
margin: 0px;
text-align: center;
font-weight: bold;
}
#contents li {
list-style: none;
}
#contents ol {
margin: 0px;
padding: 0px 0px 0px 18px;
}
/*body { background-image: url(<%= App.base_path %>/prototype/line.png); background-repeat: repeat; }
html * { background-color: transparent !important; }*/

View File

@@ -1,7 +1,6 @@
-# cache(course_wiki_path(@course.id, @wiki_page.id)) do
= javascript_include_tag 'wiki'
.cmd
= action_icon 'edit', 'Editar', edit_course_wiki_instance_url
= action_icon 'undo', 'Historico', versions_course_wiki_instance_url
@@ -9,5 +8,11 @@
%h4.title= h(@course.full_name)
%h1.title= h(@wiki_page.title)
#contents{:style => "display: none"}
%h1 Índice
#wiki_text
= @wiki_page.content.format_wiki
%script
= "enumerate_headers();"