Browse Source

removed debug message and remove paddings for div boxes

Signed-off-by: root <root@ipekatrinadei.ipe.kit.edu>
root 7 years ago
parent
commit
c3997e1115
2 changed files with 3 additions and 4 deletions
  1. 1 3
      core.py
  2. 2 1
      static/style.css

+ 1 - 3
core.py

@@ -196,10 +196,8 @@ class BackupHandler(tornado.web.RequestHandler):
 class SaveHandler(tornado.web.RequestHandler):
 
     def post(self):
-        print self.request.body
         json_obj = json_decode(self.request.body)
-
-        print('Post data received')
+        
         with open("style.yaml", 'w') as output:
             output.write(yaml.safe_dump(json_obj,  encoding='utf-8',
                          allow_unicode=True, default_flow_style=False))

+ 2 - 1
static/style.css

@@ -8,7 +8,8 @@ body {
 
 p {
     font-family: 'Open Sans', sans-serif;
-    font-size: 28px; 
+    margin: 0;
+    padding: 0;
 }
 
 span,