Source

php-bootstrap-boilerplate / gui / basic / main.html

Full commit
<!DOCTYPE html>
<html>
<head>
	<title><?= $this->get('title'); ?></title>
	<link rel="icon" href="<?= $this->get('BASE'); ?>/gui/favicon.ico" />
	<link rel="shortcut icon" href="<?= $this->get('BASE'); ?>/gui/favicon.ico" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link href="<?= $this->get('BASE'); ?>/gui/bootstrap/css/bootstrap_spacelab.css" rel="stylesheet">
	<link href="<?= $this->get('BASE'); ?>/gui/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
</head>
<body class="preview" data-spy="scroll" data-target=".subnav" data-offset="80">


  <!-- Navbar
    ================================================== -->
  <div class="navbar">
    <div class="navbar-inner">
      <div class="container" style="width: auto;">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <a class="brand" href="#">Post Box</a>
        <div class="nav-collapse">
          <ul class="nav">
              <? foreach ($this->get('top_menu') as $key=>$value): ?>
                <? if ($this->get('title')==$value): ?>
                   <li class="active"><a href="<?= $this->get('BASE').($key=='/'?$key:('/'.$key)); ?>"><?= $value; ?></a></li>               
                <? else: ?>
                    <li><a href="<?= $this->get('BASE').($key=='/'?$key:('/'.$key)); ?>"><?= $value; ?></a></li>
                <? endif; ?>
              <? endforeach; ?> 
          </ul>
          <form class="navbar-search pull-right" action="">
            <input type="text" class="search-query span2" placeholder="Pincode">
          </form>
        </div><!-- /.nav-collapse -->
      </div>
    </div><!-- /navbar-inner -->
  </div><!-- /navbar -->



    <div class="container">


<!-- Masthead
================================================== -->
<header class="jumbotron subhead" id="overview">
  <div class="row">
    <div class="span6">
      <h2><?= $this->get('title'); ?></h2>
      <p class="lead">A preview of changes in this swatch.</p>
    </div>
    <div class="span6">
      <div class="bsa well">
Notes about this page
      </div>
    </div>
  </div>

</header>


<!-- Typography
================================================== -->
<section id="typography">

  <!-- Headings & Paragraph Copy -->
  <div class="row">

    <div class="span2">
      <div class="well">
        <h4>h4. Heading 4</h4>
        <h4>h4. Heading 4</h4>
        <h4>h4. Heading 4</h4>
        <h4>h4. Heading 4</h4>
        <h4>h4. Heading 4</h4>
      </div>
    </div>

    <div class="span8">
          <?= $this->get('sub_out_put'); ?>
    </div>

  </div>

</section>




     <!-- Footer
      ================================================== -->
      <footer class="footer">
        <p class="pull-left">Page generated in <?= sprintf('%.3f',microtime(TRUE)-$this->get('timer')); ?> secs &bull; Memory consumed <?= sprintf('%.3f',memory_get_peak_usage()/1e6); ?> Mbytes</p>

        <p class="pull-right"><a href="http://thejeshgn.com"><img src="<?= $this->get('BASE'); ?>/gui/thejeshgn-name.png" width="100px"/></a></p>
      </footer>

    </div><!-- /container -->

	
	<script src="<?= $this->get('BASE'); ?>/gui/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>