add a menu to pages
This commit is contained in:
parent
be56c206b4
commit
2bd2f5813b
4 changed files with 20 additions and 2 deletions
|
@ -2,8 +2,8 @@ HOST = 'localhost'
|
|||
PORT = '8000'
|
||||
WSGI_SERVER = 'wsgiref'
|
||||
WSGI_SERVER_OPTIONS = {}
|
||||
#WSGI_SERVER = 'gunicorn'
|
||||
#WSGI_SERVER_OPTIONS = {'workers': 4, 'worker_class': 'eventlet'}
|
||||
WSGI_SERVER = 'gunicorn'
|
||||
WSGI_SERVER_OPTIONS = {'workers': 4 }
|
||||
|
||||
DEBUG = True
|
||||
DB_URI = 'sqlite:///techrec.db'
|
||||
|
|
|
@ -19,6 +19,14 @@
|
|||
|
||||
<body class="pure-skin-porpora">
|
||||
|
||||
<div class="pure-menu pure-menu-open pure-menu-horizontal">
|
||||
<a href="#" class="pure-menu-heading">TechRec</a>
|
||||
<ul>
|
||||
<li class="pure-menu-selected"><a href="new.html">Diretta</a></li>
|
||||
<li><a href="old.html">Vecchie</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="rec-inizia" class="centerscreen-container"> <!-- responsive grid -->
|
||||
<div class="centerscreen-inner">
|
||||
<button class="pure-button pure-button-primary pure-button-enorme add-new-rec">
|
||||
|
|
|
@ -19,6 +19,15 @@
|
|||
</head>
|
||||
|
||||
<body class="pure-skin-porpora">
|
||||
|
||||
<div class="pure-menu pure-menu-open pure-menu-horizontal">
|
||||
<a href="#" class="pure-menu-heading">TechRec</a>
|
||||
<ul>
|
||||
<li><a href="new.html">Diretta</a></li>
|
||||
<li class="pure-menu-selected"><a href="old.html">Vecchie</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<h1>Scarica registrazione passata</h1>
|
||||
<div id="rec-normal" class="pure-g-r">
|
||||
|
|
|
@ -6,6 +6,7 @@ logger = logging.getLogger('server')
|
|||
from functools import partial
|
||||
|
||||
from bottle import Bottle, request, static_file, redirect, abort, response
|
||||
|
||||
botlog = logging.getLogger('bottle')
|
||||
botlog.setLevel(logging.INFO)
|
||||
botlog.addHandler(logging.StreamHandler(sys.stdout))
|
||||
|
|
Loading…
Reference in a new issue