new version

This commit is contained in:
nukeop 2016-12-05 00:20:31 +00:00
parent c052bcdbb5
commit 9e988edb82
3 changed files with 11 additions and 2 deletions

View file

@ -29,6 +29,10 @@ html, body {
text-shadow: -2px 2px 2px rgba(33, 33, 33, 0.85);
}
.navbar-default .navbar-brand:hover{
color: #FAFAFA;
}
.navbar-lower{
min-height: 30px;
background-color: #212121;

View file

@ -33,7 +33,7 @@
<ul class="nav navbar-nav navbar-right">
<li>
<form class="navbar-form navbar-left" role="search">
<form action="/search" method="post" class="navbar-form navbar-left" role="search">
<div class="form-group">
<input type="search" class="form-control" placeholder="Search">
</div>

View file

@ -8,7 +8,7 @@ from smash import app, conf, db
def index():
welcome = "<p>Welcome to the quote archive.</p>"
news = ("<p><b>02/12/2016{}</b></p><h4>{} running on smash quote database"
news = ("<p><b>{}</b></p><h4>{} running on smash quote database"
" engine launched today</h4>").format(
datetime.datetime.now().strftime("%d/%m/%y"),
conf.config['APPNAME']
@ -68,3 +68,8 @@ def tags():
appbrand=conf.config['APPBRAND'],
title="Tags"
)
@app.route('/search', methods=['POST'])
def search():
pass