示例#1
1
<?php

\Yii::$app->getView()->registerJsFile(Yii::$app->request->baseUrl . '/js/recoverysendaktfilter.js');
use yii\helpers\Html;
use kartik\dynagrid\DynaGrid;
use app\func\Proc;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $searchModel app\models\Fregat\RecoverysendaktSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Журнал восстановления материальных ценностей';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this);
?>
<div class="recoverysendakt-index">
    <?php 
echo DynaGrid::widget(Proc::DGopts(['options' => ['id' => 'recoverysendaktgrid'], 'columns' => Proc::DGcols(['buttonsfirst' => true, 'columns' => ['recoverysendakt_id', ['attribute' => 'recoverysendakt_date', 'format' => 'date'], 'idOrgan.organ_name'], 'buttons' => array_merge(Yii::$app->user->can('RecoveryEdit') ? ['update' => ['Fregat/recoverysendakt/update', 'recoverysendakt_id'], 'deleteajax' => ['Fregat/recoverysendakt/delete', 'recoverysendakt_id']] : [])]), 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'panel' => ['heading' => '<i class="glyphicon glyphicon-wrench"></i> ' . $this->title, 'before' => Yii::$app->user->can('RecoveryEdit') ? Html::a('<i class="glyphicon glyphicon-plus"></i> Добавить', ['create'], ['class' => 'btn btn-success', 'data-pjax' => '0']) : ''], 'toolbar' => ['base' => ['content' => \yii\bootstrap\Html::a('<i class="glyphicon glyphicon-filter"></i>', ['recoverysendaktfilter'], ['title' => 'Дополнительный фильтр', 'class' => 'btn btn-default filter_button']) . '{export}{dynagrid}']], 'afterHeader' => $filter]]));
?>
</div>
<div class="form-group">
    <div class="panel panel-default">
        <div class="panel-heading">
            
            <?php 
echo Html::button('<i class="glyphicon glyphicon-list"></i> Выгрузка', ['id' => 'DownloadExportReport', 'class' => 'btn btn-success', 'onclick' => 'ExportExcel("RecoverysendaktSearch","' . \yii\helpers\Url::toRoute('Fregat/recoverysendakt/toexcel') . '", $(this)[0].id);']);
?>
        </div>
    </div>
</div>
<?php 
yii\bootstrap\Modal::begin(['header' => 'Дополнительный фильтр', 'id' => 'RecoverysendaktFilter', 'options' => ['class' => 'modal_filter', 'tabindex' => false]]);
yii\bootstrap\Modal::end();
示例#2
0
文件: main.php 项目: Pontorez/kgr
</div>

<footer class="footer">
    <div class="container">
        <p class="pull-left">&copy; KGR <?php 
echo date('Y');
?>
</p>

        <p class="pull-right"><?php 
echo Yii::powered();
?>
</p>
    </div>
</footer>

<?php 
yii\bootstrap\Modal::begin(['headerOptions' => ['id' => 'modalHeader'], 'id' => 'modal', 'size' => 'modal-lg']);
echo "<div id='modalContent'></div>";
yii\bootstrap\Modal::end();
?>



<?php 
$this->endBody();
?>
</body>
</html>
<?php 
$this->endPage();
示例#3
0
	</center>
<?php 
}
?>

</div>
<?php 
ActiveForm::end();
yii\bootstrap\Modal::end();
?>



<?php 
$show = false;
yii\bootstrap\Modal::begin(['options' => ['id' => 'sharePop5', 'style' => 'opacity:0.95;'], 'size' => 'modal-sm', 'clientOptions' => ['show' => false], 'closeButton' => ['label' => '&times;']]);
?>

<?php 
$form = ActiveForm::begin(['id' => 'contact-form2']);
?>
<div class="form-group2">

	<?php 
