コード例 #1
0
ファイル: index.php プロジェクト: gtyd/jira
    <meta charset="UTF-8">
    <title>明源云产品研发管理平台</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <?php 
echo _asset('@web/AmazeUI/assets/css/amazeui.min.css');
?>
    <?php 
echo _asset('@web/js/base_new.min.js');
?>
    <?php 
echo _asset('@web/js/mysoft.js');
?>
    <?php 
echo _include_once("@common/components/dialog/index.php");
?>
    <style>
        .header {
            text-align: center;
        }

        .header h1 {
            font-size: 200%;
            color: #333;
            margin-top: 30px;
        }
コード例 #2
0
ファイル: helpers.php プロジェクト: BePsvPT/CCU
 /**
  * Generate a URL to a named route.
  *
  * @param  string $name
  * @param  bool $appendVersion
  * @return string
  */
 function routeAssets($name, $appendVersion = false)
 {
     $postfix = ['js' => '.js', 'templates' => '.html', 'css' => '.css'][strstr($name, '.', true)];
     $url = 'assets/' . str_replace('.', '/', $name) . $postfix;
     return _asset($url) . ($appendVersion ? '?v=' . \App\Ccu\Core\Entity::VERSION : '');
 }
コード例 #3
0
ファイル: show3.php プロジェクト: gtyd/jira
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>我的任务</title>
    <?php 
echo _asset('@web/AmazeUI/assets/css/amazeui.min.css');
?>
    <?php 
echo _asset('@web/AmazeUI/assets/css/amaze.min.css');
?>
</head>
<body>
<form class="am-form">
    <fieldset>
        <legend>表单标题</legend>

        <div class="am-form-group">
            <label for="doc-ipt-email-1">邮件</label>
            <input type="text" class="" id="doc-ipt-email-1" placeholder="输入电子邮件">
        </div>

        <div class="am-form-group">
            <label for="doc-ipt-pwd-1">密码</label>
            <input type="text" class="" id="doc-ipt-pwd-1" placeholder="设置个密码吧">
        </div>

        <div class="am-form-group">
            <label for="doc-ipt-file-1">原生文件上传域</label>
コード例 #4
0
 public function getClassIcon()
 {
     return _asset('images/layout/class_icons/' . $this->class_id . '.png');
 }
コード例 #5
0
ファイル: index.php プロジェクト: gtyd/jira
<?php

echo _include("@backend/views/nav.php");
_asset('@web/demo/css/site.css');
?>
hello word
<?php 
echo _include("@backend/views/footer.php");
?>
<script type="text/javascript">
    mysoft.prepare(function(){
        console.log($("body"));
    });
</script>
コード例 #6
0
ファイル: index.php プロジェクト: gtyd/jira
                    </div>
                </li>
            </ul>
            <div class="pull-action" id="pull-up">
        <span class="am-icon-arrow-down pull-label"
              id="pull-up-label"> 上拉加载更多</span>
                <span class="am-icon-spinner am-icon-spin"></span>
            </div>
        </div>
    </div>
</div>

<?php 
echo _asset('@web/AmazeUI/assets/js/jquery.min.js');
echo _asset('@web/AmazeUI/assets/js/handlebars.min.js');
echo _asset('@web/AmazeUI/assets/js/amazeui.min.js');
?>

<script type="text/x-handlebars-template" id="tpi-list-item">
    {{#each this}}
    <li class="am-list-item-desced" data-id="{{id}}" data-key="{{key}}">
        <a class="am-list-item-hd" target="_blank" href="{{detail_url}}">{{key}}</a>

        <div class="am-list-item-text">{{fields.主题}}</div>
    </li>
    {{/each}}
</script>
<script>
    (function ($) {
        var EventsList = function (element, options) {
            var $main = $('#wrapper');
コード例 #7
0
ファイル: main.php プロジェクト: gtyd/jira
        <?php 
echo _include("@webroot/js/mysoft.js");
?>
    </script>
</head>
<body>
<?php 
$this->beginBody();
?>
<div class="wrap">
    <div class="container">
        <?php 
echo $content;
?>
    </div>
</div>
<?php 
echo _asset('@static/js/base.min.js?v=aaa');
$this->endBody();
?>
<script type="text/javascript">
    var tplData = <?php 
echo json_encode($this->params['tpldata']);
?>
||{};
    for(var i = 0;i<mysoft.initfunc.length;i++){mysoft.initfunc[i]();}
</script>
</body>
</html>
<?php 
$this->endPage();