Exemplo n.º 1
0
    
    <link rel="shortcut icon" href="{{ asset('favicon.ico') }}">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ asset('img/apple-touch-icon-144-precomposed.png') }}">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ asset('img/apple-touch-icon-114-precomposed.png') }}">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ asset('img/apple-touch-icon-72-precomposed.png') }}">
    <link rel="apple-touch-icon-precomposed" href="{{ asset('img/apple-touch-icon-57-precomposed.png') }}">
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar">
    <!--[if lt IE 7]>
        <p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
    <![endif]-->

    <?php 
$user_name = $array_usermenu = $array_register_menu = $array_login_menu = $array_login_attr = null;
if (Auth::guest()) {
    $modal_remote = Bootstrapper\Modal::create('ModalLogin')->with_header('Login')->with_data_remote('/login/index/popup');
    $modal_remote->autofooter = false;
    $array_register_menu = array(__('interface.signup'), '/login/newuser', false, false, null, 'aw_user');
    $array_login_menu = array(Navigation::link('Login', '#', false, false, null, 'aw_key icon-white'));
    $array_login_attr = $modal_remote->get_launcher_attributes() + array('class' => 'pull-right');
    echo $modal_remote;
} else {
    $user_name = Auth::user()->name;
    $array_usermenu = array($user_name, '#', false, false, array(array(__('interface.profile'), '/profile'), array(Navigation::DIVIDER), array(__('interface.logout'), '/logout')));
}
// Navigation Bar
echo Bootstrapper\Navbar::inverse(null, Navbar::FIX_TOP)->with_brand(Config::get('application.site-name'), '#')->with_menus(array(Navigation::link(Config::get('application.language', 'en'), '#', false, false, array(array('label' => 'English', 'url' => '/language/1'), array('label' => 'Italiano', 'url' => '/language/0')), 'flag icon-white')), array('class' => 'pull-right'))->with_menus($array_login_menu, $array_login_attr)->with_menus(array(Navigation::link('Home', '/', false, false, null, 'home icon-white')), array('class' => 'pull-left'))->with_menus(Navigation::links(array($array_register_menu, $array_usermenu)), array('class' => 'pull-right'))->collapsible();
?>
 
    
    <div class="wrapper">
Exemplo n.º 2
0
</head>
<body>*/
?>
@section('content')
<?php 
$logged_name = Session::get('logged_name');
if (isset($logged_name)) {
    echo Alert::success("Welcome back {$logged_name}")->block();
}
/*	$modal = Bootstrapper\Modal::create('myModal')
		->with_header('This is the Header!')
		->add_headers(array('This is one more Header!'))
		->with_body('Hello World')
		->add_body(array(HTML::image('http://bootstrapper.aws.af.cm/img/bootstrap-mdo-sfmoma-01.jpg')));
*/
$modal_remote = Bootstrapper\Modal::create('myModalRemote')->with_header('Login')->with_data_remote('/login');
$modal_remote->autofooter = false;
?>
	{{ $modal_remote->get_launch_button('<i class="icon-user"></i> Login popup') }}
	{{ $modal_remote }}
	<br>	<br>
		<?php 
echo Bootstrapper\Carousel::create(array(array('image' => 'http://bootstrapper.aws.af.cm/img/bootstrap-mdo-sfmoma-01.jpg', 'label' => 'First Thumbnail label', 'caption' => 'Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida 
					at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.'), array('image' => 'http://bootstrapper.aws.af.cm/img/bootstrap-mdo-sfmoma-02.jpg', 'label' => 'Second Thumbnail label', 'caption' => 'Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta 
					gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.'), array('image' => 'http://bootstrapper.aws.af.cm/img/bootstrap-mdo-sfmoma-03.jpg', 'label' => 'Third Thumbnail label', 'caption' => 'Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta 
					gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.')));
?>
		
		<header>
			<h1>Laravel</h1>
			<h2>A Framework For Web Artisan</h2>