Changesets can be listed by changeset number.
The Git repository is here.
Changeset 372
Reinstated automatic section numbering JS code from I2. Although
manual numbering isn't possible since JavaScript isn't allowed
inside pages, the automatic code works fine.
- Comitted by: rool
- Date: Monday March 21 12:10:24 2011 (over 13 years ago)
Affected files:
- rool/rails/instiki/trunk/public/javascripts/auto_sections.js
- rool/rails/instiki/trunk/app/views/layouts/default.rhtml (diff)
- rool/rails/instiki/trunk/public/stylesheets/instiki.css (diff)
rool/rails/instiki/trunk/app/views/layouts/default.rhtml:
prev. | current | |
</title> | ||
<%= javascript_include_tag 'page_helper' %> | ||
21 | | |
22 | | |
23 | | |
24 | | |
25 | | |
26 | | |
27 | | |
21 | <%=(javascript_include_tag :defaults).gsub(/^/, ' ') %> | |
22 | <%= javascript_include_tag 'auto_sections' %> | |
23 | <% if @web -%> | |
24 | <%= auto_discovery_link_tag(:atom, {:controller => 'wiki', :web => @web.address, :action => 'atom_with_headlines'}, | |
25 | :title => 'Atom with headlines') %> | |
26 | <%= auto_discovery_link_tag(:atom, {:controller => 'wiki', :web => @web.address, :action => 'atom_with_content'}, | |
27 | :title => 'Atom with full content') %> | |
28 | <% end -%> | |
<link type="text/css" rel="stylesheet" href="/css/risc_os_open_2011.css" media="all" /> | ||
<%= stylesheet_link_tag 'instiki', :media => 'all' %> | ||
<%= stylesheet_link_tag 'syntax', :media => 'all' %> |
rool/rails/instiki/trunk/public/stylesheets/instiki.css:
prev. | current | |
font-weight: bold; | ||
} | ||
[actiontype="toggle"]:hover {text-shadow: #ccc 2px 2px 5px;} | ||
351 | ||
352 | /* Table of contents (see auto_sections.js) */ | |
353 | ||
354 | div#toc { padding-left: 2em; } | |
355 | a.TOCBackLink { display: none; } | |
356 | .TOCLevel3 { margin-left: 2em; } | |
357 | .TOCLevel4 { margin-left: 4em; } | |
358 | .TOCLevel5 { margin-left: 6em; } | |
359 | .TOCLevel6 { margin-left: 8em; } |