Ejemplo n.º 1
0
echo Html::csrfMetaTags();
?>
        <title><?php 
echo Html::encode($this->title);
?>
</title>
        <link rel="shortcut icon" href="<?php 
echo $this->theme->getUrl('images/komponen/favicon.ico');
?>
" type="image/x-icon" />
        <?php 
$this->head();
?>
        
        <?php 
\yii\web\View::registerJs('var base_url = ' . json_encode(yii\helpers\Url::base(true)) . '', yii\web\View::POS_HEAD);
?>

        <!-- Facebook Pixel Code -->
        
        <!-- End Facebook Pixel Code -->

        
        
        <!-- Google Analytics -->
        
    </head>
    <body>
        <?php 
$this->beginBody();
?>
Ejemplo n.º 2
0
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
/* @var $this \yii\web\View */
/* @var $content string */
// AppAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <?php 
$this->registerJsFile(yii\helpers\Url::base() . '/js/ckeditor/ckeditor.js', ['position' => \yii\web\View::POS_HEAD]);
?>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
echo Html::encode($this->title);
?>
</title>
    <?php 
$this->head();
Ejemplo n.º 3
0
            <div class="col-xs-6 col-sm-4 p5">
                <div class="ml20">
                    <?php 
echo $form->field($model, 'ol_phone_no', array('labelOptions' => array('class' => 'f18')))->textInput(['maxlength' => true])->textInput(['class' => 'form-control intp telnumber']);
?>
  
                </div>
            </div>

            <div class="col-xs-6 col-sm-4 p5">
                <div class="ml20"> 
                    <?php 
echo $form->field($model, 'ol_email', array('labelOptions' => array('class' => 'f18')))->textInput(['maxlength' => true])->textInput(['class' => 'form-control intp']);
?>
  
                </div>
            </div>
        </div>
        <div class="form-group">
            <?php 
echo Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
        </div>
        <?php 
ActiveForm::end();
?>
        <?php 
$this->registerJsFile(yii\helpers\Url::base() . '/js/phone_number.js', ['position' => yii\web\View::POS_END, 'depends' => [\yii\web\JqueryAsset::className()]]);
?>
    </div>
</div>
Ejemplo n.º 4
0
?>

<?php 
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <?php 
$this->registerJsFile(yii\helpers\Url::base() . '/js/ckeditor/ckeditor.js', ['position' => \yii\web\View::POS_HEAD]);
?>
    <?php 
$this->registerCssFile(yii\helpers\Url::base() . '/css/stockmanagement.css');
?>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
echo Html::encode($this->title);
?>
</title>
    <?php 
$this->head();
Ejemplo n.º 5
0
/* @var $this \yii\web\View */
/* @var $content string */
AppAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <?php 
$this->registerCssFile(yii\helpers\Url::base() . '/css/openerp.css');
?>
    <?php 
$this->registerCssFile(yii\helpers\Url::base() . '/css/report.css');
?>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
?>
    <title>Open ERP Report</title>
    <link rel="shortcut icon" href="<?php 
echo Yii::$app->request->baseUrl;
?>
/favicon.ico" type="image/x-icon" />
    <?php 
Ejemplo n.º 6
0
        <div class="highlight">
            <pre id="paper">

            </pre>
        </div>
    </div>
</div>
<div id="addPanel" class="panel panel-info myalert" style="display: none;">
    <div class="panel-heading">
        <h3 class="panel-title">Add control<a href="javascript:void(0);" class="win_close fr">X</a></h3>
    </div>
    <div id="control_value" class="panel-body">
    </div>
    <div class="panel-body">
        <button type="button" id="addControlBtn" class="btn btn-info">确定</button>
    </div>
</div>

<?php 
//$this->beginBlock('myjs')
?>
<!--    $(document).ready(function(){alert("yyy")});-->
<?php 
//$this->endBlock()
//$this->registerJs($this->blocks['myjs'], \yii\web\View::POS_END);
?>

<?php 
$this->registerJsFile(yii\helpers\Url::base() . '/js/draggabilly.pkgd.min.js', ['depends' => [yii\web\JqueryAsset::className()]]);
$this->registerJsFile(yii\helpers\Url::base() . '/js/design.js', ['depends' => [yii\web\JqueryAsset::className()]]);