Преглед на файлове

removed debug message and remove paddings for div boxes

Signed-off-by: root <root@ipekatrinadei.ipe.kit.edu>
root преди 7 години
родител
ревизия
c3997e1115
променени са 2 файла, в които са добавени 3 реда и са изтрити 4 реда
  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,