new version
This commit is contained in:
parent
c052bcdbb5
commit
9e988edb82
3 changed files with 11 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue