mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
move location of upload file
moved the location of upload file to the right column, above download entire site. better ux than constantly having to scroll to the bottom of a long list of files, to upload a new one.
This commit is contained in:
parent
8153b29537
commit
2b844fc3d3
1 changed files with 3 additions and 3 deletions
|
@ -16,10 +16,10 @@ javascript:
|
|||
|
||||
- current_site.file_list.each do |file|
|
||||
.row
|
||||
.span4
|
||||
.span4 style="position:relative"
|
||||
- if file.ext == 'html' || file.ext == 'htm' || file.ext == 'txt' || file.ext == 'js' || file.ext == 'css' || file.ext == 'md'
|
||||
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'
|
||||
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>
|
||||
|
@ -49,7 +49,6 @@ javascript:
|
|||
a href="http://#{current_site.username}.neocities.org/#{file.filename}" target="_blank" View <br>
|
||||
a href="#" onclick="confirmFileDelete('#{file.filename}')" Delete
|
||||
|
||||
<a href="/site_files/new" class="btn btn-large btn-success">Upload New File</a>
|
||||
.span5
|
||||
|
||||
.row
|
||||
|
@ -65,6 +64,7 @@ javascript:
|
|||
|
||||
.row style="margin-top: 20px"
|
||||
.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
|
||||
|
||||
form method="POST" action="/site_files/delete" id="deleteFilenameForm"
|
||||
|
|
Loading…
Add table
Reference in a new issue