当前位置: 首页>>代码示例>>PHP>>正文


PHP Html::panel方法代码示例

本文整理汇总了PHP中kartik\helpers\Html::panel方法的典型用法代码示例。如果您正苦于以下问题:PHP Html::panel方法的具体用法?PHP Html::panel怎么用?PHP Html::panel使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在kartik\helpers\Html的用法示例。


在下文中一共展示了Html::panel方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: FusionCharts

			<div class="row">
				<!-- KIRI !-->
				<div class="col-lg-4 col-md-4" style="padding-top:10px">
					<div id="chart-piramid"></div>
				</div>
				<!-- KANAN !-->
				<div class="col-lg-8 col-md-8" style="padding-top:10px">
					<?php 
echo Html::panel(['body' => '<div id="chart-cust-parent" style="height:200px"></div> <div id="chart-cust-active-call"  style="height:200px"></div>'], Html::TYPE_INFO);
?>
				</div>
			</div>
		</div>
		<div class="col-xs-12 col-sm-12 col-dm-12  col-lg-12 full-right">			
			<?php 
echo Html::panel(['heading' => 'SALES COMPARE', 'body' => '<div id="chart-cust-active-call"></div>'], Html::TYPE_INFO);
?>
		</div>
	</div>
</div>

<?php 
$this->registerJs('
		/* 
		 * GRAPH PIRAMIT ALL CUSTOMER
		 * @author piter [ptr.nov@gmail.com]
		 * @since 1.1
		*/
		$(document).ready(function () {
			var myPiramidChart = new FusionCharts({
				type: "pyramid",
开发者ID:adem-team,项目名称:advanced,代码行数:31,代码来源:index.php

示例2:

use kartik\helpers\Html;
use ptrnov\fusionchart\Chart;
use ptrnov\fusionchart\ChartAsset;
use yii\helpers\Url;
ChartAsset::register($this);
$mslineDistGudang = Chart::Widget(['urlSource' => url::base() . '/dashboard/rpt-esm-chart-salesmd/dist-stock-gudang', 'userid' => 'piter@lukison.com', 'dataArray' => '[]', 'dataField' => '[]', 'type' => 'mscolumn3d', 'renderid' => 'mscolumn3d-distributor-gudang', 'autoRender' => true, 'width' => '100%', 'height' => '500%', 'chartOption' => ['caption' => 'Daily Customers Visits', 'subCaption' => 'Custommer Call, Active Customer, Efictif Customer', 'xaxisName' => 'Parents', 'yaxisName' => 'Total Child ', 'theme' => 'fint', 'is2D' => "0", 'showValues' => "1", 'palettecolors' => "#583e78,#008ee4,#f8bd19,#e44a00,#6baa01,#ff2e2e", 'bgColor' => "#ffffff", 'showBorder' => "0", 'showCanvasBorder' => "0"]]);
$mslineDistPo = Chart::Widget(['urlSource' => url::base() . '/dashboard/rpt-esm-chart-salesmd/visit-distributor-po', 'userid' => 'piter@lukison.com', 'dataArray' => '[]', 'dataField' => '[]', 'type' => 'mscolumn3d', 'renderid' => 'mscolumn3d-distributor-po-all', 'autoRender' => true, 'width' => '100%', 'height' => '500%', 'chartOption' => ['caption' => 'Daily Customers Visits', 'subCaption' => 'Custommer Call, Active Customer, Efictif Customer', 'xaxisName' => 'Parents', 'yaxisName' => 'Total Child ', 'theme' => 'fint', 'is2D' => "0", 'showValues' => "1", 'palettecolors' => "#583e78,#008ee4,#f8bd19,#e44a00,#6baa01,#ff2e2e", 'bgColor' => "#ffffff", 'showBorder' => "0", 'showCanvasBorder' => "0"]]);
?>

<div class="container-fluid" style="font-family: verdana, arial, sans-serif ;font-size: 8pt; padding-top:-150px">
	<div class="col-xs-12 col-sm-12 col-dm-12  col-lg-12">		
		<div class="row" >
		<button id="print">Print</button>
			<?php 
echo Html::panel(['heading' => false, 'body' => $mslineDistPo], Html::TYPE_INFO);
?>
			
		</div>
	</div>
	<div class="col-xs-12 col-sm-12 col-dm-12  col-lg-12">
		<div class="row" >
			<?php 
echo Html::panel(['heading' => false, 'body' => $mslineDistGudang], Html::TYPE_INFO);
?>
			
		</div>
	</div>
	<button id="print">Print</button>
	
</div>
开发者ID:adem-team,项目名称:advanced,代码行数:30,代码来源:_indexDistibutor.php

示例3:

<?php

use kartik\helpers\Html;
use ptrnov\fusionchart\Chart;
use ptrnov\fusionchart\ChartAsset;
use yii\helpers\Url;
ChartAsset::register($this);
$vwGrantPilotProject = Chart::Widget(['urlSource' => url::base() . '/widget/pilotproject-chat', 'userid' => 'piter@lukison.com', 'dataArray' => '[]', 'dataField' => '[]', 'type' => 'gantt', 'renderid' => 'gant-pilotproject', 'autoRender' => true, 'width' => '100%', 'height' => '350%', 'chartOption' => ['caption' => 'Summary Customers Parents', 'subCaption' => 'Children Count Details', 'xaxisName' => 'Parents', 'yaxisName' => 'Total Child ', 'theme' => 'fint', 'is2D' => "0", 'showValues' => "1", 'palettecolors' => "#583e78,#008ee4,#f8bd19,#e44a00,#6baa01,#ff2e2e", 'bgColor' => "#ffffff", 'showBorder' => "0", 'showCanvasBorder' => "0"]]);
?>



	<div class="row" >		
			<?php 
echo Html::panel(['heading' => false, 'body' => $vwGrantPilotProject], Html::TYPE_INFO);
?>
			<button id="print">Print</button>
	</div>
<?php 
$this->registerJs("\t\r\n\t\t\$(document).ready(function() {\r\n\t\t\t//revenueChart.render();\r\n\t\t});\r\n\t", $this::POS_READY);
开发者ID:adem-team,项目名称:advanced,代码行数:20,代码来源:_indexView.php

示例4: JsExpression

\t\t// change the border color just for fun
\t\t\$(this).css('border-color', 'red');
\t}
EOF;
/*
 * VIEW SCHEDULE ACTUAL
 * @author ptrnov  [ptr.nov@gmail.com]
 * @since 1.2
 */
$calenderActual = yii2fullcalendar\yii2fullcalendar::widget(['id' => 'scdl-actual', 'options' => ['lang' => 'id'], 'ajaxEvents' => Url::to(['/mastercrm/draft-plan/jsoncalendar-actual']), 'clientOptions' => ['selectable' => true, 'selectHelper' => true, 'droppable' => true, 'editable' => true, 'firstDay' => '0', 'selectHelper' => true, 'eventClick' => new JsExpression($JSEventClick)]]);
$btn_exportActual = Html::a('<i class="fa fa-file-excel-o"></i> Export Excel', '/mastercrm/draft-plan/export-modal?flag=0', ['data-toggle' => "modal", 'data-target' => "#modal-export-actual", 'class' => 'btn btn-info btn-sm']);
$btn_set_outcase = Html::a('<i class="fa fa-magic"></i> SET OUT CASE', '/mastercrm/draft-plan/set-out-valid', ['id' => 'set-out-case-id', 'data-toggle' => "modal", 'data-target' => "#modal-Case", 'class' => 'btn btn-warning btn-sm']);
$btn_sync = Html::a('<i class="fa fa-exchange"></i> Syncronize a month', '/mastercrm/draft-plan/set-sync', ['id' => 'sync-approved', 'data-toggle' => "modal", 'data-target' => "#modal-sync", 'class' => 'btn btn-danger btn-sm']);
$info = "<div id =actual><table class='table'><thead>\r\n      <tr>\r\n        <th>#</th>\r\n        <th>TGL</th>\r\n        <th>CUSTOMERS</th>\r\n        <th>LAYER</th>\r\n        <th>STATUS</th>\r\n      </tr>\r\n    </thead> <tbody>\r\n    </tbody>\r\n  </table></div>";
$viewDetailactual = Html::panel(['heading' => '<div style="width:160px">DETAIl GROUP ACTUAL </div>' . ' ' . '<div style="float:right; margin-top:-22px;margin-right:-12px;">' . $btn_set_outcase . '</div>', 'body' => $info], Html::TYPE_DANGER);
$vwScdlActual = Html::panel(['heading' => '<div style="width:160px">' . $btn_exportActual . '</div>' . ' ' . '<div style="float:right; margin-top:-32px;margin-right:0px;">' . $btn_sync . '</div>', 'body' => $ptr_spinerActual . $calenderActual], Html::TYPE_SUCCESS);
?>
<div class="row">
	<div class="col-sm-7 col-md-7 col-lg-7" style="font-family: verdana, arial, sans-serif ;font-size: 8pt">
		<?php 
echo $vwScdlActual;
?>
	</div>
	<div class="col-sm-5 col-md-5 col-lg-5">
		<?php 
echo $viewDetailactual;
?>
	</div>
</div>
<?php 
$this->registerJs("\t\t\r\n         \$.fn.modal.Constructor.prototype.enforceFocus = function(){};\t\t\r\n         \$('#modal-export-actual').on('show.bs.modal', function (event) {\t\t\r\n             var button = \$(event.relatedTarget)\t\t\r\n             var modal = \$(this)\t\t\r\n             var title = button.data('title')\t\t\r\n             var href = button.attr('href')\t\t\r\n             //modal.find('.modal-title').html(title)\t\t\r\n             modal.find('.modal-body').html('<i class=\"fa fa-spinner fa-spin\"></i>')\t\t\r\n             \$.post(href)\t\t\r\n                 .done(function( data ) {\t\t\r\n                     modal.find('.modal-body').html(data)\t\t\r\n                 });\t\t\r\n             })\t\t\r\n     ", $this::POS_READY);
开发者ID:adem-team,项目名称:advanced,代码行数:31,代码来源:_indexViewActual.php

示例5: renderPanel

 /**
  * Returns the bootstrap panel
  *
  * @param string $content
  *
  * @return string
  */
 protected function renderPanel($content)
 {
     $panel = $this->panel;
     $type = ArrayHelper::remove($panel, 'type', self::TYPE_DEFAULT);
     if (($heading = $this->renderPanelTitleBar('heading')) !== false) {
         $panel['heading'] = $heading;
     }
     if (($footer = $this->renderPanelTitleBar('footer')) !== false) {
         $panel['footer'] = $footer;
     }
     $alertBlock = $this->hideAlerts ? '' : $this->renderAlertBlock() . "\n";
     $panel['preBody'] = $alertBlock . $content;
     return Html::panel($panel, $type);
 }
开发者ID:rumatakira,项目名称:yii2-detail-view,代码行数:21,代码来源:DetailView.php

示例6:

			<?php 
echo $gvUser;
?>
		</div>
		<div class="col-md-8">
			<div  class="row">
				<div class="col-md-12">
					<div  class="row">
						<div class="col-md-6">
							<?php 
echo Html::panel(['heading' => 'Calendar Visit	', 'body' => $calenderRt, 'options' => ['style' => ['height' => '150px']]], Html::TYPE_INFO);
?>
						</div>
						<div class="col-md-6">
							<?php 
echo Html::panel(['heading' => 'User Profile', 'body' => 'data user ', 'options' => ['style' => ['height' => '150px']]], Html::TYPE_INFO);
?>
						</div>
					</div>
				</div>
				<div class="col-md-12">
					<?php 
echo $gvScdlHeader;
?>
				</div>
			</div>
		</div>
	</div>
</div>

<?php 
开发者ID:adem-team,项目名称:advanced,代码行数:31,代码来源:index+-+19-07-2016.php

示例7:

                                </form>
                            <!-- /.search form -->
                                <?php 
    /**
     * Author: -ptr.nov-
     * Noted: add variable "sideMenu" get value
     * \vendor\yiisoft\yii2\web\View.php
     */
    $side_menu = '';
    //echo $this->sideMenu;
    if ($this->sideMenu != false) {
        $getSideMenu = $this->sideMenu;
        if (M1000::find()->findMenu($this->sideMenu)->one()) {
            $getSideMenu = $this->sideMenu;
        } else {
            echo Html::panel(['heading' => 'variabel $this->sideMenu = "' . $getSideMenu . '"; Tidak ditemukan dalam database dbm000, tabel m1000, tambahkan pada view anda menu yang benar untuk menu samping '], Html::TYPE_INFO);
            $getSideMenu = 'mdefault';
        }
    } else {
        $getSideMenu = 'mdefault';
    }
    $side_menu = \yii\helpers\Json::decode(M1000::find()->findMenu($getSideMenu)->one()->jval);
    if (!Yii::$app->user->isGuest) {
        echo SideNav::widget(['items' => $side_menu, 'encodeLabels' => false, 'type' => SideNav::TYPE_DEFAULT, 'options' => ['class' => 'navbar-default bg-black']]);
    }
    ?>

                        </section>
                    </aside>
                    <div class="content-wrapper">
                        <!--<div class="panel panel-default" style="margin-bottom: 0">!-->
开发者ID:adem-team,项目名称:advanced,代码行数:31,代码来源:main.php

示例8:

<?php

use kartik\helpers\Html;
use ptrnov\fusionchart\Chart;
use ptrnov\fusionchart\ChartAsset;
use yii\helpers\Url;
ChartAsset::register($this);
$mscolumn3dNKAPo = Chart::Widget(['urlSource' => url::base() . '/dashboard/rpt-esm-chart-salesmd/visit-nka-po', 'userid' => 'piter@lukison.com', 'dataArray' => '[]', 'dataField' => '[]', 'type' => 'mscolumn3d', 'renderid' => 'mscolumn3d-NKA-po-all', 'autoRender' => true, 'width' => '100%', 'height' => '500%', 'chartOption' => ['caption' => 'Daily Customers Visits', 'subCaption' => 'Custommer Call, Active Customer, Efictif Customer', 'xaxisName' => 'Parents', 'yaxisName' => 'Total Child ', 'theme' => 'fint', 'is2D' => "0", 'showValues' => "1", 'palettecolors' => "#583e78,#008ee4,#f8bd19,#e44a00,#6baa01,#ff2e2e", 'bgColor' => "#ffffff", 'showBorder' => "0", 'showCanvasBorder' => "0"]]);
?>

<div class="container-fluid" style="font-family: verdana, arial, sans-serif ;font-size: 8pt; padding-top:-150px">
	<div class="col-xs-12 col-sm-12 col-dm-12  col-lg-12">
		<div class="row" >
			<?php 
echo Html::panel(['heading' => false, 'body' => $mscolumn3dNKAPo], Html::TYPE_INFO);
?>
			
		</div>
	</div>
	<button id="print">Print</button>
</div>
开发者ID:adem-team,项目名称:advanced,代码行数:21,代码来源:_indexNKA.php

示例9:

?>
			</div>
		</div>
       <div class="row" >
			<div class="col-xs-12 col-sm-6 col-dm-4  col-lg-4">
				<?php 
echo Html::panel(['id' => 'home1', 'heading' => '<b>DATA MASTER</b>', 'postBody' => Html::listGroup([['content' => 'New Customers', 'url' => '/mastercrm/customers-crm', 'badge' => '0'], ['content' => 'Customers Category', 'url' => '/mastercrm/kategori-customers-crm', 'badge' => '0'], ['content' => 'City Customers', 'url' => '/mastercrm/kota-customers-crm', 'badge' => '0'], ['content' => 'Province Customers', 'url' => '/mastercrm/provinsi-customers-crm', 'badge' => '0'], ['content' => 'Profile', 'url' => '/sistem/crm-user-profile', 'badge' => '0']])], Html::TYPE_INFO);
?>
			</div>
			<div class="col-xs-12 col-sm-6 col-dm-4  col-lg-4" >

				<?php 
echo Html::panel(['id' => 'home1', 'heading' => '<b>DATA PROSES</b>', 'postBody' => Html::listGroup([['content' => 'Import data', 'url' => '/salesman/import-data', 'badge' => '0'], ['content' => 'Jadwal Kunjungan', 'url' => '/salesman/schedule-header-crm', 'badge' => '0'], ['content' => 'Customers Visit Group', 'url' => '/salesman/schedule-group-crm', 'badge' => '0'], ['content' => 'Customers Map', 'url' => '/mastercrm/customers-crm/crm-map', 'badge' => '0'], ['content' => 'Import data Customers', 'url' => '/salesman/import-data', 'badge' => '0']])], Html::TYPE_INFO);
?>
			</div>
			<div class="col-xs-12 col-sm-6 col-dm-4  col-lg-4" >
			<?php 
echo Html::panel(['id' => 'home1', 'heading' => '<b>REPORTING</b>', 'postBody' => Html::listGroup([['content' => 'Sales Daily', 'url' => '/salesman/sales-daily-crm', 'badge' => '0'], ['content' => 'Daily Stock Harian', 'url' => '/salesman/sales-detail-crm', 'badge' => '0'], ['content' => 'monthly Selling Out', 'url' => '/salespromo/report-daily', 'badge' => '0'], ['content' => 'monthly Stock Harian', 'url' => '/salespromo/report-daily', 'badge' => '0']])], Html::TYPE_INFO);
?>

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

    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/scripts.js"></script>
    </body>
    </html>
<?php 
ActiveForm::end();
开发者ID:adem-team,项目名称:advanced,代码行数:31,代码来源:_index_salesman.php

示例10:

/* kd_menu untuk list menu pada sidemenu, get from table of database */
$this->title = Yii::t('app', 'Accounting');
/* title pada header page */
$this->params['breadcrumbs'][] = $this->title;
/* belum di gunakan karena sudah ada list sidemenu, on plan next*/
?>

<?php 
/* echo Html::panel(
		['heading' => 'Employee Properties', 'body' =>$kedua],
		Html::TYPE_SUCCESS
	); */
?>

<div style="backgroud:black">
    <div class="row" style="padding-left: 5px; padding-right: 5px">
        <div class="col-sm-6 col-md-6 col-lg-6 ">			
			<?php 
$content_cc_support = Yii::$app->controller->renderPartial('graph_cc_support', []);
echo Html::panel(['heading' => 'Cost Center Support', 'body' => $content_cc_support], Html::TYPE_INFO);
?>
		</div>
		<div class="col-sm-6 col-md-6 col-lg-6 ">
			<?php 
$content_cc_bisnis = Yii::$app->controller->renderPartial('graph_cc_bisnis', []);
echo Html::panel(['heading' => 'Cost Center Businis', 'body' => $content_cc_bisnis], Html::TYPE_INFO);
?>
		</div>
    </div>
</div>
开发者ID:adem-team,项目名称:advanced,代码行数:30,代码来源:index.php

示例11: array

use scotthuangzl\googlechart\GoogleChart;
//use backend\assets\AppAsset; 	/* CLASS ASSET CSS/JS/THEME Author: -ptr.nov-*/
//AppAsset::register($this);		/* INDEPENDENT CSS/JS/THEME FOR PAGE  Author: -ptr.nov-*/
$this->sideCorp = 'PT.Lukisongroup';
/* Title Select Company pada header pasa sidemenu/menu samping kiri */
$this->sideMenu = 'umum_adminweb_crm';
/* kd_menu untuk list menu pada sidemenu, get from table of database */
$this->title = Yii::t('app', 'LG - Barang Umum Dashboard');
/* title pada header page */
$this->params['breadcrumbs'][] = $this->title;
/* belum di gunakan karena sudah ada list sidemenu, on plan next*/
$pertama = GoogleChart::widget(array('visualization' => 'PieChart', 'data' => array(array('Task', 'Hours per Day'), array('Work', 11), array('Eat', 2), array('Commute', 2), array('Watch TV', 2), array('Sleep', 7))));
$kedua = GoogleChart::widget(array('visualization' => 'PieChart', 'data' => array(array('Task', 'Hours per Day'), array('Work', 11), array('Eat', 2), array('Commute', 2), array('Watch TV', 2), array('Sleep', 7))));
?>


<div class="body-content">
    <div class="row" style="padding-left: 5px; padding-right: 5px">

        <div class="col-sm-4 col-md-4 col-lg-4 ">
            <?php 
echo Html::panel(['heading' => 'Barang Status', 'body' => $pertama], Html::TYPE_SUCCESS);
?>
        </div>
        <div class="col-sm-4 col-md-4 col-lg-4">
            <?php 
echo Html::panel(['heading' => 'Supplier Properties', 'body' => $kedua], Html::TYPE_SUCCESS);
?>
        </div>
    </div>
</div>
开发者ID:adem-team,项目名称:advanced,代码行数:31,代码来源:index.php

示例12:

<?php

use kartik\helpers\Html;
use yii\widgets\DetailView;
use yii\bootstrap\ActiveForm;
use kartik\tabs\TabsX;
use yii\helpers\Json;
use yii\web\Response;
use yii\helpers\ArrayHelper;
use dashboard\assets\AppAssetFusionChart;
AppAssetFusionChart::register($this);
$this->sideCorp = 'PT. ESM';
/* Title Select Company pada header pasa sidemenu/menu samping kiri */
$this->sideMenu = 'effenbi_dboard';
/* kd_menu untuk list menu pada sidemenu, get from table of database */
$this->title = Yii::t('app', 'ESM - Sales Dashboard');
/* title pada header page */
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="container-fluid" style="padding-left: 20px; padding-right: 20px" >
	<div class="row">
		<div class="col-xs-12 col-sm-12 col-dm-12  col-lg-12">
			<?php 
echo Html::panel(['heading' => ' <a class="btn btn-warning btn-xs full-right" href="/efenbi/report"><< BACK MENU </a>  STOCK REVIEW ', 'body' => ''], Html::TYPE_INFO);
?>
		</div>
	</div>
</div>
开发者ID:adem-team,项目名称:advanced,代码行数:28,代码来源:_view_stock.php

示例13: function

$this->title = Yii::t('app', 'ESM - Sales Dashboard');
/* title pada header page */
$this->params['breadcrumbs'][] = $this->title;
/* belum di gunakan karena sudah ada list sidemenu, on plan next*/
?>

<?php 
$map = '<div id ="map" style="width:100%;height:820px"></div>';
?>


<div class="container-fluid" style="padding-left: 20px; padding-right: 20px" >
		<div class="row">
			<div class="col-xs-12 col-sm-12 col-dm-12  col-lg-12">
					<?php 
echo Html::panel(['heading' => '<div>DASHBOARD - Saleman Visit</div>', 'body' => $map], Html::TYPE_INFO);
?>
			</div>
		</div>
       <div class="row" >
			
		</div>
 </div>
 
 <?php 
$this->registerJs("\r\n\t\t/*nampilin MAP*/\r\n\t\t var map = new google.maps.Map(document.getElementById('map'),\r\n\t\t\t  {\r\n\t\t\t\tzoom: 12,\r\n\t\t\t\tcenter: new google.maps.LatLng(-6.229191531958687,106.65994325550469),\r\n\t\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP\r\n\r\n\t\t\t});\r\n\t\t\t\r\n\t\t\tvar public_markers = [];\r\n\t\t\t\r\n\t\t/*data json*/\r\n\t\t\$.getJSON('http://dashboard.lukisongroup.com/efenbi/report/map', function(json) {\r\n\t\t\tfor (var i in public_markers){\r\n\t\t\t\tpublic_markers[i].setMap(null);\r\n\t\t\t}\r\n\r\n\t\t\t\$.each(json, function (i, point) {\r\n\t\t\t\t\tvar marker = new google.maps.Marker({\r\n\t\t\t\t\t// icon: icon,\r\n\t\t\t\t\tposition: new google.maps.LatLng(point.MAP_LAT, point.MAP_LNG),\r\n\t\t\t\t\tanimation:google.maps.Animation.BOUNCE,\r\n\t\t\t\t\tmap: map,\r\n\t\t\t\t\t icon : 'http://labs.google.com/ridefinder/images/mm_20_red.png'\r\n\t\t\t\t});\r\n\t\t\t\t public_markers[i] = marker;\r\n\t\t\t});\r\n\t\t});\t\r\n\t\t\t\r\n\t\t\t\r\n", $this::POS_READY);
?>
 
 
 
 
开发者ID:adem-team,项目名称:advanced,代码行数:27,代码来源:_index_efembi.php

示例14:

		<div class="col-xs-12 col-sm-12 col-dm-12  col-lg-12 full-right">	
			<div class="row">
				<!-- KIRI !-->
				<div class="col-lg-4 col-md-4" style="padding-top:10px">
					<?php 
echo Html::panel(['heading' => 'Monthly Top 5 Plan & Actual Visited', 'body' => '<div id="chart-top5-plan-actual"></div>'], Html::TYPE_INFO);
?>
				</div>		
				<div class="col-lg-4 col-md-4" style="padding-top:10px">
					<?php 
echo Html::panel(['heading' => 'Monthly Top 5 Inventory Visited', 'body' => '<div id="chart-top5-inventory"></div>'], Html::TYPE_INFO);
?>
				</div>		
				<div class="col-lg-4 col-md-4" style="padding-top:10px">
					<?php 
echo Html::panel(['heading' => 'Monthly Top 5 Salesman Visited', 'body' => '<div id="chart-top5-request-order"></div>'], Html::TYPE_INFO);
?>
				</div>		
			</div>
		</div>
	</div>
</div>

<?php 
$this->registerJs('
		/* 
		 * GRAPH PIRAMIT ALL CUSTOMER
		 * @author piter [ptr.nov@gmail.com]
		 * @since 1.1
		*/
		$(document).ready(function () {
开发者ID:adem-team,项目名称:advanced,代码行数:31,代码来源:index.php

示例15:

		</div>
       <div class="row" >
			<div class="col-xs-12 col-sm-6 col-dm-4  col-lg-4">
				<?php 
Pjax::begin();
echo Html::panel(['id' => 'home1', 'heading' => '<b>DATA PROSESS</b>', 'postBody' => Html::listGroup([['content' => 'Stock Gudang', 'url' => '/salespromo/stock-gudang', 'badge' => '0'], ['content' => 'Stock Promo', 'url' => '/salespromo/stock-promo', 'badge' => '0'], ['content' => 'Penjualan', 'url' => '/salespromo/penjualan', 'badge' => '0'], ['content' => 'Promo', 'url' => '/salespromo/penjualan-promo', 'badge' => '0']])], Html::TYPE_WARNING);
Pjax::end();
?>
			</div>
			<div class="col-xs-12 col-sm-6 col-dm-4  col-lg-4" >
				
				<?php 
echo Html::panel(['id' => 'home1', 'heading' => '<b>WIDGET</b>', 'postBody' => Html::listGroup([['content' => 'Jadwal Kunjungan', 'url' => '/salespromo/schadule', 'badge' => '0'], ['content' => 'Peta Customer', 'url' => '/salespromo/customer-map', 'badge' => '0'], ['content' => 'Absensi', 'url' => '/salespromo/absensi', 'badge' => '0'], ['content' => 'Profile', 'url' => '/salespromo/profile', 'badge' => '0']])], Html::TYPE_WARNING);
?>
			</div>
			<div class="col-xs-12 col-sm-6 col-dm-4  col-lg-4" >
			<?php 
echo Html::panel(['id' => 'home1', 'heading' => '<b>REPORTING</b>', 'postBody' => Html::listGroup([['content' => 'Prodak', 'url' => '/salespromo/prodak', 'badge' => '0'], ['content' => 'Penjualan Harian', 'url' => '/salespromo/report-daily', 'badge' => '0'], ['content' => 'Penjualan Bulanan', 'url' => '/salespromo/report-monthly', 'badge' => '0'], ['content' => 'Penjualan perTahun', 'url' => '/salespromo/report-monthly', 'badge' => '0']])], Html::TYPE_WARNING);
?>
				
			</div>
		</div>
 </div>

    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/scripts.js"></script>
    </body>
    </html>
<?php 
ActiveForm::end();
开发者ID:adem-team,项目名称:advanced,代码行数:31,代码来源:_index_salespromo.php


注:本文中的kartik\helpers\Html::panel方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。