File: app/example/view/commons/menu.phtml

Recommend this page to a friend!
  Classes of Carlos Eduardo Barcelos Amaral  >  Base MVC Framework  >  app/example/view/commons/menu.phtml  >  Download  
File: app/example/view/commons/menu.phtml
Role: Sample output
Content type: text/plain
Description: Sample output
Class: Base MVC Framework
MVC framework to be the base of Web applications
Author: By
Last change: Base – 1.0.0-alpha.5.1

Implementado sistema de Rotas, mas ainda não testado totalmente.
Date: 5 years ago
Size: 1,887 bytes


Class file image Download
<nav class="navbar navbar-default">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      <a class="navbar-brand" href="#">Base</a>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="<?=self::href()?>">Home</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
            Pgina Login <span class="caret"></span>
          <ul class="dropdown-menu">
            <li><a href="<?=self::href('/login')?>">Rota: /login</a></li>
            <li><a href="<?=self::href('/entrar')?>">Rota: /entrar</a></li>

      <ul class="nav navbar-nav navbar-right">
        <li><a href="">GitHub</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Related <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="">Developer</a></li>
            <li><a href="">Devcia</a></li>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
For more information send a message to info at phpclasses dot org.