mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
minor changes to errors, pg 9
This commit is contained in:
parent
103f45eb27
commit
33c7eee1f4
3 changed files with 4 additions and 4 deletions
|
@ -50,7 +50,7 @@ Check out Neocities!</a></code></pre></p>
|
||||||
}
|
}
|
||||||
|
|
||||||
if(a.attr('href') == '' || a.attr('href').match(/\s+/)) {
|
if(a.attr('href') == '' || a.attr('href').match(/\s+/)) {
|
||||||
notok('You need to add a url to the <strong>href</strong>, like this: href="//neocities.org"')
|
notok('You need to add a url to the <strong>href</strong>, like this: href="http://neocities.org"')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if(a.attr('href') === undefined || a.attr('href') == '') {
|
if(a.attr('href') === undefined || a.attr('href') == '') {
|
||||||
notok('You need to add an <strong>href</strong> to your <strong>a</strong> tag, like: <strong>href="//neocities.org"</strong>')
|
notok('You need to add an <strong>href</strong> to your <strong>a</strong> tag, like: <strong>href="http://neocities.org"</strong>')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
|
|
||||||
<div class="col col-40 interact">
|
<div class="col col-40 interact">
|
||||||
<% if request.path =~ /\/html\/9/ %>
|
<% if request.path =~ /\/html\/9/ %>
|
||||||
<a href="#" id="saveToSite" class="btn btn-Action">Save new index.html to <%= current_site.username %>.neocities.org</a>
|
<a href="#" id="saveToSite" class="btn btn-Action float-Left" style="margin-right: 7px">Save new index.html to <%= current_site.username %>.neocities.org</a>
|
||||||
<a href="/tutorial/html/10" class="btn cancel" style="margin-right: 7px">Don't Save</a>
|
<a href="/tutorial/html/10" class="btn cancel float-Left">Don't Save</a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<input id="submit" class="btn btn-Action" type="submit" value="Save">
|
<input id="submit" class="btn btn-Action" type="submit" value="Save">
|
||||||
<input id="reset" class="btn cancel" style="margin-right: 7px" type="submit" value="Reset">
|
<input id="reset" class="btn cancel" style="margin-right: 7px" type="submit" value="Reset">
|
||||||
|
|
Loading…
Add table
Reference in a new issue