Yuck. Yet more XHTML validity fixes.
This commit is contained in:
parent
21a403b04f
commit
09e8b609b6
|
@ -43,12 +43,12 @@
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p align="right">
|
<p style="text-align:right">
|
||||||
<input type="submit" value="Setup" style="margin-left: 40px" />
|
<input type="submit" value="Setup" style="margin-left: 40px" />
|
||||||
</p>
|
</p>
|
||||||
<%= end_form_tag %>
|
<%= end_form_tag %>
|
||||||
|
|
||||||
<script>
|
<script type="text/javascript">
|
||||||
function proposeAddress() {
|
function proposeAddress() {
|
||||||
document.getElementById('web_address').value =
|
document.getElementById('web_address').value =
|
||||||
document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
|
document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
|
||||||
|
|
|
@ -29,18 +29,16 @@
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
<p align="right">
|
<p style="text-align:right;font-size:.85em;">
|
||||||
<small>
|
|
||||||
<label for="system_password">Enter system password</label>
|
<label for="system_password">Enter system password</label>
|
||||||
<input type="password" id="system_password" name="system_password" />
|
<input type="password" id="system_password" name="system_password" />
|
||||||
and
|
and
|
||||||
<input type="submit" value="Create Web" />
|
<input type="submit" value="Create Web" />
|
||||||
</small>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<%= end_form_tag %>
|
<%= end_form_tag %>
|
||||||
|
|
||||||
<script>
|
<script type="text/javascript">
|
||||||
function proposeAddress() {
|
function proposeAddress() {
|
||||||
document.getElementById('web_address').value =
|
document.getElementById('web_address').value =
|
||||||
document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
|
document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<% @title = "#{@web_name} Login" %><% @hide_navigation = true %>
|
<% @title = "#{@web_name} Login" %><% @hide_navigation = true %>
|
||||||
|
|
||||||
<p>
|
|
||||||
<%= form_tag({ :controller => 'wiki', :action => 'authenticate', :web => @web.address},
|
<%= form_tag({ :controller => 'wiki', :action => 'authenticate', :web => @web.address},
|
||||||
{ 'name' => 'loginForm', 'id' => 'loginForm', 'method' => 'post', 'accept-charset' => 'utf-8' }) %>
|
{ 'id' => 'loginForm', 'method' => 'post', 'accept-charset' => 'utf-8' }) %>
|
||||||
<p>
|
<p>
|
||||||
This web is password-protected. Please enter the password.
|
This web is password-protected. Please enter the password.
|
||||||
<% if @web.published? %>
|
<% if @web.published? %>
|
||||||
|
@ -10,12 +9,11 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<b>Password: </b>
|
<label for="password"><b>Password:</b></label>
|
||||||
<input type="password" name="password" id="password" />
|
<input type="password" name="password" id="password" />
|
||||||
<input type="submit" value="Login" default="yes" />
|
<input type="submit" value="Login" />
|
||||||
</p>
|
</p>
|
||||||
<%= end_form_tag %>
|
<%= end_form_tag %>
|
||||||
</p>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.forms["loginForm"].elements["password"].focus();
|
document.forms["loginForm"].elements["password"].focus();
|
||||||
|
|
Loading…
Reference in a new issue