Skip to content

Commit

Permalink
Finished the super pixel re-calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
wawong committed Oct 29, 2020
1 parent e78f004 commit ea89ce1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/controllers/Super_pixel.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function isRunOverlayDone($sp_id)
else
$base_url = "https://cdeep3m-viewer-stage.crbs.ucsd.edu";

$url = $base_url."/super_pixel_rest/isGenMasksDone/".$sp_id;
$url = $base_url."/super_pixel_rest/isRunOverlayDone/".$sp_id;
$cutil = new CurlUtil();
$response = $cutil->curl_get($url, "");
if(is_null($response))
Expand Down
10 changes: 7 additions & 3 deletions application/views/super_pixel/super_pixel_display.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,14 @@
<div class="col-md-4"></div>
</div>
<div class="row">

<div class="col-md-12">
<br/>
</div>
<div class="col-md-12">
<center><button type="submit" value="Submit" class="btn btn-info">Submit</button></center>
<center><button id="recalculate_submit_id" name="recalculate_submit_id" type="submit" value="Submit" class="btn btn-info">Submit</button></center>
</div>
<div class="col-md-12" id="recalculate_wait_id" name="recalculate_wait_id">
</div>
</div>

Expand Down Expand Up @@ -227,8 +230,9 @@ function recalculate_sp()

function validate_recalculate()
{
consoloe.log('validate_recalculate');

//consoloe.log('validate_recalculate');
document.getElementById('recalculate_submit_id').disabled = true;
document.getElementById('recalculate_wait_id').innerHTML = '<br/><center>Waiting...</center>';
}

</script>
Expand Down

0 comments on commit ea89ce1

Please sign in to comment.