change port to 8000 , changed base favicon path

This commit is contained in:
johndoe 2012-04-26 16:59:45 +07:00
parent 2180d00dda
commit ea8cabc355
6 changed files with 52 additions and 12 deletions

View File

@ -48,6 +48,6 @@ def server_static(filename):
if __name__ == "__main__":
if settings.DEBUG:
debug(True)
run(app, host='localhost', port=8080, reloader=True)
run(app, host='localhost', port=8000, reloader=True)
else:
run(app, host='localhost', port=8080)
run(app, host='localhost', port=8000)

View File

@ -64,8 +64,28 @@ p {
margin: 0 0 0px;
}
form li{
.form-options li{
float: left;
list-style-type: none;
}
button.btn, input[type="submit"].btn {
margin-left: 5px;
}
.well {
padding-bottom: 40px;
padding-right: 17px;
}
.legal {
margin: 0 auto;
width: 300px;
text-align: center;
margin-top: 30px;
}
.btn {
@ -75,9 +95,28 @@ list-style-type: none;
form {
padding-bottom:3em !important;
padding-right: 17px;
}
}
.btn-primary {
position:relative;
top:-4px;
}

BIN
static/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
static/img/gradient.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

BIN
static/img/ico.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -18,7 +18,7 @@
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="/static/ico/favicon.ico">
<link rel="shortcut icon" href="/static/img/favicon.ico">
</head>
<body>
@ -50,19 +50,17 @@
<div class="span2">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Previous pastes</li>
<li class="nav-header">Prev. pastes</li>
<li><a href="#">paste 1</a></li>
<li><a href="#">Paste 2</a></li>
</ul>
</div><!--/.well -->
</div><!--/.well -->
</div><!--/span-->
<div class="span10">
%include
%include
</div><!--/span-->
</div><!--/row-->
<hr>
@ -73,9 +71,12 @@
<small>Edgar Allan Poe</small>
</blockquote>
</br>
<p>
Based on an original idea from
<p class="legal">
based on an original idea from
<a href="http://sebsauvage.net/paste/">sebsauvage.net</a>
<br>
Made with <a href="http://bottlepy.org/docs/dev/">bottle</a> &amp; <a href="http://twitter.github.com/bootstrap/">bootstrap</a>
</p>
</footer>