random modifications from server?
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python2
|
||||
#!/usr/local/bin/python
|
||||
import bottle
|
||||
import json
|
||||
import anydbm
|
||||
@@ -33,4 +33,5 @@ def index():
|
||||
|
||||
if __name__ == "__main__":
|
||||
bottle.debug(True)
|
||||
bottle.run(app, host='localhost', port=55580)
|
||||
bottle.run(app, host='0.0.0.0', port=55580)
|
||||
|
||||
|
||||
@@ -1,3 +1,44 @@
|
||||
@media (min-width: 768px) {
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.main-inner {
|
||||
margin-bottom: 50px;
|
||||
margin-bottom: -100px;
|
||||
}
|
||||
|
||||
.main, .main-inner {
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin-top: -120px;
|
||||
padding-top: 120px;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.span10, .well {
|
||||
height: 100%;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.textarea-wrapper {
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin-top: -75px;
|
||||
padding-top: 75px;
|
||||
padding-bottom: 25px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#data {
|
||||
width: 100%;
|
||||
font-family: monospace;
|
||||
|
||||
@@ -371,8 +371,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row-fluid">
|
||||
<div class="container-fluid main">
|
||||
<div class="main-inner row-fluid">
|
||||
<div class="span2">
|
||||
<form id="searchform" class="form-search">
|
||||
<input autocomplete="off" id="searchtext" type="text" class="input-medium search-query" placeholder="Search" data-provide="typeahead" />
|
||||
@@ -385,7 +385,7 @@
|
||||
<div class="span10">
|
||||
<div class="well">
|
||||
<input type="text" id="title" class="input-medium" placeholder="Title" />
|
||||
<textarea id="data" rows="10"></textarea><br />
|
||||
<div class="textarea-wrapper"><textarea id="data" rows="10"></textarea></div>
|
||||
<button id="submitter" class="btn btn-primary">Save</button>
|
||||
<button id="newer" class="btn btn-success">New</button>
|
||||
<span id="loader" class="middle"><img alt="Working..." class="middle" src="loading.gif"></span>
|
||||
|
||||
Reference in New Issue
Block a user