Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Silva <sebastian@somosazucar.org>2013-08-23 17:40:36 (GMT)
committer Sebastian Silva <sebastian@somosazucar.org>2013-08-23 17:40:36 (GMT)
commitd44a2b11428563b25f0d54f3bc1e20276a4e2c4b (patch)
tree32bf84ac3bde8402bb390ee21a2fbfad8972db6c
parentb35bfe0f8687f39b25b0eb52f691096d1ac23fab (diff)
permaculture for children wikiHEADmaster
-rwxr-xr-xdev.py2
-rw-r--r--hatta/static/style.css11
-rw-r--r--hatta/templates/layout.html6
-rwxr-xr-xpermachildren4
4 files changed, 18 insertions, 5 deletions
diff --git a/dev.py b/dev.py
index 7ad008d..8d3dcad 100755
--- a/dev.py
+++ b/dev.py
@@ -13,6 +13,6 @@ if __name__=="__main__":
config.parse_args()
# config.parse_files()
application = hatta.Wiki(config).application
- host = config.get('interface', 'localhost')
+ host = config.get('interface', '0.0.0.0')
port = int(config.get('port', 8080))
werkzeug.run_simple(host, port, application, use_reloader=True)
diff --git a/hatta/static/style.css b/hatta/static/style.css
index 78db6a1..484dc23 100644
--- a/hatta/static/style.css
+++ b/hatta/static/style.css
@@ -5,9 +5,13 @@ html {
color: #2e3436;
font-family: sans-serif;
font-size: 96%;
+ background: url(background.png) 50% 50% no-repeat fixed;
}
body {
- margin: 1em auto;
+ margin: 0px;
+}
+div#hatta-body {
+ margin: 0px auto;
line-height: 1.3;
width: 40em
}
@@ -121,7 +125,10 @@ div#hatta-footer {
a#hatta-logo {
float: left;
display: block;
- margin: 0.25em;
+ margin: auto;
+ width: 100%;
+ text-align: center;
+ /* margin: 0.25em; */
}
div#hatta-header h1 {
margin: 0;
diff --git a/hatta/templates/layout.html b/hatta/templates/layout.html
index 9754cdc..64ba769 100644
--- a/hatta/templates/layout.html
+++ b/hatta/templates/layout.html
@@ -5,8 +5,10 @@
<title>{% block title %}{% endblock %}</title>
{% block links %}{% endblock %}
{% block meta %}{% endblock %}
-</head><body><div id="hatta-header">
+</head><body>
{% block logo %}{% endblock %}
+<div id="hatta-body">
+<div id="hatta-header">
{% block search %}{% endblock %}
{% block menu %}{% endblock %}
{% block page_title %}{% endblock %}
@@ -14,6 +16,6 @@
{% block content %}{% endblock %}
<div id="hatta-footer">
{% block footer %}{% endblock %}
-</div></div>
+</div></div></div>
{% block scripts %}{% endblock %}
</body></html>
diff --git a/permachildren b/permachildren
new file mode 100755
index 0000000..29a354c
--- /dev/null
+++ b/permachildren
@@ -0,0 +1,4 @@
+#!/bin/sh
+python2 dev.py -D -n "Permaculture for Children" -m "Inicio" &
+sleep 5
+chromium --app=http://localhost:8080/