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:
- 3109 Bytes
1 | <%- @title = "Instiki Setup"; @content_width = 500 -%> |
2 | |
3 | <p> |
4 | Congratulations on succesfully installing and starting Instiki. |
5 | Since this is the first time Instiki has been run on this port, |
6 | you'll need to do a brief one-time setup. |
7 | </p> |
8 | |
9 | <% form_tag({ :controller => 'admin', :action => 'create_system' }, |
10 | { 'id' => 'setup', 'method' => 'post', 'onsubmit' => 'return validateSetup()', |
11 | 'accept-charset' => 'utf-8' }) do |
12 | %> |
13 | <ol class="setup"> |
14 | <li> |
15 | |
16 | <h2 style="margin-bottom: 3px">Name and address for your first 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="web_name" value="Wiki" |
25 | onchange="proposeAddress();" onclick="this.value == 'Wiki' ? this.value = '' : true" /> |
26 |    |
27 | <label for="web_address">Address:</label> <input type="text" id="web_address" name="web_address" onchange="cleanAddress();" |
28 | value="wiki" /> |
29 | </div> |
30 | </li> |
31 | |
32 | <li> |
33 | <h2 style="margin-bottom: 3px">Password for creating and changing webs</h2> |
34 | <div class="help"> |
35 | Administrative access allows you to make new webs and change existing ones. |
36 | </div> |
37 | <div class="help"><em>Everyone with this password will be able to do this, so pick it carefully!</em></div> |
38 | <div class="inputBox"> |
39 | <label for="password">Password:</label> <input type="password" id="password" name="password" /> |
40 |    |
41 | <label for="password_check">Verify:</label> <input type="password" id="password_check" name="password_check" /> |
42 | </div> |
43 | </li> |
44 | </ol> |
45 | |
46 | <p style="text-align:right"> |
47 | <input type="submit" value="Setup" style="margin-left: 40px" /> |
48 | </p> |
49 | <% end %> |
50 | |
51 | <script type="text/javascript"> |
52 | function proposeAddress() { |
53 | document.getElementById('web_address').value = |
54 | document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(); |
55 | } |
56 | |
57 | function cleanAddress() { |
58 | document.getElementById('web_address').value = |
59 | document.getElementById('web_address').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(); |
60 | } |
61 | |
62 | function validateSetup() { |
63 | if (document.getElementById('web_name').value == "") { |
64 | alert("You must pick a name for the first web"); |
65 | return false; |
66 | } |
67 | |
68 | if (document.getElementById('web_address').value == "") { |
69 | alert("You must pick an address for the first web"); |
70 | return false; |
71 | } |
72 | |
73 | if (document.getElementById('password').value == "") { |
74 | alert("You must pick a system password"); |
75 | return false; |
76 | } |
77 | |
78 | if (document.getElementById('password_check').value == "" || |
79 | document.getElementById('password').value != document.getElementById('password_check').value) { |
80 | alert("The password and its verification doesn't match"); |
81 | return false; |
82 | } |
83 | |
84 | return true; |
85 | } |
86 | </script> |