<?php
// Copyright 1999-2017. Plesk International GmbH. All Rights Reserved.
?>
<div class="s-btn" id="remove-session-button-<?php echo $this->sessionId; ?>" style="cursor: pointer; color: #2498e3">
    <img src="<?php echo $this->migratorImage('list-of-migrations-finish-migration-button.png'); ?>"> <?php echo $this->lmsg('finishMigration'); ?>
</div>
<script type="text/javascript">
    //<![CDATA[
    Jsw.onReady(function() {
        $('remove-session-button-<?php echo $this->sessionId; ?>').observe(
            'click', function () {
                finishMigration(<?php echo $this->sessionId; ?>);
            }
        );
    });
    //]]>
</script>