Error message look slightly better.
This commit is contained in:
parent
83c6eadc0c
commit
22e7104ea1
|
@ -8,7 +8,7 @@ class AdminController < ApplicationController
|
||||||
if wiki.setup?
|
if wiki.setup?
|
||||||
flash[:error] = <<-EOL
|
flash[:error] = <<-EOL
|
||||||
Wiki has already been created in '#{@wiki.storage_path}'. Shut down Instiki and delete
|
Wiki has already been created in '#{@wiki.storage_path}'. Shut down Instiki and delete
|
||||||
this directory if you want to recreate it from scratch.<br/>
|
this directory if you want to recreate it from scratch.<br/><br/>
|
||||||
(WARNING: this will destroy content of your current wiki).
|
(WARNING: this will destroy content of your current wiki).
|
||||||
EOL
|
EOL
|
||||||
redirect_show('HomePage', @wiki.webs.keys.first)
|
redirect_show('HomePage', @wiki.webs.keys.first)
|
||||||
|
|
|
@ -151,13 +151,13 @@ ol.setup li {
|
||||||
#error {
|
#error {
|
||||||
color: darkred;
|
color: darkred;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
width: 450px;
|
width: 600px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#info {
|
#info {
|
||||||
color: darkgreen;
|
color: darkgreen;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
width: 450px;
|
width: 600px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#TextileHelp table {
|
#TextileHelp table {
|
||||||
|
|
Loading…
Reference in a new issue