diff --git a/index.html b/index.html index 6853402..8893a2f 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + diff --git a/index.php b/index.php new file mode 100644 index 0000000..6853402 --- /dev/null +++ b/index.php @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + +
+
+

Right Panel

+

Options will be kept here

+
+
+ +
+ +
+
+ + + +
+

My Diary

+ +
+ +
+

Expositors

+
+ +
+ + + diff --git a/js/easy.js b/js/easy.js index e63083c..12c2c6c 100644 --- a/js/easy.js +++ b/js/easy.js @@ -1,6 +1,25 @@ + tinymce.init({ + selector: 'textarea', + height: 350, + theme: 'modern', + menubar:false, + plugins: [ + 'advlist autolink lists link image charmap print preview hr anchor pagebreak', + 'searchreplace wordcount visualblocks visualchars code fullscreen', + 'insertdatetime media nonbreaking save table contextmenu directionality', + 'emoticons template paste textcolor colorpicker textpattern imagetools' + ], + toolbar1: 'insertfile undo redo | styleselect | bold italic | bullist numlist outdent indent | link image', + toolbar2: 'forecolor backcolor emoticons', + image_advtab: true, + templates: [ + { title: 'Test template 1', content: 'Test 1' }, + { title: 'Test template 2', content: 'Test 2' } + ], + content_css: [ + '//fonts.googleapis.com/css?family=Lato:300,300i,400,400i', + '//www.tinymce.com/css/codepen.min.css' + ] + }); - selector: 'textarea', // note the comma at the end of the line! - toolbar: 'newdocument | undo redo | formatselect fontselect fontsizeselect | bold italic | alignleft aligncenter alignright', - menubar: false -}); diff --git a/server.py b/server.py new file mode 100644 index 0000000..0378fbb --- /dev/null +++ b/server.py @@ -0,0 +1,22 @@ +import SocketServer +import BaseHTTPServer +import SimpleHTTPServer + +class ThreadingSimpleServer(SocketServer.ThreadingMixIn, + BaseHTTPServer.HTTPServer): + pass + +import sys + +if sys.argv[1:]: + port = int(sys.argv[1]) +else: + port = 8000 + +server = ThreadingSimpleServer(('', port), SimpleHTTPServer.SimpleHTTPRequestHandler) +try: + while 1: + sys.stdout.flush() + server.handle_request() +except KeyboardInterrupt: + print "Finished" \ No newline at end of file