mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 11:12:30 +02:00
update copy to indicate edit links dont work
This commit is contained in:
parent
dcaeda18d1
commit
4c8e1bc4c6
1 changed files with 9 additions and 9 deletions
|
@ -3,7 +3,7 @@ javascript:
|
||||||
$('#deleteFileName').html(name);
|
$('#deleteFileName').html(name);
|
||||||
$('#deleteConfirmModal').modal();
|
$('#deleteConfirmModal').modal();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fileDelete() {
|
function fileDelete() {
|
||||||
$('#deleteFilenameInput').val($('#deleteFileName').html());
|
$('#deleteFilenameInput').val($('#deleteFileName').html());
|
||||||
$('#deleteFilenameForm').submit();
|
$('#deleteFilenameForm').submit();
|
||||||
|
@ -11,9 +11,9 @@ javascript:
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.span5.offset1
|
.span5.offset1
|
||||||
|
|
||||||
h1 Your home page
|
h1 Your home page
|
||||||
|
|
||||||
- current_site.file_list.each do |file|
|
- current_site.file_list.each do |file|
|
||||||
.row
|
.row
|
||||||
.span4
|
.span4
|
||||||
|
@ -22,14 +22,14 @@ javascript:
|
||||||
div style="margin-bottom: 30px"
|
div style="margin-bottom: 30px"
|
||||||
span
|
span
|
||||||
i class="icon-globe"
|
i class="icon-globe"
|
||||||
|
|
||||||
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>
|
||||||
span
|
span
|
||||||
i class="icon-edit"
|
i class="icon-edit"
|
||||||
a href="#" Edit with visual editor <br>
|
a href="#" Edit with visual editor <small>not implemented yet.. ETA one week</small> <br>
|
||||||
span
|
span
|
||||||
i class="icon-edit"
|
i class="icon-edit"
|
||||||
a href="#" Edit with text editor <br>
|
a href="#" Edit with text editor <small>not implemented yet.. ETA one day</small><br>
|
||||||
span
|
span
|
||||||
i class="icon-trash"
|
i class="icon-trash"
|
||||||
a href="#" onclick="confirmFileDelete('#{file.filename}')" Delete
|
a href="#" onclick="confirmFileDelete('#{file.filename}')" Delete
|
||||||
|
@ -38,13 +38,13 @@ javascript:
|
||||||
div style="margin-bottom: 30px"
|
div style="margin-bottom: 30px"
|
||||||
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>
|
<a href="/site_files/new" class="btn btn-large btn-success">Upload New File</a>
|
||||||
.span5
|
.span5
|
||||||
|
|
||||||
h3 style="color: green": a href="http://#{current_site.username}.neocities.org" target="_blank" http://#{current_site.username}.neocities.org
|
h3 style="color: green": a href="http://#{current_site.username}.neocities.org" target="_blank" http://#{current_site.username}.neocities.org
|
||||||
br
|
br
|
||||||
|
|
||||||
.progress.progress-info.progress-striped
|
.progress.progress-info.progress-striped
|
||||||
.bar style="width: #{(current_site.total_space / Site::MAX_SPACE) * 100}%"
|
.bar style="width: #{(current_site.total_space / Site::MAX_SPACE) * 100}%"
|
||||||
|
|
||||||
|
@ -61,4 +61,4 @@ form method="POST" action="/site_files/delete" id="deleteFilenameForm"
|
||||||
p You are about to delete the file <span id="deleteFileName"></span>. Are you sure?
|
p You are about to delete the file <span id="deleteFileName"></span>. Are you sure?
|
||||||
.modal-footer
|
.modal-footer
|
||||||
button.btn data-dismiss="modal" aria-hidden="true" Cancel
|
button.btn data-dismiss="modal" aria-hidden="true" Cancel
|
||||||
button.btn.btn-danger onclick="fileDelete()" Delete
|
button.btn.btn-danger onclick="fileDelete()" Delete
|
||||||
|
|
Loading…
Add table
Reference in a new issue