fix BUG-49 (images in DBox no horizontally spaced) and fixed spacing between images and buttons
This commit is contained in:
3
BUGs
3
BUGs
@@ -1,2 +1 @@
|
|||||||
### Next: 49
|
### Next: 50
|
||||||
BUG-49: Move and Del DBoxes are showing thumbnails vertically not horizontally
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ function GetSelnAsDiv()
|
|||||||
$('.highlight').each(function( index ) {
|
$('.highlight').each(function( index ) {
|
||||||
seln+='<div fname="' + $(this).attr('fname') + '" yr="' + $(this).attr('yr') +
|
seln+='<div fname="' + $(this).attr('fname') + '" yr="' + $(this).attr('yr') +
|
||||||
'" date="' + $(this).attr('date') +
|
'" date="' + $(this).attr('date') +
|
||||||
'" class="px-1">' + $(this).children().parent().html() + '</div>'
|
'" class="px-1 col col-auto">' + $(this).children().parent().html() + '</div>'
|
||||||
seln+='<input type="hidden" name="eid-'+index+'" value="'+$(this).attr('id')+'">'
|
seln+='<input type="hidden" name="eid-'+index+'" value="'+$(this).attr('id')+'">'
|
||||||
} )
|
} )
|
||||||
return '<div class="row col-12">'+seln+'</div>'
|
return '<div class="row col-12">'+seln+'</div>'
|
||||||
@@ -26,8 +26,6 @@ function RunAIOnSeln(person)
|
|||||||
|
|
||||||
function MoveDBox(sps, db_url)
|
function MoveDBox(sps, db_url)
|
||||||
{
|
{
|
||||||
console.log(sps)
|
|
||||||
console.log(db_url)
|
|
||||||
$('#dbox-title').html('Move Selected File(s) to new directory in Storage Path')
|
$('#dbox-title').html('Move Selected File(s) to new directory in Storage Path')
|
||||||
div =`
|
div =`
|
||||||
<div class="form-row col-12">
|
<div class="form-row col-12">
|
||||||
@@ -64,8 +62,7 @@ function MoveDBox(sps, db_url)
|
|||||||
"></input>
|
"></input>
|
||||||
<input type="text" name="suffix" class="form-control" placeholder="name"> </input>
|
<input type="text" name="suffix" class="form-control" placeholder="name"> </input>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<div class="form-row col-12 mt-2">
|
||||||
<div class="form-row col-12">
|
|
||||||
<button onClick="$('#dbox').modal('hide'); return false;" class="btn btn-outline-secondary offset-1 col-2">Cancel</button>
|
<button onClick="$('#dbox').modal('hide'); return false;" class="btn btn-outline-secondary offset-1 col-2">Cancel</button>
|
||||||
<button onClick="$('#dbox').modal('hide'); $('#mv_fm').submit(); return false;" class="btn btn-outline-primary col-2">Ok</button>
|
<button onClick="$('#dbox').modal('hide'); $('#mv_fm').submit(); return false;" class="btn btn-outline-primary col-2">Ok</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -81,7 +78,7 @@ function DelDBox(del_or_undel)
|
|||||||
$('#dbox-title').html(del_or_undel+' Selected File(s)')
|
$('#dbox-title').html(del_or_undel+' Selected File(s)')
|
||||||
div ='<div class="row col-12"><p class="col">' + del_or_undel + ' the following files?</p></div>'
|
div ='<div class="row col-12"><p class="col">' + del_or_undel + ' the following files?</p></div>'
|
||||||
div+=GetSelnAsDiv()
|
div+=GetSelnAsDiv()
|
||||||
div+=`<div class="row col-12">
|
div+=`<div class="row col-12 mt-3">
|
||||||
<button onClick="$('#dbox').modal('hide')" class="btn btn-outline-secondary col-2">Cancel</button>
|
<button onClick="$('#dbox').modal('hide')" class="btn btn-outline-secondary col-2">Cancel</button>
|
||||||
`
|
`
|
||||||
div+=`
|
div+=`
|
||||||
|
|||||||
Reference in New Issue
Block a user