diff --git a/README b/README
index 963b0fe3..69dc36de 100755
--- a/README
+++ b/README
@@ -84,9 +84,14 @@ you forgot to run ruby script\reset_references after importing the data.
===Upgrading from Instiki-AR Beta 1
In Beta 2 two new tables are added: sessions and wiki_files. Also, there are some indexes renamed or added.
Otherwise, there are no schema changes, table structure is the same as in Beta 1.
-Therefore, create a new development database, edit config/database.yml as appropriate, execute 'rake db_schema_import',
-export data (but not structure!) from Beta 1 database, import it into the new one, check that Beta 2 development
-environment works with imported data, copy the development database (both data AND structure this time) to production.
+Therefore:
+1. Create a new development database.
+2. Edit config/database.yml as appropriate.
+3. Execute 'rake db_schema_import'.
+4. Export data (but not structure!) from Beta 1 database.
+5. Import it into the new one.
+6. Check that Beta 2 development environment works with imported data, and finally
+7. Copy the development database (both data AND structure this time) to production.
Future releases will use Rails Migrations, so the upgrade will be somewhat less of a hassle.
===Download the latest release from:
diff --git a/app/views/wiki/login.rhtml b/app/views/wiki/login.rhtml
index f8eb99de..1885052e 100644
--- a/app/views/wiki/login.rhtml
+++ b/app/views/wiki/login.rhtml
@@ -4,8 +4,17 @@
<%= form_tag({ :controller => 'wiki', :action => 'authenticate', :web => @web.address},
{ 'name' => 'loginForm', 'id' => 'loginForm', 'method' => 'post'})
%>
- Password
-
+
+ This web is password-protected. Please enter the password. + <% if @web.published? %> + If you don't have the password, you can view this wiki as a <%= link_to 'read-only version', :action => 'published', :id => 'HomePage' %>. + <% end %> +
++ Password: + + +
<%= end_form_tag %> diff --git a/public/stylesheets/instiki.css b/public/stylesheets/instiki.css index 7bdf7e4a..e1bcb19c 100644 --- a/public/stylesheets/instiki.css +++ b/public/stylesheets/instiki.css @@ -152,13 +152,14 @@ ol.setup li { } #error { - color: #8b0000; + color: #900; font-style: italic; + font-weight: bold; width: 600px; } #info { - color: #006400; + color: #060; font-style: italic; width: 600px; }