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'
|
PORT = '8000'
|
||||||
WSGI_SERVER = 'wsgiref'
|
WSGI_SERVER = 'wsgiref'
|
||||||
WSGI_SERVER_OPTIONS = {}
|
WSGI_SERVER_OPTIONS = {}
|
||||||
#WSGI_SERVER = 'gunicorn'
|
WSGI_SERVER = 'gunicorn'
|
||||||
#WSGI_SERVER_OPTIONS = {'workers': 4, 'worker_class': 'eventlet'}
|
WSGI_SERVER_OPTIONS = {'workers': 4 }
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
DB_URI = 'sqlite:///techrec.db'
|
DB_URI = 'sqlite:///techrec.db'
|
||||||
|
|
|
@ -19,6 +19,14 @@
|
||||||
|
|
||||||
<body class="pure-skin-porpora">
|
<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 id="rec-inizia" class="centerscreen-container"> <!-- responsive grid -->
|
||||||
<div class="centerscreen-inner">
|
<div class="centerscreen-inner">
|
||||||
<button class="pure-button pure-button-primary pure-button-enorme add-new-rec">
|
<button class="pure-button pure-button-primary pure-button-enorme add-new-rec">
|
||||||
|
|
|
@ -19,6 +19,15 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="pure-skin-porpora">
|
<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">
|
<div id="main">
|
||||||
<h1>Scarica registrazione passata</h1>
|
<h1>Scarica registrazione passata</h1>
|
||||||
<div id="rec-normal" class="pure-g-r">
|
<div id="rec-normal" class="pure-g-r">
|
||||||
|
|
|
@ -6,6 +6,7 @@ logger = logging.getLogger('server')
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
from bottle import Bottle, request, static_file, redirect, abort, response
|
from bottle import Bottle, request, static_file, redirect, abort, response
|
||||||
|
|
||||||
botlog = logging.getLogger('bottle')
|
botlog = logging.getLogger('bottle')
|
||||||
botlog.setLevel(logging.INFO)
|
botlog.setLevel(logging.INFO)
|
||||||
botlog.addHandler(logging.StreamHandler(sys.stdout))
|
botlog.addHandler(logging.StreamHandler(sys.stdout))
|
||||||
|
|
Loading…
Reference in a new issue