improved DBox images/html, improved look of MoveDBox, started plumbing for pa_job_manager to do actual moves, all the data is there, just havent performed the FS or DB move. cleaned up duplicated DEBUGS that are straight before AddLogForJob... tweaked TODO appropriately
This commit is contained in:
@@ -219,8 +219,8 @@ function GetSelnAsDiv()
|
||||
$('.highlight').each(function( index ) {
|
||||
seln+='<div fname="' + $(this).attr('fname') + '" yr="' + $(this).attr('yr') +
|
||||
'" date="' + $(this).attr('date') +
|
||||
'" class="px-1 mx-1">' + $(this).children().html() + '</div>'
|
||||
seln = seln.replace(':absolute; bottom: 2', ':relative; bottom: 18')
|
||||
'" class="px-1">' + $(this).children().parent().html() + '</div>'
|
||||
seln+='<input type="hidden" name="eid-'+index+'" value="'+$(this).attr('id')+'">'
|
||||
} )
|
||||
return '<div class="row col-lg-12">'+seln+'</div>'
|
||||
}
|
||||
@@ -292,17 +292,19 @@ function MoveDBox()
|
||||
div =`
|
||||
<div class="form-row col-lg-12">
|
||||
<p class="col">Moving the following files?</p>
|
||||
</div>`
|
||||
</div>
|
||||
<form class="form form-control-inline col-lg-12" method="POST" action="/move_files">
|
||||
`
|
||||
div+=GetSelnAsDiv()
|
||||
yr=$('.highlight').first().attr('yr')
|
||||
dt=$('.highlight').first().attr('date')
|
||||
div+=`
|
||||
<form class="form form-control-inline col-lg-12" method="POST" action="/move_files">
|
||||
<div class="input-group col-lg-12 my-3">
|
||||
<input type="text" name="prefix" class="input-group-prepend col-lg-3 form-control-plaintext text-right" value="To:
|
||||
<alert class="alert alert-primary my-auto py-1">To: <i class="my-auto fas fa-database"></i>/</alert><input id="prefix" type="text" name="prefix" class="text-primary input-group-prepend col-lg-3 form-control-plaintext text-right"
|
||||
`
|
||||
div+=yr+'/'+dt+"-"
|
||||
div+=`"></input>
|
||||
div+="value="+yr+'/'+dt+"-"
|
||||
div+=`
|
||||
"></input>
|
||||
<input type="text" name="suffix" class="col-lg-9 form-control" placeholder="name"> </input>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user