コード例 #1
0
ファイル: helpers.php プロジェクト: php-arx/arxmin
 function arxminAsset($path, $params = [], $secure = null)
 {
     return Arxmin::getAssetsUrl($path, $params, $secure);
 }
コード例 #2
0
ファイル: admin.tpl.php プロジェクト: php-arx/arxmin
@endif
<div class="wrapper">

    <!-- Main Header -->
    <header class="main-header">

        <!-- Logo -->
        <a href="/" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b><img src="<?php 
echo $theme_url . '/img/logo-square.png';
?>
" width="20" alt=""/></b></span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><?php 
echo Arxmin::getOption('project_name', '<b>Arxmin</b><sup>Beta</sup>');
?>
</span>
        </a>

        <!-- Header Navbar -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">Toggle navigation</span>
            </a>

            <!-- Navbar Right Menu -->
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    @section('messages-menu')
コード例 #3
0
ファイル: datatable.tpl.php プロジェクト: php-arx/arxmin
                                    </th>
                                <?php 
}
?>
                                <th></th>
                            </tr>
                            </thead>
                        </table>

                    </div>
                </div>
            </div>
        </div>

    </div>
@stop

@section('css')
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    @parent
    <?php 
echo Asset::css([Arxmin::url() . "/plugins/datatables/css/jquery.dataTables.css", Arxmin::url() . "/plugins/boostrap-checkbox/css/bootstrap-checkbox.css", Arxmin::url() . "/plugins/datatables-responsive/css/datatables.responsive.css", Arxmin::url() . "/plugins/jquery-table-editor/examples/plugins/TableTools/css/dataTables.tableTools.css", Arxmin::url() . "/plugins/jquery-table-editor/dist/css/jquery-table-editor.css"]);
?>
    <style>
        table.dataTable tr td:first-child { text-align: center; } table.dataTable tr td:first-child:before { content: "\f096"; /* fa-square-o */ font-family: FontAwesome; } table.dataTable tr.selected td:first-child:before { content: "\f046"; /* fa-check-square-o */ } table.dataTable tr td.dataTables_empty:first-child:before { content: ""; }
    </style>
@stop

@section('js')

@stop
コード例 #4
0
ファイル: start.php プロジェクト: php-arx/module-dashboard
<?php

/*
|--------------------------------------------------------------------------
| Register Namespaces And Routes
|--------------------------------------------------------------------------
|
| When a module starting, this file will executed automatically. This helps
| to register some namespaces like translator or view. Also this file
| will load the routes file for each module. You may also modify
| this file as you want.
|
*/
/**
 * Here is an example of how to register a menu
 */
Arxmin::registerMenu(array('name' => 'Dashboard', 'ref' => 'dashboard', 'type' => 'module', 'ico' => 'fa-home', 'link' => url('/arxmin/modules/dashboard'), 'position' => 0));
require __DIR__ . '/Http/routes.php';