mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
update to new.slim
This commit is contained in:
parent
8c7c636113
commit
f3aa2fe3bd
2 changed files with 33 additions and 46 deletions
|
@ -12,69 +12,56 @@ javascript:
|
||||||
p = error.last.first
|
p = error.last.first
|
||||||
|
|
||||||
.page
|
.page
|
||||||
.row.content
|
.txt-Center.row
|
||||||
.span8.offset3
|
|
||||||
form method="POST" action="/create"
|
form method="POST" action="/create"
|
||||||
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
||||||
h2 Create a new Home Page
|
h2 Create a new Home Page
|
||||||
|
|
||||||
.row
|
.col.col-50
|
||||||
.span6
|
p First, enter a username. This will also be used as your site path.<br><b>Do not forget this, it will be used to sign in to
|
||||||
p First, enter a username. This will also be used as your site path.<br><b>Do not forget this, it will be used to sign in to and manage your home page.</b><br>It cannot contain spaces, and can only use the following characters: a-z A-Z 0-9 _ -
|
and manage your home page.</b><br>It cannot contain spaces, and can only use the following characters: a-z A-Z 0-9 _ -
|
||||||
|
|
||||||
.row
|
hr
|
||||||
.span1
|
|
||||||
h5 Username
|
h5 Username
|
||||||
.span6
|
|
||||||
p <input name="username" type="text" placeholder="yourusername" value="#{@site.username}" autocapitalize="off" autocorrect="off">.neocities.org
|
p <input name="username" type="text" placeholder="yourusername" value="#{@site.username}" autocapitalize="off" autocorrect="off">.neocities.org
|
||||||
|
br
|
||||||
.row
|
|
||||||
.span6
|
|
||||||
p Next, enter a password. This will be used to allow you to login. Minimum 5 characters. If you don't make it a good password, Dade Murphy from the movie Hackers will come in and steal your "garbage files".
|
p Next, enter a password. This will be used to allow you to login. Minimum 5 characters. If you don't make it a good password, Dade Murphy from the movie Hackers will come in and steal your "garbage files".
|
||||||
|
|
||||||
.row
|
br
|
||||||
.span1
|
|
||||||
h5 Password
|
h5 Password
|
||||||
.span6
|
|
||||||
input name="password" type="password"
|
input name="password" type="password"
|
||||||
|
|
||||||
.row
|
br
|
||||||
.span6
|
p Now you can enter an e-mail address. Your e-mail address is private and we will not show it to anyone
|
||||||
p Now you can enter an e-mail address. Your e-mail address is private and we will not show it to anyone for any reason. You don't have to provide one, but <b>we will not be able to reset your password without it, so don't lose your username and password if you leave this blank!</b>
|
for any reason. You don't have to provide one, but <b>we will not be able to reset your password without it,
|
||||||
.row
|
so don't lose your username and password if you leave this blank!</b>
|
||||||
.span1
|
|
||||||
|
br
|
||||||
h5 Email
|
h5 Email
|
||||||
.span6
|
|
||||||
input name="email" type="email" placeholder="youremail@example.com" value="#{@site.email}"
|
input name="email" type="email" placeholder="youremail@example.com" value="#{@site.email}"
|
||||||
|
|
||||||
|
br
|
||||||
|
|
||||||
.row
|
|
||||||
.span6
|
|
||||||
p
|
p
|
||||||
| You can optionally enter some tags! Tags will allow others to find your site based on your interests, or your site's theme. <b>Separate multiple tags with commas</b>. Don't think too hard about this, you can change them later. You can have a maximum of ten tags, and there is a two word per tag maximum (extra words in a tag will be removed).
|
| You can optionally enter some tags! Tags will allow others to find your site based on your interests, or your
|
||||||
|
site's theme. <b>Separate multiple tags with commas</b>. Don't think too hard about this, you can change them later.
|
||||||
|
You can have a maximum of ten tags, and there is a two word per tag maximum (extra words in a tag will be removed).
|
||||||
|
|
||||||
.row
|
|
||||||
.span1
|
hr
|
||||||
h5 Tags
|
h5 Tags
|
||||||
.span6
|
|
||||||
p: input name="tags" type="text" style="width: 400px" placeholder="pokemon, video games, bulbasaur" value="#{params[:tags]}" autocapitalize="off" autocorrect="off"
|
p: input name="tags" type="text" style="width: 400px" placeholder="pokemon, video games, bulbasaur" value="#{params[:tags]}" autocapitalize="off" autocorrect="off"
|
||||||
|
|
||||||
.row
|
|
||||||
.span6
|
|
||||||
input name="is_nsfw" type="hidden" value="false"
|
input name="is_nsfw" type="hidden" value="false"
|
||||||
p: strong If your page will contain objectionable (adult) content, check this box: <input name="is_nsfw" type="checkbox" value="true" style="margin-top: 0px">
|
p: strong If your page will contain objectionable (adult) content, check this box: <input name="is_nsfw" type="checkbox" value="true" style="margin-top: 0px">
|
||||||
|
|
||||||
|
|
||||||
.row
|
br
|
||||||
.span6
|
|
||||||
p Last thing! Enter these two words correctly (with spaces) so we know you're not a robot (don't worry robots, we still love you).
|
p Last thing! Enter these two words correctly (with spaces) so we know you're not a robot (don't worry robots, we still love you).
|
||||||
div
|
div
|
||||||
== recaptcha_tag :challenge, ssl: true
|
== recaptcha_tag :challenge, ssl: true
|
||||||
|
br
|
||||||
|
|
||||||
.row
|
|
||||||
.span6
|
|
||||||
h3 You're done. Just click the button below!
|
h3 You're done. Just click the button below!
|
||||||
|
|
||||||
.row style="margin-top: 10px"
|
|
||||||
.span3.offset1
|
|
||||||
input.btn-Action type="submit" value="Create Home Page"
|
input.btn-Action type="submit" value="Create Home Page"
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
||||||
h4 Select a file from your computer:
|
h4 Select a file from your computer:
|
||||||
h4: input type="file" name="newfile"
|
h4: input type="file" name="newfile"
|
||||||
p: input.btn.btn-success.btn-large type="submit" value="Upload File"
|
p: input.btn-Action type="submit" value="Upload File"
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.span8.offset2
|
.span8.offset2
|
||||||
|
|
Loading…
Add table
Reference in a new issue