コード例 #1
0
ファイル: index.html.php プロジェクト: odan/molengo-webapp
<div id="content" class="container">
    <div class="row">
        <div class="col-md-12">
            <h1><?php 
wh(__('Welcome'));
?>
 <small><?php 
wh(__('Demo'));
?>
</small></h1>
        </div>
    </div>
    <p></p>
    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-default">
                <div class="panel-body">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="jumbotron">
                                <h1 id="hello world">Hello, world!<a class="anchorjs-link" href="#hello,-world!"><span class="anchorjs-icon"></span></a></h1>
                                <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
                                <p>
                                    <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12">
                        <h1 class="page-header">Tables</h1>
                    </div>
コード例 #2
0
ファイル: layout.html.php プロジェクト: odan/molengo-webapp
                        <li><a href="#settings"><?php 
wh(__('Settings'));
?>
</a></li>
                        <?php 
if ($app->user->is('ROLE_ADMIN')) {
    ?>
                            <li><a href="#admin"><?php 
    wh(__('Admin'));
    ?>
</a></li>
                        <?php 
}
?>
                        <li><a href="login"><?php 
wh(__('Logout'));
?>
</a></li>
                    </ul>
                </div><!--/.nav-collapse -->
            </div>
        </nav>
        <?php 
echo $this->fetch($content);
?>
        <!-- JavaScript -->
        <script type="text/javascript" src="assets/js/jquery.min.js"></script>
        <script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="assets/js/ie10-viewport-bug-workaround.js"></script>
        <?php 
echo $this->assetJs($assets, ['inline' => false]);
コード例 #3
0
ファイル: login.html.php プロジェクト: odan/molengo-webapp
echo $this->assetJs($assets, ['inline' => false]);
?>
    </head>

    <body>
        <div class="container">
            <form class="form-signin" method="POST">
                <h2 class="form-signin-heading"><?php 
wh(__('Please sign in'));
?>
</h2>
                <input type="text" name="username" class="form-control" placeholder="<?php 
wh(__('Username'));
?>
" autofocus>
                <input type="password" name="password" class="form-control" placeholder="<?php 
wh(__('Password'));
?>
">
                <!--<label class="checkbox">
                    <input type="checkbox" value="remember-me"> Remember me
                </label>-->
                <button id="btn_login" class="btn btn-lg btn-primary btn-block" type="submit"><?php 
wh(__('Sign in'));
?>
</button>
            </form>
        </div>
    </body>
</html>
コード例 #4
0
ファイル: index.html.php プロジェクト: odan/dandy
" />
        <link rel="shortcut icon" href="favicon.ico">
        <title><?php 
wh(__('Demo'));
?>
</title>

        <!-- Bootstrap -->
        <link href="css/bootstrap.min.css" rel="stylesheet">

        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    <body>
        <h1><?php 
wh(__('Hello, world!'));
?>
</h1>
        <?php 
wh($counter);
?>
        <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
        <script src="js/jquery.min.js"></script>
        <!-- Include all compiled plugins (below), or include individual files as needed -->
        <script src="js/bootstrap.min.js"></script>
    </body>
</html>