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:
- 2280 Bytes
1 | <%- @title = "New Wiki Web"; @content_width = 500 -%> |
2 | |
3 | <p> |
4 | Each web serves as an isolated name space for wiki pages, |
5 | so different subjects or projects can write about different <i>MuppetShows</i>. |
6 | </p> |
7 | |
8 | <% form_tag({ :controller => 'admin', :action => 'create_web' }, |
9 | { 'id' => 'setup', 'method' => 'post', |
10 | 'onsubmit' => 'cleanAddress(); return validateSetup()', |
11 | 'accept-charset' => 'utf-8' }) do |
12 | %> |
13 | |
14 | <ol class="setup"> |
15 | <li> |
16 | <h2 style="margin-bottom: 3px">Name and address for your new web</h2> |
17 | <div class="help"> |
18 | The name of the web is included in the title on all pages. |
19 | The address is the base path that all pages within the web live beneath. |
20 | Ex: the address "rails" gives URLs like <i>/rails/show/HomePage</i>. |
21 | The address can only consist of letters and digits. |
22 | </div> |
23 | <div class="inputBox"> |
24 | <label for="web_name">Name:</label> <input type="text" id="web_name" name="name" onchange="proposeAddress();" /> |
25 |    |
26 | <label for="web_address">Address:</label> <input type="text" id="web_address" name="address" onchange="cleanAddress();" /> |
27 | </div> |
28 | </li> |
29 | </ol> |
30 | |
31 | |
32 | <p style="text-align:right;font-size:.85em;"> |
33 | <label for="system_password">Enter system password</label> |
34 | <input type="password" id="system_password" name="system_password" /> |
35 | and |
36 | <input type="submit" value="Create Web" /> |
37 | </p> |
38 | |
39 | <%- end -%> |
40 | |
41 | <script type="text/javascript"> |
42 | function proposeAddress() { |
43 | document.getElementById('web_address').value = |
44 | document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(); |
45 | } |
46 | |
47 | function cleanAddress() { |
48 | document.getElementById('web_address').value = |
49 | document.getElementById('web_address').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(); |
50 | } |
51 | |
52 | function validateSetup() { |
53 | if (document.getElementById('web_name').value == "") { |
54 | alert("You must pick a name for the new web"); |
55 | return false; |
56 | } |
57 | |
58 | if (document.getElementById('web_address').value == "") { |
59 | alert("You must pick an address for the new web"); |
60 | return false; |
61 | } |
62 | |
63 | if (document.getElementById('system_password').value == "") { |
64 | alert("You must enter the system password"); |
65 | return false; |
66 | } |
67 | |
68 | return true; |
69 | } |
70 | </script> |