1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

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 __name__ == "__main__":
if settings.DEBUG: if settings.DEBUG:
debug(True) debug(True)
run(app, host='localhost', port=8080, reloader=True) run(app, host='localhost', port=8000, reloader=True)
else: else:
run(app, host='localhost', port=8080) run(app, host='localhost', port=8000)

View File

@ -64,8 +64,28 @@ p {
margin: 0 0 0px; margin: 0 0 0px;
} }
form li{
.form-options li{
float: left;
list-style-type: none; 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 { .btn {
@ -77,7 +97,26 @@ form {
padding-right: 17px; padding-right: 17px;
} }
.btn-primary { .btn-primary {
position:relative; position:relative;
top:-4px; 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]--> <![endif]-->
<!-- Le fav and touch icons --> <!-- Le fav and touch icons -->
<link rel="shortcut icon" href="/static/ico/favicon.ico"> <link rel="shortcut icon" href="/static/img/favicon.ico">
</head> </head>
<body> <body>
@ -50,7 +50,7 @@
<div class="span2"> <div class="span2">
<div class="well sidebar-nav"> <div class="well sidebar-nav">
<ul class="nav nav-list"> <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 1</a></li>
<li><a href="#">Paste 2</a></li> <li><a href="#">Paste 2</a></li>
</ul> </ul>
@ -59,10 +59,8 @@
<div class="span10"> <div class="span10">
%include %include
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
<hr> <hr>
@ -73,9 +71,12 @@
<small>Edgar Allan Poe</small> <small>Edgar Allan Poe</small>
</blockquote> </blockquote>
</br> </br>
<p> <p class="legal">
Based on an original idea from based on an original idea from
<a href="http://sebsauvage.net/paste/">sebsauvage.net</a> <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> </p>
</footer> </footer>