Commit 8723f8be authored by Francesc Guasch's avatar Francesc Guasch
Browse files

basic bootstrap interface

parent 13fee886
......@@ -10,7 +10,7 @@ Read docs/
### Development
To run it in development mode issue those commands in two different terminals:
$ morbo ./bin/
$ morbo ./
$ sudo ./bin/
### Production
......@@ -36,9 +36,12 @@ any '/' => sub {
push @error,("Access denied");
$c->render(login => $login ,template => 'index' , id_base => $id_base
, error => \@error
, base => list_bases());
template => 'bootstrap/main'
,id_base => $id_base
,login => $login
,error => \@error
,base => list_bases());
get '/ip' => sub {
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<!DOCTYPE html>
%= include 'bootstrap/header'
<body role="document">
%= include 'bootstrap/navigation'
<div class="container theme-showcase" role="main">
<div class="jumbotron">
%= include 'bootstrap/scripts'
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<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="/">Ravada</a>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
<li><a href="/login.html">Login</a></li>
</div><!--/.nav-collapse -->
<script src=""></script>
<script src=""></script>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment