Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 2378 Bytes
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> |
4 | <title> |
5 | <%- if @page and (@page.name == 'HomePage') -%> |
6 | <%= h(@web.name) %> |
7 | <%- else @web -%> |
8 | <%= @page.plain_name %> in <%= h @web.name %> |
9 | <%- end -%> |
10 | </title> |
11 | |
12 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
13 | <meta name="robots" content="<%= @robots_metatag_value %>" /> |
14 | |
15 | <style type="text/css"> |
16 | h1#pageName, div.info, .newWikiWord a, a.existingWikiWord, .newWikiWord a:hover, [actiontype="toggle"]:hover, #TextileHelp h3 { |
17 | color: #<%= @web ? @web.color : "393" %>; |
18 | } |
19 | <%= Rails.root.join('public', 'stylesheets', 'instiki.css').read if @inline_style %> |
20 | </style> |
21 | <%= stylesheet_link_tag 'instiki', :media => 'all' unless @inline_style %> |
22 | <%= "<style type='text/css'>#{@style_additions}</style>" if @style_additions %> |
23 | <style type="text/css"><!--/*--><![CDATA[/*><!--*/ |
24 | <%= @web ? @web.additional_style : '' %> |
25 | /*]]>*/--></style> |
26 | <%= javascript_include_tag :defaults %> |
27 | <script type="text/javascript"> |
28 | <!--//--><![CDATA[//><!-- |
29 | function updateSize(elt, w, h) { |
30 | // adjust to the size of the user's browser area. |
31 | // w and h are the original, unadjusted, width and height per row/column |
32 | var parentheight = document.viewport.getHeight(); |
33 | var parentwidth = $('Container').getWidth(); |
34 | elt.writeAttribute({'cols': Math.floor(parentwidth/w) - 1, |
35 | 'rows': Math.floor(parentheight/h) - 2 }); |
36 | elt.setStyle({Width: parentwidth, Height: parentheight}); |
37 | } |
38 | |
39 | function resizeableTextarea() { |
40 | //make the textarea resize to fit available space |
41 | $$('textarea#content').each( function(textarea) { |
42 | var w = textarea.getWidth()/textarea.getAttribute('cols'); |
43 | var h = textarea.getStyle('lineHeight').replace(/(\d*)px/, "$1"); |
44 | Event.observe(window, 'resize', function(){ updateSize(textarea, w, h) }); |
45 | updateSize(textarea, w, h); |
46 | Form.Element.focus(textarea); |
47 | }); |
48 | } |
49 | |
50 | window.onload = function (){ |
51 | resizeableTextarea(); |
52 | } |
53 | //--><!]]> |
54 | </script> |
55 | </head> |
56 | |
57 | <body> |
58 | |
59 | <div id="Container"> |
60 | <textarea id='content' readonly=' readonly' rows='24' cols='60' ><%= h(@page.content.purify) %></textarea> |
61 | </div> <!-- Container --> |
62 | |
63 | </body> |
64 | </html> |