mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Merge pull request #10 from bleachedgraphics/master
Moving of Upload button
This commit is contained in:
commit
90e40168a2
1 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,7 @@ javascript:
|
||||||
.span4
|
.span4
|
||||||
- if file.ext == 'html' || file.ext == 'htm' || file.ext == 'txt' || file.ext == 'js' || file.ext == 'css' || file.ext == 'md'
|
- if file.ext == 'html' || file.ext == 'htm' || file.ext == 'txt' || file.ext == 'js' || file.ext == 'css' || file.ext == 'md'
|
||||||
span
|
span
|
||||||
<i class="icon-file-alt icon-3x"></i> <font style="font-size: 20pt">#{file.filename}</font>
|
<i class="icon-file-alt icon-3x"></i> <span style="font-size: 20pt">#{file.filename}</span>
|
||||||
- if file.filename == 'index.html'
|
- if file.filename == 'index.html'
|
||||||
p
|
p
|
||||||
| This is your index file! It is the "default file" that loads when you go to <a href="http://#{current_site.username}.neocities.org">#{current_site.username}.neocities.org</a>. In effect, it's your front page. If you want to change your front page, you need to edit (or overwrite) this file. The default file is always named <b>index.html</b>.<br><br>
|
| This is your index file! It is the "default file" that loads when you go to <a href="http://#{current_site.username}.neocities.org">#{current_site.username}.neocities.org</a>. In effect, it's your front page. If you want to change your front page, you need to edit (or overwrite) this file. The default file is always named <b>index.html</b>.<br><br>
|
||||||
|
@ -49,7 +49,6 @@ javascript:
|
||||||
a href="http://#{current_site.username}.neocities.org/#{file.filename}" target="_blank" View <br>
|
a href="http://#{current_site.username}.neocities.org/#{file.filename}" target="_blank" View <br>
|
||||||
a href="#" onclick="confirmFileDelete('#{file.filename}')" Delete
|
a href="#" onclick="confirmFileDelete('#{file.filename}')" Delete
|
||||||
|
|
||||||
<a href="/site_files/new" class="btn btn-large btn-success">Upload New File</a>
|
|
||||||
.span5
|
.span5
|
||||||
|
|
||||||
.row
|
.row
|
||||||
|
@ -65,6 +64,8 @@ javascript:
|
||||||
|
|
||||||
.row style="margin-top: 20px"
|
.row style="margin-top: 20px"
|
||||||
.span5
|
.span5
|
||||||
|
|
||||||
|
<a href="/site_files/new" class="btn btn-large btn-success" style="margin-bottom:20px">Upload New File</a>
|
||||||
h4: a href="/site_files/#{current_site.username}.zip" Download Entire Site
|
h4: a href="/site_files/#{current_site.username}.zip" Download Entire Site
|
||||||
|
|
||||||
form method="POST" action="/site_files/delete" id="deleteFilenameForm"
|
form method="POST" action="/site_files/delete" id="deleteFilenameForm"
|
||||||
|
|
Loading…
Add table
Reference in a new issue