too much stuff. uploader script from template. dropdown menu for tools
This commit is contained in:
@@ -102,8 +102,23 @@ tr:nth-child(odd) {
|
||||
width: 200px;
|
||||
}
|
||||
#list_upload_button {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
float: right;
|
||||
}
|
||||
#list_url_upload_text {
|
||||
width: 95%;
|
||||
float: right;
|
||||
}
|
||||
#list_url_upload_button {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#list_info_toggle {
|
||||
margin-top: 24px;
|
||||
cursor: pointer;
|
||||
text-align: right;
|
||||
}
|
||||
#list_info {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#list_table {
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
|
||||
function clear_text(id,defaultValue) {
|
||||
var element = document.getElementById(id);
|
||||
if ( element.value == defaultValue ) {
|
||||
element.value = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function index_form_enter(event) {
|
||||
if (event.which || event.keyCode) {
|
||||
if ((event.which == 13) || (event.keyCode == 13)) {
|
||||
@@ -12,6 +20,13 @@ function index_form_submit() {
|
||||
document.getElementById("index_form_name").value;
|
||||
}
|
||||
|
||||
|
||||
function infoToggle() {
|
||||
var info = document.getElementById("list_info");
|
||||
info.style.display = info.style.display === 'block' ? 'none' : 'block';
|
||||
}
|
||||
|
||||
|
||||
function UploadFile(file,file_no,files_total) {
|
||||
if (uploadTurn != file_no) {
|
||||
// Wait for our turn to upload. check every 0.5s
|
||||
|
||||
Reference in New Issue
Block a user