<?php
/**
 * View: End/quit page for a BBB session.
 *
 * @var k7zz\humhub\bbb\models\forms\SessionForm $session  The session form model
 */
use yii\helpers\Html;
?>

<div class="content">
    <div id="layout-content">
        <div class="container-fluid">
            <div class="card">
                <div class="card-header">
                    <h1>Action handles response. Quit view unused <?= Html::encode($session->title) ?></h1>
                </div>
            </div>
        </div>
    </div>
</div>
<?php
$this->registerJs("
    if (top != self) {
        top.location.href = '/bbb/sessions?highlight=" . rawurlencode($session->id) . "'; 
  }
    else
        window.close();    
", \yii\web\View::POS_HEAD);
?>