<commit_before><?php
/**
 * Created by PhpStorm.
 * User: tofid
 * Date: 03.03.15
 * Time: 18:13
 */

use frontend\components\widgets\Menu;
use Yii;
?>

<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <?= $this->render('gravatar'); ?>
            </div>
            <div class="pull-left info">
                <p><?= Yii::$app->user->identity->username ?></p>

                <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>
        <!-- search form -->
        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search..."/>
              <span class="input-group-btn">
                <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
              </span>
            </div>
        </form>
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->

        <?= Menu::widget(
            [
                'options' => [
                    'class' => 'sidebar-menu'
                ],
                'items' => [
                    [
                        'label' => Yii::t('app', 'MAIN NAVIGATION'),
                        'options' => ['class' => 'header'],
                    ],
                    [
                        'label' => 'Dashboard',
                        'url' => ['/hipanel'],
                        'icon' => 'fa-dashboard',
                        'active' => Yii::$app->request->url === Yii::$app->homeUrl
                    ],
                    [
                        'label' => Yii::t('app', 'Clients'),
                        'url' => ['/client/client/index'],
                        'icon' => 'fa-group',
                        'items' => [
                            [
                                'label' => Yii::t('app', 'Clients list'),
                                'url' => ['/client/client/index'],
                                'icon' => 'fa-circle-o',
                            ],
                            [
                                'label' => Yii::t('app', 'Mailings'),
                                'url' => ['/client/mailing/index'],
                                'icon' => 'fa-circle-o',
                            ],
                            [
                                'label' => Yii::t('app', 'News and articles'),
                                'url' => ['/client/article/index'],
                                'icon' => 'fa-circle-o',
                            ],
                        ]
                    ],
                    [
                        'label' => Yii::t('app', 'Tickets'),
                        'url' => ['/ticket/ticket/index'],
                        'icon' => 'fa-ticket',
                        'items' => [
                            [
                                'label' => Yii::t('app', 'Tickets'),
                                'url' => ['/ticket/ticket/index'],
                                'icon' => 'fa-circle-o',
                            ],
                            [
                                'label' => Yii::t('app', 'Tickets settings'),
                                'url' => ['/ticket/ticket/settings'],
                                'icon' => 'fa-circle-o',
                            ],
                        ]
                    ],
                    [<commit_msg>Add submenu Ticket statistick<commit_after><?php
/**
 * Created by PhpStorm.
 * User: tofid
 * Date: 03.03.15
 * Time: 18:13
 */

use frontend\components\widgets\Menu;
use Yii;
?>

<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <?= $this->render('gravatar'); ?>
            </div>
            <div class="pull-left info">
                <p><?= Yii::$app->user->identity->username ?></p>

                <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>
        <!-- search form -->
        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search..."/>
              <span class="input-group-btn">
                <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
              </span>
            </div>
        </form>
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->

        <?= Menu::widget(
            [
                'options' => [
                    'class' => 'sidebar-menu'
                ],
                'items' => [
                    [
                        'label' => Yii::t('app', 'MAIN NAVIGATION'),
                        'options' => ['class' => 'header'],
                    ],
                    [
                        'label' => 'Dashboard',
                        'url' => ['/hipanel'],
                        'icon' => 'fa-dashboard',
                        'active' => Yii::$app->request->url === Yii::$app->homeUrl
                    ],
                    [
                        'label' => Yii::t('app', 'Clients'),
                        'url' => ['/client/client/index'],
                        'icon' => 'fa-group',
                        'items' => [
                            [
                                'label' => Yii::t('app', 'Clients list'),
                                'url' => ['/client/client/index'],
                                'icon' => 'fa-circle-o',
                            ],
                            [
                                'label' => Yii::t('app', 'Mailings'),
                                'url' => ['/client/mailing/index'],
                                'icon' => 'fa-circle-o',
                            ],
                            [
                                'label' => Yii::t('app', 'News and articles'),
                                'url' => ['/client/article/index'],
                                'icon' => 'fa-circle-o',
                            ],
                        ]
                    ],
                    [
                        'label' => Yii::t('app', 'Tickets'),
                        'url' => ['/ticket/ticket/index'],
                        'icon' => 'fa-ticket',
                        'items' => [
                            [
                                'label' => Yii::t('app', 'Tickets'),
                                'url' => ['/ticket/ticket/index'],
                                'icon' => 'fa-circle-o',
                            ],
                            [
                                'label' => Yii::t('app', 'Tickets settings'),
                                'url' => ['/ticket/ticket/settings'],
                                'icon' => 'fa-circle-o',
                            ],
                            [
                                'label' => Yii::t('app', 'Tickets statistic'),
                                'url' => ['/ticket/ticket/statistic'],
                                'icon' => 'fa-circle-o',
                            ],
                        ]
                    ],
                    [
{'fraction_non_alphanumeric': 0.1660612350804359, 'fraction_numerical': 0.002594706798131811, 'mean_word_length': 0.8302469135802469, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 152, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2757612', 'n_tokens_mistral': 1988, 'n_tokens_neox': 1855, 'n_words': 333}