Ejemplo n.º 1
0
<?php

/**
 * @author Semenov Alexander <*****@*****.**>
 * @link http://skeeks.com/
 * @copyright 2010 SkeekS (СкикС)
 * @date 23.06.2015
 */
echo \skeeks\cms\widgets\ssh\SshConsoleWidget::widget();
Ejemplo n.º 2
0
?>
 <span class="sx-executing-ptc">0</span>%)</h3></span>
        <span style="vertical-align:middle;"><?php 
echo \Yii::t('app', 'Stage');
?>
: <span class="sx-executing-task-name"></span></span>
        <div>
            <div class="progress progress-striped active">
                <div class="progress-bar progress-bar-success"></div>
            </div>
        </div>
        <hr />
    </div>
    <div id="sx-tmp-result"></div>
    <div id="sx-ssh-console-wrapper" style="display: none;">
        <?php 
echo \skeeks\cms\widgets\ssh\SshConsoleWidget::widget(['enabledTabs' => \skeeks\cms\components\Cms::BOOL_N, 'consoleHeight' => '400px;']);
?>
    </div>

</div>


<?php 
$this->registerJs(<<<JS
    (function(sx, \$, _)
    {
        sx.Installer = new sx.classes.Installer({$widget->getClientOptionsJson()});
    })(sx, sx.\$, sx._);
JS
);