server/php/basic/resources/templates/header.php
author rougeronj
Wed, 16 Sep 2015 17:36:46 +0200
changeset 524 904effa4b6d7
parent 442 adb907bba956
permissions -rw-r--r--
improve view management: - we can pass a negative view index, in this case we count from the end of the list of view - before creating/changing the view representation, we remove the previous one and reinitialize the node visibility - each time we save a view, it creates a new one at the end of the list - "restore" view loads the last view of the list

<!doctype html>
<html class="no-js" lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Renkan</title>
    <link rel="stylesheet" href="static/lib/foundation/css/foundation.css" />
    <?php
    if(isset($css)) {
      foreach($css as $css_path) {
        echo("<link rel=\"stylesheet\" href=\"$css_path\" />\n");
      }
    }
    ?>
    <link rel="stylesheet" href="static/css/renkanphp.css" />
    <script src="static/lib/modernizr.js"></script>
  </head>
  <body>
  <div id="header" class="sticky">
    <nav class="top-bar" data-topbar role="navigation">
      <ul class="title-area inline-list">
        <li class="name">
          <h1><a href="index.php"><img src='static/img/renkan-white-30x30.png'/></a></h1>
        </li>
        <li class="name">
          <h1><a href="index.php">Renkan</a></h1>
        </li>
      </ul>
    </nav>
  </div>