if ($user_founder->finished == 1) {
    ?>
		<center>
		<h2><font color=red>恭喜你!</font><h2>
		<h4>已达最高人品,已向你发了一份流量大奖。</h4>
		<br>
		</center>
示例#4
0
    <div class="form-group pull-right">
        <?php 
echo Html::submitButton('Искать', ['class' => 'btn btn-primary']);
?>
        <?php 
//= Html::a('Добавить книгу', ['create'], ['class' => 'btn btn-success'])
?>
    </div>

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

    <?php 
yii\bootstrap\Modal::begin(['header' => '<span id="modalHeaderTitle"></span>', 'id' => 'modal']);
echo '<div id="modalContent"></div>';
yii\bootstrap\Modal::end();
?>

    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'filterPosition' => '', 'columns' => ['id', 'name', ['attribute' => 'preview', 'format' => 'raw', 'value' => function ($data) {
    return Html::a(Html::img(Url::to($data['preview']), ['class' => 'grid-img']), Url::to($data['preview']), ['class' => 'preview-link']);
}], 'author', ['attribute' => 'date', 'format' => ['date', 'php: d F Y']], ['attribute' => 'date_create', 'value' => function ($data) {
    list($d, $t) = explode(' ', $data['date_create']);
    if (empty($d)) {
        return '';
    }
    return (new sfedosimov\daysago\DaysAgo())->make([$d, 'Y-m-d']);
}], ['class' => 'yii\\grid\\ActionColumn', 'buttons' => ['view' => function ($url, $model, $key) {
    $options = ['data-toggle' => 'modal', 'data-target' => '#modal', 'value' => $url, 'class' => 'loadMainContent', 'style' => 'cursor: pointer;', 'title' => 'Просмотр', 'data-title' => $model->name];
示例#5
0
文件: index.php 项目: dench/resistor
/* @var $model common\models\Sale */
use frontend\assets\PhotoSwipe;
use yii\bootstrap\Carousel;
use yii\bootstrap\Html;
use yii\helpers\Url;
PhotoSwipe::register($this);
Yii::$app->view->registerJsFile('@web/js/photoswipe.js', ['depends' => 'frontend\\assets\\PhotoSwipe']);
$script = <<<JS
    initPhotoSwipeFromDOM('.property-gallery');
JS;
Yii::$app->view->registerJs($script, yii\web\View::POS_READY);
$this->title = $model->name;
?>

<?php 
yii\bootstrap\Modal::begin(['header' => '<h4>' . Yii::t('app', 'Send a message') . '</h4>', 'id' => 'modal', 'size' => 'modal-md']);
?>
<div id='modal-content'></div>
<?php 
yii\bootstrap\Modal::end();
?>

<section class="wrapper-md post">
    <div class="container">
        <article>
            <h1><?php 
echo Html::encode($model->name);
?>
</h1>
            <div class="row">
                <div class="col-lg-9">
示例#6
0
    ?>
                        </section>
                        <div class="fixed-margin-top">
                            <?php 
    foreach (Yii::$app->session->getAllFlashes() as $key => $message) {
        echo '<div class="alert alert-' . $key . '">' . $message . "</div>\n";
    }
    ?>
                            <?php 
    echo $content;
    ?>
                        </div>
                    </section>
                </div>
                <?php 
    require_once 'footer.php';
    ?>
            </div>
        <?php 
}
yii\bootstrap\Modal::begin(['header' => '<h4 class="modal-title"></h4>', 'headerOptions' => ['id' => 'modalHeader'], 'id' => 'modal', 'size' => 'modal-lg', 'clientOptions' => ['backdrop' => 'static', 'keyboard' => true]]);
echo "<div id='modalContent'></div>";
yii\bootstrap\Modal::end();
?>
        <?php 
$this->endBody();
?>
    </body>
</html>
<?php 
$this->endPage();
示例#7
0
<?php

use yii\helpers\Html;
$this->title = Yii::t('app', 'Select Language | EduSec');
$this->registerJs("(function(\$) {\n      \$('#langModal').modal();\n  })(jQuery);", yii\web\View::POS_END, 'lang');
?>

<?php 
echo Html::beginForm();
yii\bootstrap\Modal::begin(['id' => 'langModal', 'header' => "<h4 class=\"modal-title\">" . Html::encode('Select Language') . "</h4>", 'footer' => Html::submitButton(Yii::t('app', 'Submit'), ['class' => 'btn btn-success pull-left']) . " " . Html::a('Close', ['site/index'], ['class' => 'btn btn-default']), 'closeButton' => false, 'options' => ['data-backdrop' => 'static', 'data-keyboard' => 'false']]);
?>
	<div class="modal-body">
		<div class="row">
			<?php 
echo Html::radioList('language', Yii::$app->language, ['en' => Yii::t('app', 'English'), 'gu' => Yii::t('app', 'Gujarati (ગુજરાતી)'), 'hi' => Yii::t('app', 'Hindi (हिन्दी)'), 'fr' => Yii::t('app', 'French (français)'), 'es' => Yii::t('app', 'Spanish (Latin American)'), 'ar' => Yii::t('app', 'Arabic (العربية)')], ['item' => function ($index, $label, $name, $checked, $value) {
    $return = '<label class="left-padding">';
    $return .= Html::radio($name, $checked, ['value' => $value]);
    $return .= '<i></i>';
    $return .= '<span>&nbsp;&nbsp;&nbsp;' . ucwords($label) . '</span>';
    $return .= '</label><br/>';
    return $return;
}]);
?>
		</div>
	</div>
<?php 
yii\bootstrap\Modal::end();
echo Html::endForm();
?>

示例#8
0
    <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    <?php 
echo $this->render('_search', ['model' => $searchModel]);
?>

    <p>
        <?php 
echo Html::a('Добавить книгу', ['create'], ['class' => 'btn btn-success btn-sm']);
?>
    </p>


    <?php 
echo GridView::widget(['id' => 'books-grid', 'dataProvider' => $dataProvider, 'filterSelector' => '.custom-filters', 'columns' => ['id', ['label' => 'Название', 'attribute' => 'name'], ['label' => 'Превью', 'attribute' => 'preview', 'format' => 'raw', 'value' => function ($data) {
    return Html::a(Html::img(Url::toRoute('/' . $data->previewThumbUrl), ['alt' => $data->name]), $data->previewUrl, ['class' => 'preview']);
}], ['label' => 'Автор', 'attribute' => 'author', 'value' => 'author.fullname'], ['label' => 'Дата выхода книги', 'attribute' => 'date', 'format' => ['date', 'long']], ['label' => 'Дата добавления', 'attribute' => 'date_create', 'format' => ['relativeTime']], ['header' => 'Кнопки действия', 'class' => 'yii\\grid\\ActionColumn', 'buttons' => ['view' => function ($url, $model, $key) {
    return Html::a('<span class="glyphicon glyphicon-eye-open"></span>', $url, ['title' => Yii::t('yii', 'View'), 'aria-label' => Yii::t('yii', 'View'), 'class' => 'view-button']);
}, 'update' => function ($url, $model, $key) {
    return Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, ['title' => Yii::t('yii', 'Update'), 'aria-label' => Yii::t('yii', 'Update'), 'data-pjax' => '0', 'target' => '_blank']);
}]]]]);
?>

    <?php 
yii\bootstrap\Modal::begin(['id' => 'modal']);
yii\bootstrap\Modal::end();
?>
</div>
示例#9
0
文件: luck.php 项目: noikiy/wowewe
?>

			<div class="form-group">
				<?php 
echo Html::submitButton('马上查看靓号运程!', ['class' => 'btn btn-success btn-block btn-lg', 'name' => 'contact-button']);
?>
			</div>
		<?php 
ActiveForm::end();
?>
	</div>
</div>

<?php 
$show = empty($lucy_msg) ? false : true;
yii\bootstrap\Modal::begin(['options' => ['style' => 'opacity:0.9;'], 'header' => Html::img(Url::to('images/share.png'), ['class' => 'img-responsive']), 'footer' => "&copy; <span style='color:#d71920'>襄阳联通</span> " . date('Y'), 'size' => 'modal-sm', 'clientOptions' => ['show' => $show], 'closeButton' => ['label' => '']]);
?>
<div id="result"><?php 
echo $result;
?>
</div>
<?php 
yii\bootstrap\Modal::end();
?>

<br><br>

<?php 
$appid = Yii::$app->wx->gh['appid'];
$url = Yii::$app->wx->WxGetOauth2Url('snsapi_base', 'wap/luck:' . Yii::$app->wx->getGhid());
if (empty($lucy_msg)) {
示例#10
0
文件: main.php 项目: skony20/olgaz2
?>
</head>
<body>
<?php 
$this->beginBody();
?>

<div class="wrap">
    <?php 
NavBar::begin(['brandLabel' => '100 % Handmade by OlgaZ', 'brandUrl' => Yii::$app->homeUrl, 'options' => ['class' => 'navbar navbar-default navbar-fixed-top']]);
echo Nav::widget(['options' => ['class' => 'navbar-nav navbar-right'], 'items' => [['label' => 'Wpisy', 'url' => ['/post/']], ['label' => 'Komentarze', 'url' => ['/comments']], ['label' => 'Kategorie', 'url' => ['/category']], ['label' => 'Użytkownicy', 'url' => ['/user']], ['label' => 'Rodzaje użytkowników', 'url' => ['/roles']], Yii::$app->user->isGuest ? ['label' => 'Loguj', 'url' => ['/site/login']] : ['label' => 'Wyloguj (' . Yii::$app->user->identity->username . ')', 'url' => ['/site/logout'], 'linkOptions' => ['data-method' => 'post']]]]);
NavBar::end();
yii\bootstrap\Modal::begin(['header' => '<span id="modalHeaderTitle"></span>', 'headerOptions' => ['id' => 'modalHeader'], 'id' => 'modal', 'size' => 'modal-lg', 'closeButton' => ['tag' => 'close', 'label' => 'Zamknij'], 'clientOptions' => ['backdrop' => 1, 'keyboard' => True]]);
echo "<div id='modalContent'></div>";
yii\bootstrap\Modal::end();
yii\bootstrap\Modal::begin(['header' => '<span id="modal2HeaderTitle"></span>', 'headerOptions' => ['id' => 'moda2lHeader'], 'id' => 'modal2', 'size' => 'modal-lg', 'closeButton' => ['tag' => 'close', 'label' => 'Zamknij'], 'clientOptions' => ['backdrop' => 1, 'keyboard' => True]]);
echo "<div id='modal2Content'></div>";
yii\bootstrap\Modal::end();
?>
    <div class="container">
        <?php 
echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
        <?php 
echo $content;
?>
    </div>
</div>

<footer class="footer">
    <div class="container">
示例#11
0
    padding: 2px;
}

.closon {
    position: absolute;
    top: -2px;
    right: 0;
    cursor: pointer;
    background-color: #FFF
}
.popover{
    max-width:450px;   
}
</style>
<?php 
yii\bootstrap\Modal::begin(['id' => 'eventModal', 'header' => "<h3>Add Event</h3>"]);
yii\bootstrap\Modal::end();
?>
  
<section class="content-header">
<div class="row">
  <div class="col-xs-12">
	<h2 class="page-header">	
		<?php 
echo Html::encode($this->title);
?>
	</h2>
  </div><!-- /.col -->
</div>
</section>
示例#12
0
文件: main.php 项目: jslight/helpdesk
?>

    <div class="container">
        <?php 
echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
        <?php 
echo Alert::widget();
?>

        <?php 
echo $content;
?>

        <?php 
yii\bootstrap\Modal::begin(['headerOptions' => ['id' => 'modalHeader'], 'header' => '<h4></h4>', 'options' => ['id' => 'modal', 'tabindex' => false], 'clientOptions' => ['backdrop' => 'static', 'keyboard' => FALSE]]);
?>
        <div id='modalContent'></div>
        <?php 
yii\bootstrap\Modal::end();
?>
    </div>
</div>

<footer class="footer">
    <div class="container">
        <!--<p class="pull-left"><?php 
echo Yii::powered();
?>
</p>-->
示例#13
0
文件: index.php 项目: 4fnsk/books
    <div>
        <div style="width: 30%; float: left">
            <?php 
echo $form->field($searchModel, 'dateFrom')->widget(DatePicker::classname(), ['language' => 'ru'])->label(false)->textInput(['placeholder' => 'Дата выхода c']);
?>
        </div>
        <div style="width: 30%; float: left">
            <?php 
echo $form->field($searchModel, 'dateTo')->widget(DatePicker::classname(), ['language' => 'ru'])->label(false)->textInput(['placeholder' => 'Дата выхода по']);
?>
        </div>
        <div style="clear: both"></div>
    </div>
</div>
<?php 
echo Button::widget(['label' => 'search', 'options' => ['class' => 'btn-lg btn-primary']]);
ActiveForm::end();
?>


<?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'columns' => ['id', 'name', ['attribute' => 'preview', 'format' => 'html', 'value' => function ($data) {
    return Html::img(Yii::getAlias('@web') . '/images/' . $data['preview'], ['width' => '30px', 'class' => 'scalable']);
}], 'fullName', 'date:date', 'date_create:date', 'actions' => ['format' => 'raw', 'value' => function ($data) {
    return ButtonGroup::widget(['encodeLabels' => false, 'options' => ['data-id' => $data['id']], 'buttons' => [['options' => ['class' => 'a-edit btn-primary'], 'label' => '<span class="glyphicon glyphicon-pencil"></span>'], ['options' => ['class' => 'a-view btn-primary', 'data-toggle' => 'modal', 'data-target' => '#modal-window'], 'label' => '<span class="glyphicon glyphicon-eye-open"></span>'], ['options' => ['class' => 'a-remove btn-primary'], 'label' => '<span class="glyphicon glyphicon-remove"></span>']]]);
}]]]);
yii\bootstrap\Modal::begin(['header' => '<h2>DetailView</h2>', 'options' => ['id' => 'modal-window']]);
?>
<div id="modal-content"></div>
<?php 
yii\bootstrap\Modal::end();
示例#14
0
                </div> 
                
            </div>
        
        <?php 
}
?>
     
    </div>       
