mjacobus/deutsch

View on GitHub
apps/web/templates/application.html.erb

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
  <head>
    <title>Salat</title>
    <%= favicon %>
    <%= javascript 'jquery' %>
    <%= javascript 'bootstrap' %>
    <%= stylesheet 'bootstrap' %>
    <%= stylesheet 'style' %>
    <%= javascript 'app.bundle.js' %>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  </script>
  </head>
  <body>

    <nav class="navbar navbar-default">
      <div class="container-fluid">
        <!-- 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>
          </button>
          <a class="navbar-brand" href="#">Salat</a>
        </div>

        <!-- 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><a href="/articles">Articles</a></li>
            <li><a href="/articles/test">Articles Test</a></li>
          </ul>
        </div><!-- /.navbar-collapse -->
      </div><!-- /.container-fluid -->
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-md-12">
          <%= yield %>
        </div>
      </div>
    </div>

    <hr>

    <footer>
      <ul>
        <li><a href="https://github.com/mjacobus/deutsch">Source code</a></li>
      </ul>
    </footer>
  </body>
</html>