Index Sebelum Login

parent 075a70bd
...@@ -22,10 +22,24 @@ class SiteController extends Controller ...@@ -22,10 +22,24 @@ class SiteController extends Controller
'class' => AccessControl::className(), 'class' => AccessControl::className(),
'rules' => [ 'rules' => [
[ [
'actions' => ['index', 'index'],
'allow' => true,
],
[
'actions' => ['login', 'error'], 'actions' => ['login', 'error'],
'allow' => true, 'allow' => true,
], ],
[ [
'actions' => ['about', 'index'],
'allow' => true,
'roles' => ['@'],
],
[
'actions' => ['daftar_SMP', 'index'],
'allow' => true,
'roles' => ['@'],
],
[
'actions' => ['logout', 'index'], 'actions' => ['logout', 'index'],
'allow' => true, 'allow' => true,
'roles' => ['@'], 'roles' => ['@'],
...@@ -50,6 +64,10 @@ class SiteController extends Controller ...@@ -50,6 +64,10 @@ class SiteController extends Controller
'error' => [ 'error' => [
'class' => 'yii\web\ErrorAction', 'class' => 'yii\web\ErrorAction',
], ],
'captcha' => [
'class' => 'yii\captcha\CaptchaAction',
'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null,
],
]; ];
} }
...@@ -60,7 +78,11 @@ class SiteController extends Controller ...@@ -60,7 +78,11 @@ class SiteController extends Controller
*/ */
public function actionIndex() public function actionIndex()
{ {
return $this->render('index'); return $this->render('index',
[
]
);
} }
/** /**
...@@ -77,11 +99,11 @@ class SiteController extends Controller ...@@ -77,11 +99,11 @@ class SiteController extends Controller
$model = new LoginForm(); $model = new LoginForm();
if ($model->load(Yii::$app->request->post()) && $model->login()) { if ($model->load(Yii::$app->request->post()) && $model->login()) {
return $this->goBack(); return $this->goBack();
} else {
return $this->render('login', [
'model' => $model,
]);
} }
return $this->render('login', [
'model' => $model,
]);
} }
/** /**
...@@ -96,6 +118,24 @@ class SiteController extends Controller ...@@ -96,6 +118,24 @@ class SiteController extends Controller
return $this->goHome(); return $this->goHome();
} }
public function actionAbout() {
return $this->render('about',
[
]
);
}
public function actionDaftar_SMP() {
return $this->render('daftar_SMP',
[
]
);
}
public function actionTest() public function actionTest()
{ {
return $this->render('test'); return $this->render('test');
......
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\helpers\Url;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
/* @var $this \yii\web\View */ /* @var $this \yii\web\View */
/* @var $content string */ /* @var $content string */
?> ?>
<?php
$script = <<< JS
$(document).ready(function(){
var pathArray = window.location.pathname.split( '/' );
});
JS;
$this->registerJs($script, \yii\web\View::POS_END);
?>
<?php
if(
Yii::$app->controller->id === 'site' && Yii::$app->controller->action->id === 'index'||
Yii::$app->controller->id === 'site' && Yii::$app->controller->action->id === 'daftar_TK'||
Yii::$app->controller->id === 'site' && Yii::$app->controller->action->id === 'daftar_SD'||
Yii::$app->controller->id === 'site' && Yii::$app->controller->action->id === 'daftar_SMP'
){
?>
<header class="main-header">
<?php NavBar::begin([
'brandLabel' => '<table><tr><td><img src="'.Yii::getAlias('@web').'/images/logo_emarsada.png'.'"
height="30" width="50"></td><td></td><td><b>SI-Pendidikan</b></tr></table>',
//'brandLabel' =>'Dinas Perizinan',
'brandUrl' => Yii::$app->homeUrl,
'options' => [
'class' => 'navbar navbar-static-top',
'style'=> 'height: 60px',
],
]);
<header class="main-header">
<?= Html::a('<span class="logo-mini">SADisPen</span><span class="logo-lg">SI Pendidikan</span>', Yii::$app->homeUrl, ['class' => 'logo']) ?> $menuItems = [
['label' => 'HOME', 'url' => ['/site/index']],
<nav class="navbar navbar-static-top" role="navigation"> [
'label' => 'PROFIL SI-Pendidikan ',
'items' => [
['label' => 'Data 1', 'url' => ['#']],
'<li class="divider"></li>',
['label' => 'Data 2', 'url' => ['#']],
'<li class="divider"></li>',
['label' => 'Data 3', 'url' => ['#']],
],
],
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"> ['label' => 'Daftar TK/PAUD', 'url' => ['/site/daftar_TK']],
<span class="sr-only">Toggle navigation</span> ['label' => 'Daftar SD', 'url' => ['/site/daftar_SD']],
</a> ['label' => 'Daftar SMP', 'url' => ['/site/daftar_SMP']],
['label' => 'LOGIN', 'url' => ['/site/about']],
];
<div class="navbar-custom-menu"> echo Nav::widget([
'options' => ['class' => 'navbar-nav navbar-right'],
<ul class="nav navbar-nav"> 'items' => $menuItems,
]);
<!-- Messages: style can be found in dropdown.less--> NavBar::end();
<li class="dropdown messages-menu"> ?>
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> </header>
<i class="fa fa-envelope-o"></i> <?php } else { ?>
<span class="label label-success">4</span> <header class="main-header">
</a>
<ul class="dropdown-menu">
<li class="header">You have 4 messages</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li><!-- start message -->
<a href="#">
<div class="pull-left">
<img src="<?= $directoryAsset ?>/img/user2-160x160.jpg" class="img-circle"
alt="User Image"/>
</div>
<h4>
Support Team
<small><i class="fa fa-clock-o"></i> 5 mins</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<!-- end message -->
<li>
<a href="#">
<div class="pull-left">
<img src="<?= $directoryAsset ?>/img/user3-128x128.jpg" class="img-circle"
alt="user image"/>
</div>
<h4>
AdminLTE Design Team
<small><i class="fa fa-clock-o"></i> 2 hours</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="<?= $directoryAsset ?>/img/user4-128x128.jpg" class="img-circle"
alt="user image"/>
</div>
<h4>
Developers
<small><i class="fa fa-clock-o"></i> Today</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="<?= $directoryAsset ?>/img/user3-128x128.jpg" class="img-circle"
alt="user image"/>
</div>
<h4>
Sales Department
<small><i class="fa fa-clock-o"></i> Yesterday</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
<li>
<a href="#">
<div class="pull-left">
<img src="<?= $directoryAsset ?>/img/user4-128x128.jpg" class="img-circle"
alt="user image"/>
</div>
<h4>
Reviewers
<small><i class="fa fa-clock-o"></i> 2 days</small>
</h4>
<p>Why not buy a new awesome theme?</p>
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">See All Messages</a></li>
</ul>
</li>
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bell-o"></i>
<span class="label label-warning">10</span>
</a>
<ul class="dropdown-menu">
<li class="header">You have 10 notifications</li>
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<li>
<a href="#">
<i class="fa fa-users text-aqua"></i> 5 new members joined today
</a>
</li>
<li>
<a href="#">
<i class="fa fa-warning text-yellow"></i> Very long description here that may
not fit into the page and may cause design problems
</a>
</li>
<li>
<a href="#">
<i class="fa fa-users text-red"></i> 5 new members joined
</a>
</li>
<li> <?= Html::a('<span class="logo-mini">SADisPen</span><span class="logo-lg">SI Pendidikan</span>', Yii::$app->homeUrl, ['class' => 'logo']) ?>
<a href="#">
<i class="fa fa-shopping-cart text-green"></i> 25 sales made <nav class="navbar navbar-static-top" role="navigation">
</a>
</li> <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<li> <span class="sr-only">Toggle navigation</span>
<a href="#"> </a>
<i class="fa fa-user text-red"></i> You changed your username
</a> <div class="navbar-custom-menu">
</li> <ul class="nav navbar-nav">
</ul> <?php
</li> if(\Yii::$app->user->isGuest){
<li class="footer"><a href="#">View all</a></li>
</ul> }
</li> else{
<!-- Tasks: style can be found in dropdown.less --> ?>
<li class="dropdown tasks-menu"> <li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-flag-o"></i> <img src="<?= $directoryAsset ?>/img/user2-160x160.jpg" class="user-image" alt="User Image"/>
<span class="label label-danger">9</span> <span class="hidden-xs"><?= Yii::$app->user->identity->username ?></span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li class="header">You have 9 tasks</li> <!-- User image -->
<li> <li class="user-header">
<!-- inner menu: contains the actual data --> <img src="<?= $directoryAsset ?>/img/user2-160x160.jpg" class="img-circle"
<ul class="menu"> alt="User Image"/>
<li><!-- Task item -->
<a href="#"> <p>
<h3> <?= Yii::$app->user->identity->username ?><br>
Design some buttons <?= Yii::$app->user->identity->email ?>
<small class="pull-right">20%</small> </p>
</h3>
<div class="progress xs">
<div class="progress-bar progress-bar-aqua" style="width: 20%"
role="progressbar" aria-valuenow="20" aria-valuemin="0"
aria-valuemax="100">
<span class="sr-only">20% Complete</span>
</div>
</div>
</a>
</li>
<!-- end task item -->
<li><!-- Task item -->
<a href="#">
<h3>
Create a nice theme
<small class="pull-right">40%</small>
</h3>
<div class="progress xs">
<div class="progress-bar progress-bar-green" style="width: 40%"
role="progressbar" aria-valuenow="20" aria-valuemin="0"
aria-valuemax="100">
<span class="sr-only">40% Complete</span>
</div>
</div>
</a>
</li>
<!-- end task item -->
<li><!-- Task item -->
<a href="#">
<h3>
Some task I need to do
<small class="pull-right">60%</small>
</h3>
<div class="progress xs">
<div class="progress-bar progress-bar-red" style="width: 60%"
role="progressbar" aria-valuenow="20" aria-valuemin="0"
aria-valuemax="100">
<span class="sr-only">60% Complete</span>
</div>
</div>
</a>
</li> </li>
<!-- end task item --> <!-- Menu Footer-->
<li><!-- Task item --> <li class="user-footer">
<a href="#"> <div class="pull-left">
<h3> <a href="#" class="btn btn-default btn-flat">Profile</a>
Make beautiful transitions </div>
<small class="pull-right">80%</small> <div class="pull-right">
</h3> <?= Html::a(
<div class="progress xs"> 'Sign out',
<div class="progress-bar progress-bar-yellow" style="width: 80%" ['/site/logout'],
role="progressbar" aria-valuenow="20" aria-valuemin="0" ['data-method' => 'post', 'class' => 'btn btn-default btn-flat']
aria-valuemax="100"> ) ?>
<span class="sr-only">80% Complete</span> </div>
</div>
</div>
</a>
</li> </li>
<!-- end task item -->
</ul> </ul>
</li> </li>
<li class="footer"> <?php
<a href="#">View all tasks</a> }
</li> ?>
</ul> </ul>
</li> </div>
<!-- User Account: style can be found in dropdown.less --> </nav>
</header>
<li class="dropdown user user-menu"> <?php } ?>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="<?= $directoryAsset ?>/img/user2-160x160.jpg" class="user-image" alt="User Image"/>
<span class="hidden-xs">Alexander Pierce</span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="<?= $directoryAsset ?>/img/user2-160x160.jpg" class="img-circle"
alt="User Image"/>
<p>
Alexander Pierce - Web Developer
<small>Member since Nov. 2012</small>
</p>
</li>
<!-- Menu Body -->
<li class="user-body">
<div class="col-xs-4 text-center">
<a href="#">Followers</a>
</div>
<div class="col-xs-4 text-center">
<a href="#">Sales</a>
</div>
<div class="col-xs-4 text-center">
<a href="#">Friends</a>
</div>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="#" class="btn btn-default btn-flat">Profile</a>
</div>
<div class="pull-right">
<?= Html::a(
'Sign out',
['/site/logout'],
['data-method' => 'post', 'class' => 'btn btn-default btn-flat']
) ?>
</div>
</li>
</ul>
</li>
<!-- User Account: style can be found in dropdown.less -->
<li>
<a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
</li>
</ul>
</div>
</nav>
</header>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
'items' => [ 'items' => [
['label' => 'Menu Yii2', 'options' => ['class' => 'header']], ['label' => 'Menu Yii2', 'options' => ['class' => 'header']],
['label' => 'Gii', 'icon' => 'file-code-o', 'url' => ['/gii']], ['label' => 'Gii', 'icon' => 'file-code-o', 'url' => ['/gii']],
['label' => 'Home', 'icon' => 'dashboard', 'url' =>['/'] ], ['label' => 'Home', 'icon' => 'dashboard', 'url' =>['/site/about'] ],
['label' => 'User', 'icon' => 'fa fa-user', 'url' => ['/users/index']], ['label' => 'User', 'icon' => 'fa fa-user', 'url' => ['/users/index']],
['label' => 'Sekolah', 'icon' => 'fa fa-book', 'url' => ['/sekolah/index']], ['label' => 'Sekolah', 'icon' => 'fa fa-book', 'url' => ['/sekolah/index']],
['label' => 'Login', 'url' => ['site/login'], 'visible' => Yii::$app->user->isGuest], ['label' => 'Login', 'url' => ['site/login'], 'visible' => Yii::$app->user->isGuest],
......
...@@ -4,26 +4,22 @@ use yii\helpers\Html; ...@@ -4,26 +4,22 @@ use yii\helpers\Html;
/* @var $this \yii\web\View */ /* @var $this \yii\web\View */
/* @var $content string */ /* @var $content string */
if (Yii::$app->controller->action->id === 'login') {
if (Yii::$app->controller->action->id === 'login') {
/** /**
* Do not use this code in your template. Remove it. * Do not use this code in your template. Remove it.
* Instead, use the code $this->layout = '//main-login'; in your controller. * Instead, use the code $this->layout = '//main-login'; in your controller.
*/ */
echo $this->render( echo $this->render(
'main-login', 'main-login',
['content' => $content] ['content' => $content]
); );
} else { }else{
if (class_exists('backend\assets\AppAsset')) { if (class_exists('backend\assets\AppAsset')) {
backend\assets\AppAsset::register($this); backend\assets\AppAsset::register($this);
} else { } else {
app\assets\AppAsset::register($this); app\assets\AppAsset::register($this);
} }
dmstr\web\AdminLteAsset::register($this); dmstr\web\AdminLteAsset::register($this);
$directoryAsset = Yii::$app->assetManager->getPublishedUrl('@vendor/almasaeed2010/adminlte/dist'); $directoryAsset = Yii::$app->assetManager->getPublishedUrl('@vendor/almasaeed2010/adminlte/dist');
?> ?>
<?php $this->beginPage() ?> <?php $this->beginPage() ?>
...@@ -33,9 +29,37 @@ if (Yii::$app->controller->action->id === 'login') { ...@@ -33,9 +29,37 @@ if (Yii::$app->controller->action->id === 'login') {
<meta charset="<?= Yii::$app->charset ?>"/> <meta charset="<?= Yii::$app->charset ?>"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<?= Html::csrfMetaTags() ?> <?= Html::csrfMetaTags() ?>
<title><?= Html::encode($this->title) ?></title> <title>SI Pendidikan</title>
<?php $this->head() ?> <?php $this->head() ?>
</head> </head>
<?php
if (
Yii::$app->controller->id === 'site' && Yii::$app->controller->action->id === 'index' ||
Yii::$app->controller->id === 'site' && Yii::$app->controller->action->id === 'daftar_TK' ||
Yii::$app->controller->id === 'site' && Yii::$app->controller->action->id === 'daftar_SD' ||
Yii::$app->controller->id === 'site' && Yii::$app->controller->action->id === 'daftar_SMP')
{
?>
<body class="hold-transition skin-blue layout-top-nav">
<?php $this->beginBody() ?>
<div class="wrapper">
<?= $this->render(
'header.php',
['directoryAsset' => $directoryAsset]
) ?>
<?= $this->render(
'content.php',
['content' => $content, 'directoryAsset' => $directoryAsset]
) ?>
</div>
<?php $this->endBody() ?>
</body>
<?php
}else {
?>
<body class="hold-transition skin-blue sidebar-mini"> <body class="hold-transition skin-blue sidebar-mini">
<?php $this->beginBody() ?> <?php $this->beginBody() ?>
<div class="wrapper"> <div class="wrapper">
...@@ -60,6 +84,9 @@ if (Yii::$app->controller->action->id === 'login') { ...@@ -60,6 +84,9 @@ if (Yii::$app->controller->action->id === 'login') {
<?php $this->endBody() ?> <?php $this->endBody() ?>
</body> </body>
<?php
}
?>
</html> </html>
<?php $this->endPage() ?> <?php $this->endPage() ?>
<?php } ?> <?php } ?>
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\bootstrap\Carousel;
use app\models\DefaultBlog;
//use miloschuman\highcharts\Highcharts;
//use pollext\poll\Poll;
//use kartik\widgets\StarRating;
use yii\web\JsExpression;
use yii\widgets\ActiveForm;
use app\models\IboMasterSurveyKepuasan;
use app\models\IboMasterBerita;
use app\models\IboMasterSlider;
use app\models\IboMasterKategoriBerita;
$this->title = '';
?>
<?php
$script = <<< JS
$(document).ready(function(){
setTimeout(function() {
$('#w0-warning').fadeOut('fast');
}, 3000); // <-- time in milliseconds
});
JS;
$this->registerJs($script, \yii\web\View::POS_END);
?>
<div class="site-index">
<div class="container">
<div class="row">
<div class="col-lg-8">
<?php
$items = [
[
'title' => 'Sintel',
'href' => 'images/slider02.jpg',
'type' => 'image/jpg',
'poster' => 'images/slider02.jpg'
],
[
'url' => 'images/slider02.jpg',
'src' => 'images/slider02.jpg',
'options' => array('title' => 'Camposanto monumentale (inside)')
],
[
'url' => 'images/slider03.jpg',
'src' => 'images/slider03.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
[
'url' => 'images/slider04.jpg',
'src' => 'images/slider04.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
]
?>
</div>
</div>
<hr>
<hr>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Data</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-tasks"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Data'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/list-izin'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4></h4>Data</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-credit-card"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Data'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/monitoring'], ['class' => 'small-box-footer']) ?>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="col-lg-12 text-center">
<h2></h2>
<hr class="star-primary">
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-check"></i>Data 1</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-gift"></i>Data 2</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-danger">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-compass"></i>Data 3</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
</div>
</div>
<hr>
</div>
</div>
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\bootstrap\Carousel;
use app\models\DefaultBlog;
//use miloschuman\highcharts\Highcharts;
//use pollext\poll\Poll;
//use kartik\widgets\StarRating;
use yii\web\JsExpression;
use yii\widgets\ActiveForm;
$this->title = '';
?>
<?php
$script = <<< JS
$(document).ready(function(){
setTimeout(function() {
$('#w0-warning').fadeOut('fast');
}, 3000); // <-- time in milliseconds
});
JS;
$this->registerJs($script, \yii\web\View::POS_END);
?>
<div class="site-index">
<div class="container">
<div class="row">
<div class="col-lg-8">
<?php
$items = [
[
'title' => 'Sintel',
'href' => 'images/slider02.jpg',
'type' => 'image/jpg',
'poster' => 'images/slider02.jpg'
],
[
'url' => 'images/slider02.jpg',
'src' => 'images/slider02.jpg',
'options' => array('title' => 'Camposanto monumentale (inside)')
],
[
'url' => 'images/slider03.jpg',
'src' => 'images/slider03.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
[
'url' => 'images/slider04.jpg',
'src' => 'images/slider04.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
]
?>
</div>
</div>
<hr>
<hr>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Persyaratan Umum</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-tasks"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Lihat Syarat Izin'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/list-izin'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Tracking Berkas</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-credit-card"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Cek Berkas Anda'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/monitoring'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-yellow">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Pengaduan Online</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-wpforms"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Isi Form Pengaduan'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/pengaduan'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-aqua">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Pengecekan Izin</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-check-square-o"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Cek Izin Anda'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/pengecekan'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-yellow">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Simulasi Retribusi</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-money"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Simulasi Retribusi Izin'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/simulasiretribusi'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-red">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Cara Mendaftar Online</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-list"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Lihat Cara Daftar Online'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['tbpelanggan/create'], ['class' => 'small-box-footer']) ?>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="col-md-12"></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="col-lg-12 text-center">
<h2></h2>
<hr class="star-primary">
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-check"></i>Kemudahan</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-gift"></i>Akses Menyeluruh</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-danger">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-compass"></i>Cepat dan Tepat</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-8"></div>
<!-- Blog Sidebar Widgets Column -->
<hr><hr><hr>
<div class="col-md-4">
<!-- Lihat Permohonan -->
<div class="box box-danger box-solid">
<div class="box-header with-border">
<h2 class="box-title"><b>LIHAT PERMOHONAN</b></h2>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="small-box bg-aqua">
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Daftar Permohonan'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/daftarpermohonan'], ['class' => 'small-box-footer']) ?>
</div>
<div class="small-box bg-green">
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Permohonan Diterbitkan'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/permohonanterbit'], ['class' => 'small-box-footer']) ?>
</div>
<div class="small-box bg-blue">
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Permohonan Belum Ambil'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/permohonanbelumambil'], ['class' => 'small-box-footer']) ?>
</div>
<div class="small-box bg-yellow">
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Permohonan Ditolak'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/permohonangagal'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<!-- /.box-body -->
</div>
<!-- Daftar Download -->
<div class="box box-danger box-solid">
<div class="box-header with-border">
<h2 class="box-title"><b>DAFTAR DOWNLOAD</b></h2>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-lg-12">
<ul class="list-unstyled">
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/PERMENDAGRI_22_2016.pdf' ?>">PERMENDAGRI Nomor 22 Tahun 2016</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/PERMENDAGRI_PedomanPerizinan.pdf' ?>">PERMENDAGRI Tentang Pedoman Perizinan</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/PERMENDAGRI-37-2007-PenerbitanSIUP.pdf' ?>">PERMENDAGRI Nomor 22 Tahun 2007 Penertiban SIUP</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/PERMENKES_31_2016-Farmasi.pdf' ?>">PERMENKES Nomor 31 Tahun2016 - Farmasi</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/SAB_PERMENDAG_7_2017-SIUP.pdf' ?>">PERMENDAGRI Nomor 7 Tahun 2017 - SIUP</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/SAB_PERMENDAG_8_2017-RegisterPerusahaan.pdf' ?>">PERMENDAGRI Nomor 8 Tahun 2017 - Register Perusahaan</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/SIUP_TidakPerluPerpanjang.pdf' ?>">SIUP Tidak Perlu Perpanjang</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- KEPUASAN PERIZINAN -->
<div class="box box-danger box-solid">
<div class="box-header with-border">
<h2 class="box-title"><b>KEPUASAN SECARA KESELURUHAN</b></h2>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body"></div>
</div>
<div class="box box-danger box-solid">
<div class="box-header with-border">
<h2 class="box-title"><b>PARTISIPASI SURVEY</b></h2>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="small-box bg-blue">
<div class="inner">
<b><p style="font-size:20px"></p></b>
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Partisipasi Survey Perizinan & Lihat Hasil'.'</b></p>', ['site/surveymasyarakat'], ['class' => '']) ?>
</div>
</div>
</div>
</div>
</div>
<!-- Side Widget Well -->
</div>
<!-- /.row -->
</div>
<hr>
</div>
</div>
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\bootstrap\Carousel;
use app\models\DefaultBlog;
//use miloschuman\highcharts\Highcharts;
//use pollext\poll\Poll;
//use kartik\widgets\StarRating;
use yii\web\JsExpression;
use yii\widgets\ActiveForm;
use app\models\IboMasterSurveyKepuasan;
use app\models\IboMasterBerita;
use app\models\IboMasterSlider;
use app\models\IboMasterKategoriBerita;
$this->title = '';
?>
<?php
$script = <<< JS
$(document).ready(function(){
setTimeout(function() {
$('#w0-warning').fadeOut('fast');
}, 3000); // <-- time in milliseconds
});
JS;
$this->registerJs($script, \yii\web\View::POS_END);
?>
<div class="site-index">
<div class="container">
<div class="row">
<div class="col-lg-8">
<?php
$items = [
[
'title' => 'Sintel',
'href' => 'images/slider02.jpg',
'type' => 'image/jpg',
'poster' => 'images/slider02.jpg'
],
[
'url' => 'images/slider02.jpg',
'src' => 'images/slider02.jpg',
'options' => array('title' => 'Camposanto monumentale (inside)')
],
[
'url' => 'images/slider03.jpg',
'src' => 'images/slider03.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
[
'url' => 'images/slider04.jpg',
'src' => 'images/slider04.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
]
?>
</div>
</div>
<hr>
<hr>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Data SMP</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-tasks"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Data SMP'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/list-izin'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4></h4>Data SMP</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-credit-card"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'DataSMP'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/monitoring'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-yellow">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4></h4>Data SMP</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-credit-card"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Data SMP'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/monitoring'], ['class' => 'small-box-footer']) ?>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="col-lg-12 text-center">
<h2></h2>
<hr class="star-primary">
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-check"></i>Data 1</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-gift"></i>Data 2</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-danger">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-compass"></i>Data 3</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
</div>
</div>
<hr>
</div>
</div>
<?php
/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\bootstrap\Carousel;
use app\models\DefaultBlog;
//use miloschuman\highcharts\Highcharts;
//use pollext\poll\Poll;
//use kartik\widgets\StarRating;
use yii\web\JsExpression;
use yii\widgets\ActiveForm;
$this->title = '';
?>
<?php
$script = <<< JS
$(document).ready(function(){
setTimeout(function() {
$('#w0-warning').fadeOut('fast');
}, 3000); // <-- time in milliseconds
});
JS;
$this->registerJs($script, \yii\web\View::POS_END);
?>
<div class="site-index">
<div class="container">
<div class="row">
<div class="col-lg-8">
<?php
$items = [
[
'title' => 'Sintel',
'href' => 'images/slider02.jpg',
'type' => 'image/jpg',
'poster' => 'images/slider02.jpg'
],
[
'url' => 'images/slider02.jpg',
'src' => 'images/slider02.jpg',
'options' => array('title' => 'Camposanto monumentale (inside)')
],
[
'url' => 'images/slider03.jpg',
'src' => 'images/slider03.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
[
'url' => 'images/slider04.jpg',
'src' => 'images/slider04.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
]
?>
</div>
</div>
<hr>
<hr>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Persyaratan Umum</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-tasks"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Lihat Syarat Izin'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/list-izin'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Tracking Berkas</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-credit-card"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Cek Berkas Anda'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/monitoring'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-yellow">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Pengaduan Online</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-wpforms"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Isi Form Pengaduan'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/pengaduan'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-aqua">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Pengecekan Izin</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-check-square-o"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Cek Izin Anda'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/pengecekan'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-yellow">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Simulasi Retribusi</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-money"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Simulasi Retribusi Izin'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/simulasiretribusi'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-red">
<div class="inner">
<h3>&nbsp;</h3>
<p><b><h4>Cara Mendaftar Online</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-list"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Lihat Cara Daftar Online'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['tbpelanggan/create'], ['class' => 'small-box-footer']) ?>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="col-md-12"></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="col-lg-12 text-center">
<h2></h2>
<hr class="star-primary">
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-check"></i>Kemudahan</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-gift"></i>Akses Menyeluruh</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-danger">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-compass"></i>Cepat dan Tepat</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-8"></div>
<!-- Blog Sidebar Widgets Column -->
<hr><hr><hr>
<div class="col-md-4">
<!-- Lihat Permohonan -->
<div class="box box-danger box-solid">
<div class="box-header with-border">
<h2 class="box-title"><b>LIHAT PERMOHONAN</b></h2>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="small-box bg-aqua">
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Daftar Permohonan'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/daftarpermohonan'], ['class' => 'small-box-footer']) ?>
</div>
<div class="small-box bg-green">
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Permohonan Diterbitkan'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/permohonanterbit'], ['class' => 'small-box-footer']) ?>
</div>
<div class="small-box bg-blue">
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Permohonan Belum Ambil'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/permohonanbelumambil'], ['class' => 'small-box-footer']) ?>
</div>
<div class="small-box bg-yellow">
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Permohonan Ditolak'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/permohonangagal'], ['class' => 'small-box-footer']) ?>
</div>
</div>
<!-- /.box-body -->
</div>
<!-- Daftar Download -->
<div class="box box-danger box-solid">
<div class="box-header with-border">
<h2 class="box-title"><b>DAFTAR DOWNLOAD</b></h2>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-lg-12">
<ul class="list-unstyled">
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/PERMENDAGRI_22_2016.pdf' ?>">PERMENDAGRI Nomor 22 Tahun 2016</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/PERMENDAGRI_PedomanPerizinan.pdf' ?>">PERMENDAGRI Tentang Pedoman Perizinan</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/PERMENDAGRI-37-2007-PenerbitanSIUP.pdf' ?>">PERMENDAGRI Nomor 22 Tahun 2007 Penertiban SIUP</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/PERMENKES_31_2016-Farmasi.pdf' ?>">PERMENKES Nomor 31 Tahun2016 - Farmasi</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/SAB_PERMENDAG_7_2017-SIUP.pdf' ?>">PERMENDAGRI Nomor 7 Tahun 2017 - SIUP</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/SAB_PERMENDAG_8_2017-RegisterPerusahaan.pdf' ?>">PERMENDAGRI Nomor 8 Tahun 2017 - Register Perusahaan</a>
</li>
<li><a href="<?php echo Yii::getAlias('@web'). '/upload/files/SIUP_TidakPerluPerpanjang.pdf' ?>">SIUP Tidak Perlu Perpanjang</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- KEPUASAN PERIZINAN -->
<div class="box box-danger box-solid">
<div class="box-header with-border">
<h2 class="box-title"><b>KEPUASAN SECARA KESELURUHAN</b></h2>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body"></div>
</div>
<div class="box box-danger box-solid">
<div class="box-header with-border">
<h2 class="box-title"><b>PARTISIPASI SURVEY</b></h2>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="small-box bg-blue">
<div class="inner">
<b><p style="font-size:20px"></p></b>
<?= Html::a('<p style="font-size:20px;color:white"><b>'.'Partisipasi Survey Perizinan & Lihat Hasil'.'</b></p>', ['site/surveymasyarakat'], ['class' => '']) ?>
</div>
</div>
</div>
</div>
</div>
<!-- Side Widget Well -->
</div>
<!-- /.row -->
</div>
<hr>
</div>
</div>
<?php <?php
/* @var $this yii\web\View */ /* @var $this yii\web\View */
use yii\helpers\Html;
use yii\bootstrap\Carousel;
use app\models\DefaultBlog;
//use miloschuman\highcharts\Highcharts;
//use pollext\poll\Poll;
//use kartik\widgets\StarRating;
use yii\web\JsExpression;
use yii\widgets\ActiveForm;
use app\models\IboMasterSurveyKepuasan;
use app\models\IboMasterBerita;
use app\models\IboMasterSlider;
use app\models\IboMasterKategoriBerita;
$this->title = '';
$this->title = 'My Yii Application';
?> ?>
<div class="site-index"> <?php
$script = <<< JS
$(document).ready(function(){
setTimeout(function() {
$('#w0-warning').fadeOut('fast');
}, 3000); // <-- time in milliseconds
});
JS;
$this->registerJs($script, \yii\web\View::POS_END);
<div class="jumbotron"> ?>
<h1>Congratulations!</h1>
<p class="lead">You have successfully created your Yii-powered application.</p>
<p><a class="btn btn-lg btn-success" href="http://www.yiiframework.com">Get started with Yii</a></p>
</div>
<div class="body-content"> <div class="site-index">
<div class="container">
<div class="row"> <div class="row">
<div class="col-lg-4">
<h2>Heading</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et <div class="col-lg-8">
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu <?php
fugiat nulla pariatur.</p> $items = [
[
'title' => 'Sintel',
'href' => 'images/slider02.jpg',
'type' => 'image/jpg',
'poster' => 'images/slider02.jpg'
],
[
'url' => 'images/slider02.jpg',
'src' => 'images/slider02.jpg',
'options' => array('title' => 'Camposanto monumentale (inside)')
],
[
'url' => 'images/slider03.jpg',
'src' => 'images/slider03.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
[
'url' => 'images/slider04.jpg',
'src' => 'images/slider04.jpg',
'options' => array('title' => 'Hafsten - Sunset')
],
]
?>
</div>
</div>
<hr>
<hr>
<div class="col-lg-4 col-xs-6">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<h3>&nbsp;</h3>
<p><a class="btn btn-default" href="http://www.yiiframework.com/doc/">Yii Documentation &raquo;</a></p> <p><b><h4>Data</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-tasks"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Data'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/list-izin'], ['class' => 'small-box-footer']) ?>
</div> </div>
<div class="col-lg-4"> </div>
<h2>Heading</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et <div class="col-lg-4 col-xs-6">
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip <!-- small box -->
ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu <div class="small-box bg-green">
fugiat nulla pariatur.</p> <div class="inner">
<h3>&nbsp;</h3>
<p><a class="btn btn-default" href="http://www.yiiframework.com/forum/">Yii Forum &raquo;</a></p> <p><b><h4></h4>Data</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-credit-card"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Data'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/monitoring'], ['class' => 'small-box-footer']) ?>
</div> </div>
<div class="col-lg-4"> </div>
<h2>Heading</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et <div class="col-lg-4 col-xs-6">
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip <!-- small box -->
ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu <div class="small-box bg-yellow">
fugiat nulla pariatur.</p> <div class="inner">
<h3>&nbsp;</h3>
<p><a class="btn btn-default" href="http://www.yiiframework.com/extensions/">Yii Extensions &raquo;</a></p> <p><b><h4></h4>Data</h4></b></p>
</div>
<div class="icon">
<i class="fa fa-credit-card"></i>
</div>
<!-- <a href="#" class="small-box-footer">View Detail <i class="fa fa-arrow-circle-right"></i></a> -->
<?= Html::a('<p style="font-size:15px;color:white"><b>'.'Data'.'</b></p>'.'<i class="fa fa-arrow-circle-right"></i>', ['site/monitoring'], ['class' => 'small-box-footer']) ?>
</div> </div>
</div> </div>
</div> </div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="col-lg-12 text-center">
<h2></h2>
<hr class="star-primary">
</div>
</div>
<div class="col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-check"></i>Data 1</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-success">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-gift"></i>Data 2</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-danger">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-compass"></i>Data 3</h4>
</div>
<div class="panel-body"></div>
</div>
</div>
</div>
</div>
<hr>
</div>
</div> </div>
<html> <html>
<h1> Hello World </h1> <h1>
Lappet
</h1>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment