<?php

use yii\bootstrap\Alert;

if (Yii::$app->session->getFlash('message') != null) {
    echo Alert::widget([
        'options' => [
            'class' => 'alert-info',
        ],
        'body' => Yii::$app->session->getFlash('message'),
    ]);
}

use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
use yii\widgets\Menu;
use yii\bootstrap\Tabs;
use yii\widgets\ActiveForm;
use yii\bootstrap\Button;

$this->title = 'Routerboard';
$this->params['breadcrumbs'] = [
    'Mikrotik',
    'System',
    $this->title,
];
?>
<div class="site-plugins">
    <div class="row">
        <div class="col-lg-3">
            <?php
            echo Menu::widget($menu);
            ?> 
        </div>
        <div class="col-md-9">
            <h1 style="margin-top: 0px"><?= Html::encode($this->title) ?></h1>
            <?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
            <?= $form->field($model, 'routerboard')->checkBox(['readonly' => true]); ?>
            <?= $form->field($model, 'model')->label('Model')->textInput(['readonly' => true]); ?>
            <?= $form->field($model, 'serial_number')->label('Serial Number')->textInput(['readonly' => true]); ?>
            <?= $form->field($model, 'firmware_type')->label('Firmware Type')->textInput(['readonly' => true]); ?>
            <?= $form->field($model, 'factory_firmware')->label('Factory Firmware')->textInput(['readonly' => true]); ?>
            <?= $form->field($model, 'current_firmware')->label('Current Firmware')->textInput(['readonly' => true]); ?>
            <?= $form->field($model, 'upgrade_firmware')->label('Upgrade Firmware')->textInput(['readonly' => true]); ?>

            <?php ActiveForm::end(); ?> 



        </div>
    </div>
</div>



