Example #1
0
<?php 
} else {
    ?>
    <?php 
    \yii\bootstrap\Alert::begin(['options' => ['class' => 'alert-info']]);
    ?>
        <p><?php 
    echo \Yii::t('app', 'You can choose the suitable solution for your project and install it.');
    ?>
</p>
        <p><?php 
    echo \Yii::t('app', 'Future versions will be integrated {market} here. For now, simply click the link below.', ['market' => \Yii::t('app', 'Marketplace')]);
    ?>
</p>
    <?php 
    \yii\bootstrap\Alert::end();
    ?>

    <div class="sx-marketplace">
        <a href="http://marketplace.cms.skeeks.com/" target="_blank">Marketplace.CMS.SkeekS.com</a> — <?php 
    echo \Yii::t('app', 'catalog of available solutions');
    ?>
    </div>

<?php 
    $this->registerCss(<<<CSS
.sx-marketplace
{
    text-align: center;
    font-size: 30px;
    color: #e74c3c;
Example #2
0
?>
<div id="main-content">
	<div class="change-password">
		<div class="wrapper-150">
			<h1 class="page-title">Change Password</h1>
			<?php
				if ($success) {
					Alert::begin([
					    'options' => [
					        'class' => 'alert-success',
					    ],
					]);
					
					echo 'Password changed successfully.';
					
					Alert::end();
				}
			?>
			<div class="one-column help-bg-gray pdt-one-column" >
				<?php 
			    	$js = 'function beforeValidate(form) {if ( form.data("cancel") {this.validateOnSubmit = false;this.beforeValidate = "";form.submit();return false;}return true;}';
			    	$form = ActiveForm::begin([
			    	'options' => ['class' => 'form-horizontal'],
			    	'fieldConfig' => [
			    		'template' => '<div class="control-group">{label}<div class="f-inline-size">{input}</div><div class=\"col-lg-8\">{error}</div></div>',
			    	],
			    ]); ?>
			    
			    	<?= $form->field($model, 'oldPassword')->textInput(['maxlength' => 32,
													  	   			 'class' => 'uborder help-40percent'])->label('Old Password', ['class' => 'control-label-f'])->passwordInput() ?>