Вход Регистрация
Файл: cobisja/BootHelp/index.php
Строк: 198
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
        <title>BootHelp - PHP Helpers for Bootstrap</title>

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

        <!-- BootHelp -->
        <link href="Guide/css/boothelp.css" rel="stylesheet">
        
        <!-- BootHelp ico -->
        <link rel="shortcut icon" href="Guide/img/boothelp.ico"/>        

        <!-- Font awesome css -->
        <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" media="screen" rel="stylesheet" type="text/css" />
    </head>
  <body>
        <div class="header">
            <div class="container">
                <h1>BootHelp</h1> 
                <p>Get the best of both worlds: The beauty of Bootstrap using the power of PHP.</p>
            </div>
        </div>
         <div class="container">
            <div class="row">
                <div class="col-md-9" role="main">
<?php
/**
 * BootHelp - PHP Helpers for Bootstrap
 *
 * (The MIT License)
 *
 * Copyright (c) 2015 Jorge Cobis <jcobis@gmail.com / http://twitter.com/cobisja>.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

/**
 * Guide to how to use BootHelp - PHP Helpers for Bootstrap
 *
 * To get running this web guide you have to download the followings pieces of software:
 *
 * - jQuery 1.9.x -> http://jquery.com
 * - Bootsrap 3.3.x -> http://getbootstrap.com
 *
 * Then copy the followings files into specified locations:
 *
 * bootstrap css: 'bootstrap.min.css -> 'Guide/css'.
 * bootstrap fonts: 'bootstrap/fonts/*' -> 'Guide/fonts'.
 * jquery and bootstrap js: 'bootstrap.min.js and jquery.min.js -> 'Guide/js'.
 *
 * Aditional css is required to use 'Font awesome'. You have to add a link to awesome.css:
 * <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" media="screen" rel="stylesheet" type="text/css" />
 */

require 'vendor/autoload.php';

require(
'Guide/content/overview.php');
require(
'Guide/content/alert.php');
require(
'Guide/content/badge.php');
require(
'Guide/content/button.php');
require(
'Guide/content/button_group.php');
require(
'Guide/content/button_toolbar.php');
require(
'Guide/content/carousel.php');
require(
'Guide/content/dropdown.php');
require(
'Guide/content/icon.php');
require(
'Guide/content/image.php');
require(
'Guide/content/label.php');
require(
'Guide/content/list_group.php');
require(
'Guide/content/modal.php');
require(
'Guide/content/nav.php');
require(
'Guide/content/navbar.php');
require(
'Guide/content/panel.php');
require(
'Guide/content/panel_rows.php');
require(
'Guide/content/progress_bar.php');
require(
'Guide/content/table.php');
require(
'Guide/content/thumbnail.php');
?>
                </div>
                <div class="col-md-3">
                   <div role="complementary" class="sidebar  affix">
                       <?php
                        
use cobisjaBootHelpBootHelp;
                        
                        echo 
BootHelp::contentTag(
                            
'div',
                            [
'id'=>'bh-nav''data-spy'=>'affix''data-offset-top'=>250'data-offset-bottom'=>350],
                            function () {
                                return 
BootHelp::nav(
                                    [
'as'=>'single''class'=>'bs-docs-sidenav'],
                                    function () {
                                        return [
                                            
BootHelp::linkTo('Overview', ['href'=>'#overview']),
                                            
BootHelp::linkTo('Alerts', ['href'=>'#alerts']),
                                            
BootHelp::linkTo('Badges', ['href'=>'#badges']),
                                            
BootHelp::linkTo('Buttons', ['href'=>'#buttons']),
                                            
BootHelp::linkTo('Button Group', ['href'=>'#button-group']),
                                            
BootHelp::linkTo('Button Toolbar', ['href'=>'#button-toolbar']),
                                            
BootHelp::linkTo('Carousel', ['href'=>'#carousel']),
                                            
BootHelp::linkTo('Dropdowns', ['href'=>'#dropdowns']),
                                            
BootHelp::linkTo('Icons', ['href'=>'#icons']),
                                            
BootHelp::linkTo('Images', ['href'=>'#images']),
                                            
BootHelp::linkTo('Labels', ['href'=>'#labels']),
                                            
BootHelp::linkTo('List group', ['href'=>'#list-group']),
                                            
BootHelp::linkTo('Modals', ['href'=>'#modals']),
                                            
BootHelp::linkTo('Navs', ['href'=>'#navs']),
                                            
BootHelp::linkTo('Navbars', ['href'=>'#navbars']),
                                            
BootHelp::linkTo('Panels', ['href'=>'#panels']),
                                            
BootHelp::linkTo('Panel rows', ['href'=>'#panel-rows']),
                                            
BootHelp::linkTo('Progress bars', ['href'=>'#progress-bar']),
                                            
BootHelp::linkTo('Tables', ['href'=>'#tables']),
                                            
BootHelp::linkTo('Thumbnails', ['href'=>'#thumbnails'])
                                        ];
                                    }
                                );
                            }
                        );
                        
?>
                    </div>
                </div>
            </div>            
        </div>
        <?php require('Guide/content/zfooter.php'); ?>
        <script src="Guide/js/jquery.min.js"></script>
        <script src="Guide/js/bootstrap.min.js"></script>
        <script src="Guide/js/boothelp.js"></script>
    </body>
</html>
Онлайн: 0
Реклама