</div>
<?php 
Pjax::end();
?>

<?php 
yii\bootstrap\Modal::begin(['headerOptions' => ['id' => 'modalHeader'], 'id' => 'modal', 'size' => 'modal-ms', 'clientOptions' => ['backdrop' => 'static', 'keyboard' => FALSE]]);
echo "<div id='modalContent'></div>";
yii\bootstrap\Modal::end();
?>

<?php 
$js = <<<JS
   (function(\$) {
        \$.fn.serializefiles = function() {
            var obj = \$(this);
            /* ADD FILE TO PARAM AJAX */
            var formData = new FormData();
            \$.each(\$(obj).find("input[type='file']"), function(i, tag) {
                \$.each(\$(tag)[0].files, function(i, file) {
                    formData.append(tag.name, file);
                });
示例#15
0
<?php

\Yii::$app->getView()->registerJsFile(Yii::$app->request->baseUrl . '/js/osmotraktsend.js');
use yii\helpers\Html;
use kartik\dynagrid\DynaGrid;
use app\func\Proc;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $searchModel app\models\Fregat\OsmotraktSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Журнал осмотров материальных ценностей';
$this->params['breadcrumbs'] = Proc::Breadcrumbs($this);
?>
<div class="osmotrakt-index">
    <?php 
$result = Proc::GetLastBreadcrumbsFromSession();
$foreign = isset($result['dopparams']['foreign']) ? $result['dopparams']['foreign'] : '';
echo DynaGrid::widget(Proc::DGopts(['options' => ['id' => 'osmotraktgrid'], 'columns' => Proc::DGcols(['buttonsfirst' => true, 'columns' => ['osmotrakt_id', ['attribute' => 'idTrosnov.idMattraffic.idMaterial.idMatv.matvid_name', 'visible' => false], ['attribute' => 'osmotrakt_date', 'format' => 'date'], 'idTrosnov.idMattraffic.idMaterial.material_name', 'idTrosnov.idMattraffic.idMaterial.material_inv', ['attribute' => 'idTrosnov.idMattraffic.idMaterial.material_serial', 'visible' => false], ['attribute' => 'idUser.idperson.auth_user_fullname', 'visible' => false, 'label' => 'ФИО пользоателя'], ['attribute' => 'idUser.iddolzh.dolzh_name', 'visible' => false, 'label' => 'Должность пользоателя'], ['attribute' => 'idTrosnov.idMattraffic.idMol.idperson.auth_user_fullname', 'visible' => false, 'label' => 'ФИО материально-ответственного лица'], ['attribute' => 'idTrosnov.idMattraffic.idMol.iddolzh.dolzh_name', 'visible' => false, 'label' => 'Должность материально-ответственного лица'], 'idTrosnov.tr_osnov_kab', 'idTrosnov.idMattraffic.idMol.idbuild.build_name', 'idReason.reason_text', 'osmotrakt_comment', ['attribute' => 'idMaster.idperson.auth_user_fullname', 'label' => 'ФИО составителя акта'], ['attribute' => 'idMaster.iddolzh.dolzh_name', 'visible' => false, 'label' => 'Должность составителя акта']], 'buttons' => array_merge(['sendosmotrakt' => function ($url, $model) {
    return \yii\bootstrap\Html::a('<i class="glyphicon glyphicon-send"></i>', ['send-osmotrakt-content', 'osmotrakt_id' => $model->primaryKey], ['title' => 'Отправить акт в организацию по электронной почте', 'class' => 'btn btn-xs btn-success osmotraktsend']);
}], empty($foreign) ? ['downloadreport' => ['Fregat/osmotrakt/osmotrakt-report']] : ['chooseajax' => ['Fregat/osmotrakt/assign-to-grid']], Yii::$app->user->can('OsmotraktEdit') ? ['update' => ['Fregat/osmotrakt/update', 'osmotrakt_id'], 'deleteajax' => ['Fregat/osmotrakt/delete', 'osmotrakt_id']] : [])]), 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'panel' => ['heading' => '<i class="glyphicon glyphicon-search"></i> ' . $this->title, 'before' => Yii::$app->user->can('OsmotraktEdit') ? Html::a('<i class="glyphicon glyphicon-plus"></i> Добавить', ['create'], ['class' => 'btn btn-success', 'data-pjax' => '0']) : '']]]));
?>
</div>

<?php 
yii\bootstrap\Modal::begin(['header' => 'Отправить акт осмотра в организацию по электронной почте', 'id' => 'SendOsmotraktDialog', 'options' => ['class' => 'modal_filter', 'tabindex' => false]]);
yii\bootstrap\Modal::end();
示例#16
0
?>
    </div>
    <?php 
ActiveForm::end();
?>

</div><!-- mp-openidbindmobile-create -->

<button  class="btn btn-lg btn-primary btn-block glyphicon glyphicon-eye-open" id="v1DetailBtn">&nbsp;查看会员特权</button>
<br>
<a class="btn btn-lg btn-default btn-block glyphicon glyphicon-user" href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1b122a21f985ea18&redirect_uri=http%3A%2F%2Fwosotech.com%2Fwx%2Fweb%2Findex.php%3Fr%3Dwap%2Foauth2cb&response_type=code&scope=snsapi_base&state=wap/hyzx1:gh_03a74ac96138#wechat_redirect">&nbsp;会员中心</a>


  <?php 
$show = false;
yii\bootstrap\Modal::begin(['header' => '<h4>在全市18家自营厅尊享会员特权服务</h4>', 'options' => ['id' => 'showPlayerBox', 'style' => 'opacity:0.95;'], 'size' => 'modal-sm', 'clientOptions' => ['show' => false], 'closeButton' => ['label' => '&times;']]);
?>

   <div>

    <table class="table">
          <tbody>
            <tr class="info">
              <th scope="row">1</th>
              <td>每月享受手机免费贴膜一次。</td>
            </tr>
            <tr class="info">
              <th scope="row">2</th>
              <td>购全场配件享七折优惠。</td>
            </tr>
            <tr  class="info">
示例#17
0
   padding:15px;
}
.box .box-body .fc-widget-header {
    background: none;
}
.popover{
    max-width:450px;   
}
</style>

<?php 
$this->registerJs("\$(function() {\n\t\$('.noticeModalLink').click(function() {\n\t\t\$('#NoticeModal').modal('show')\n\t\t.find('#NoticeModalContent')\n\t\t.load(\$(this).attr('data-value'));\n\t});\n});");
?>

<?php 
yii\bootstrap\Modal::begin(['header' => '<h4><i class="fa fa-eye"></i> View Notice Details</h4>', 'id' => 'NoticeModal']);
echo '<div id="NoticeModalContent"></div>';
yii\bootstrap\Modal::end();
?>

<!-- Main content -->
            <section class="content">
	<?php 
$msg = app\modules\dashboard\models\MsgOfDay::find()->andWhere(['is_status' => 0, 'msg_user_type' => ['0', 'E']])->one();
if (!empty($msg)) {
    ?>
				
		<div class="callout callout-info show msg-of-day" >
		    <h4><i class="fa fa-bullhorn"></i> Message of day box</h4>
		    <marquee onmouseout="this.setAttribute('scrollamount', 6, 0);" onmouseover="this.setAttribute('scrollamount', 0, 0);" scrollamount="6" behavior="scroll" direction="left"><?php 
    echo $msg->msg_details;
示例#18
0
文件: main.php 项目: dench/resistor
                </div>
                <div class="col-sm-4 text-right">
                    <ul class="social-networks">
                        <li><a class="btn btn-twitter" href="#"><i class="fa fa-fw fa-twitter"></i></a></li>
                        <li><a class="btn btn-facebook" href="#"><i class="fa fa-fw fa-facebook"></i></a></li>
                        <li><a class="btn btn-google-plus" href="#"><i class="fa fa-fw fa-google-plus"></i></a></li>
                        <li><a class="btn btn-pinterest" href="#"><i class="fa fa-fw fa-pinterest"></i></a></li>
                    </ul>
                </div>
            </div>
        </div>
    </section>
</footer>

<?php 
yii\bootstrap\Modal::begin(['header' => '<h2>' . Yii::t('app', 'Property search request') . '</h2>', 'id' => 'modal-send']);
?>
<div id='modal-send-content'></div>
<?php 
yii\bootstrap\Modal::end();
?>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-85595142-1', 'auto');
  ga('send', 'pageview');
</script>
示例#19
0
文件: main.php 项目: minpppst/rsc
        
    </div>
</div>

<footer class="footer">
    <div class="container">
        <p class="pull-left">&copy; MINPPPST <?php 
echo date('Y');
?>
</p>

        <p class="pull-right"><?php 
echo Yii::powered();
?>
</p>
    </div>
</footer>

<?php 
$this->endBody();
?>
</body>
</html>
<?php 
$this->endPage();
?>

<?php 
yii\bootstrap\Modal::begin(['id' => 'grading-sys-modal', 'header' => '<h2>Detalle de la Observaci&oacute;n</h2>', 'size' => 'modal-lg', 'closeButton' => ['id' => 'close-button'], 'footer' => Html::button('Close', ['class' => 'btn btn-default pull-left', 'data-dismiss' => "modal"])]);
echo "\n        <div id='modalContent' style='overflow: scroll';>\n            <img id='imgFromScript' style='max-width: auto;' src='#'  alt=''/>\n        </div>\n        <h3><p align='center'>Observaci&oacute;n</p></h3>\n        <div id='mensaje'></div>\n    ";
yii\bootstrap\Modal::end();
示例#20
0
文件: index.php 项目: EduSec/EduSec
   </div> <!-- /.End ROW -->
   <div class="row">
      <div class="col-sm-12 col-xs-12">
	<ul class="legend">
	    <li><span class="holiday"></span> <?php 
echo Yii::t('dash', 'Holiday');
?>
</li>
	    <li><span class="importantnotice"></span> <?php 
echo Yii::t('dash', 'Important Notice');
?>
</li>
	    <li><span class="meeting"></span> <?php 
echo Yii::t('dash', 'Meeting');
?>
</li>
	    <li><span class="messages"></span> <?php 
echo Yii::t('dash', 'Messages');
?>
</li>
	</ul>
     </div>
   </div>
 
</div><!-- /.box-body -->
</div>
<!---End Event manager block--->

<?php 
yii\bootstrap\Modal::begin(['id' => 'eventModal', 'header' => "<h3>" . Yii::t('dash', 'Add Event') . "</h3>"]);
yii\bootstrap\Modal::end();
示例#21
0
    echo FancyBox::widget(['target' => 'a[id="fancy_' . $model->id . '"]', 'helpers' => true]);
    return Html::a(Html::img('/image/' . $model->preview, ['width' => '100px', 'height' => 'auto']), '/image/' . $model->preview, ['id' => 'fancy_' . $model->id]);
}], ['attribute' => 'author', 'label' => 'author', 'format' => 'raw', 'value' => function ($model) {
    /** @var AuthorModel $author */
    $author = $model->author;
    return $author->lastname . ' ' . $author->firstname;
}], ['attribute' => 'date', 'label' => 'date release', 'format' => 'raw', 'value' => function ($model) {
    return \Yii::$app->formatter->asDate($model->date, 'long');
}], ['class' => 'yii\\grid\\ActionColumn', 'template' => '{update}{prev}{delete}', 'buttons' => ['update' => function ($url, $model) {
    return Html::a('edit', null, ['class' => 'edit-btn', 'data-target' => '/books/ajax-update?id=' . $model->id]);
    //                        return Html::a('edit', $url);
}, 'prev' => function ($url, $model) {
    return Html::a(' | prev', $url);
}, 'delete' => function ($url, $model) {
    return Html::a(' | delete', $url);
}]]]]);
?>

</div>
<!--modal-->
<?php 
yii\bootstrap\Modal::begin(['header' => 'Edit book', 'id' => 'modal', 'size' => 'modal-md']);
?>
<div id='modal-content'>download...</div>
<?php 
yii\bootstrap\Modal::end();
?>



示例#22
0
			</div>
		</div>
	</div>

     </div> <!---End Row Div--->

<script type="text/javascript">
  (function($) {
      fakewaffle.responsiveTabs(['xs', 'sm']);
  })(jQuery);
</script>


<!--  POP UP Window for Guardian -->
<?php 
yii\bootstrap\Modal::begin(['id' => 'guardModal', 'header' => "<h3>Update Guardian</h3>"]);
yii\bootstrap\Modal::end();
?>
<script>
   function updateGuard(stu_guard_id, sid, tab) {
      $.ajax({
          type:'POST',
          url:'<?php 
echo Yii::$app->request->baseUrl;
?>
/student/stu-master/update?stu_guard_id='+stu_guard_id+'&sid='+sid+'&tab='+tab,
          success: function(data)
                   {
		       $(".modal-body").addClass("row");
                       $('.modal-body').html(data);
                       $('#guardModal').modal();
<?php

use yii\helpers\Html;
$this->registerCss("\n        #book-img {\n            width: 100%;\n        }\n    ");
?>

<?php 
yii\bootstrap\Modal::begin(['header' => '<span id="modalHeaderTitle"><i class="fa fa-edit"></i>Book</span>', 'headerOptions' => [], 'id' => 'modal_book', 'size' => 'modal-sm', 'clientOptions' => ['backdrop' => 'static', 'keyboard' => true]]);
?>

    <div id="modalContent">
        <h3>Title: <span id="book-name"></span></h3>
        <p>
            Published:
            <span id="book-published"></span>
        </p>
        <img src="" id="book-img">

        <p class="error" id="error_row_color_picker"></p>
        <input type="hidden" value="" id="change_color_row_id">
    </div>

<?php 
yii\bootstrap\Modal::end();
示例#24
-1
   padding:15px;
}
.box .box-body .fc-widget-header {
    background: none;
}
.popover{
    max-width:450px;   
}
</style>

<?php 
$this->registerJs("\$(function() {\n\t\$('.noticeModalLink').click(function() {\n\t\t\$('#NoticeModal').modal('show')\n\t\t.find('#NoticeModalContent')\n\t\t.load(\$(this).attr('data-value'));\n\t});\n});");
?>

<?php 
yii\bootstrap\Modal::begin(['header' => '<h4><i class="fa fa-eye"></i> ' . Yii::t('app', 'View Notice Details') . '</h4>', 'id' => 'NoticeModal']);
echo '<div id="NoticeModalContent"></div>';
yii\bootstrap\Modal::end();
?>

<!-- Main content -->
            <section class="content">
	<?php 
$msg = app\modules\dashboard\models\MsgOfDay::find()->andWhere(['is_status' => 0, 'msg_user_type' => ['0', 'E']])->one();
if (!empty($msg)) {
    ?>
				
		<div class="callout callout-info show msg-of-day" >
		    <h4><i class="fa fa-bullhorn"></i> <?php 
    echo Yii::t('app', 'Message of day box');
    ?>
示例#25
-1
文件: my.php 项目: myorb/alox
<?php

use yii\helpers\Html;
use kartik\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\search\ApartmentSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'My Apartments';
$this->params['breadcrumbs'][] = $this->title;
?>

<div class="apartment-index">

    <h1><?php 
Html::encode($this->title);
?>
</h1>


    <?php 
echo GridView::widget(['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'pjax' => true, 'columns' => [['class' => 'yii\\grid\\SerialColumn'], 'image_link:image', ['label' => 'Title', 'format' => 'raw', 'value' => function ($data) {
    return Html::a($data->title, $data->url, ['target' => '_blank']) . '<br> ' . $data->address;
}], 'price', 'date', ['class' => '\\kartik\\grid\\ActionColumn', 'header' => 'Action', 'template' => '{modal}{view}{update}{delete}', 'headerOptions' => ['width' => '20px'], 'contentOptions' => ['class' => 'padding-left-5px'], 'buttons' => ['modal' => function ($url, $model, $key) {
    return Html::a('<span class="glyphicon glyphicon-modal-window text-success"></span>', ['details', 'id' => $model->id], ['onclick' => "\$('#modal').modal('show').find('.modal-body').load(\$(this).attr('href'));return false", 'data-pjax' => '0']);
}]]]]);
?>

    <?php 
yii\bootstrap\Modal::begin(['id' => 'modal', 'size' => \yii\bootstrap\Modal::SIZE_LARGE, 'header' => '<h4 class="modal-title">View</h4>', 'footer' => '<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>']);
yii\bootstrap\Modal::end();
示例#26
-1
文件: main.php 项目: atecloud/atestat
        <?php 
echo $content;
?>

        <footer class="main-footer">
            <div class="pull-right hidden-xs">
                <?php 
echo Yii::powered();
?>
            </div>
            Copyright &copy; <?php 
echo date('Y');
?>
 by Ceragon Networks Ltd. All Rights Reserved.
        </footer>

    </div>

<?php 
$this->endBody();
?>
</body>
</html>
<?php 
$this->endPage();
?>

<?php 
yii\bootstrap\Modal::begin(['header' => '<span id="modalHeaderTitle"></span>', 'headerOptions' => ['id' => 'modalHeader'], 'id' => 'modal', 'size' => 'modal-sm', 'closeButton' => ['tag' => 'close', 'label' => 'Zamknij'], 'clientOptions' => ['backdrop' => 'static', 'keyboard' => FALSE]]);
echo '<div id="modalContent"><div style="text-align:center"><img src="' . Url::to('/images/loading.gif') . '"></div></div>';
yii\bootstrap\Modal::end();