diff options
author | Jayaram R Pai | 2014-09-17 17:21:13 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-09-17 17:21:13 +0530 |
commit | 262a34b6259af5c65bed34e92b56ae26f70bbf10 (patch) | |
tree | b1c1edb720b06ad20e360f38c24caa7d137a6277 | |
parent | 83f86d8caef9e4f9713867d5917c20df59d41581 (diff) | |
download | scilab-on-cloud-262a34b6259af5c65bed34e92b56ae26f70bbf10.tar.gz scilab-on-cloud-262a34b6259af5c65bed34e92b56ae26f70bbf10.tar.bz2 scilab-on-cloud-262a34b6259af5c65bed34e92b56ae26f70bbf10.zip |
added favicon, changed tornado port
-rw-r--r-- | static/website/images/favicon.ico | bin | 0 -> 4286 bytes | |||
-rw-r--r-- | static/website/templates/index.html | 1 | ||||
-rw-r--r-- | tornado_main.py | 2 | ||||
-rw-r--r-- | website/templates/index.html | 129 |
4 files changed, 2 insertions, 130 deletions
diff --git a/static/website/images/favicon.ico b/static/website/images/favicon.ico Binary files differnew file mode 100644 index 0000000..273cd7e --- /dev/null +++ b/static/website/images/favicon.ico diff --git a/static/website/templates/index.html b/static/website/templates/index.html index 88abbf8..10ad140 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -8,6 +8,7 @@ <link href="{% static 'website/css/fullscreen.css'%}" rel="stylesheet"/> <link href="{% static 'website/css/monokai.css' %}" rel="stylesheet"/> <link href="{% static 'website/css/main.css' %}" rel="stylesheet"/> + <link rel="shortcut icon" type="image/png" href="{% static 'website/images/favicon.ico' %}"/> {% dajaxice_js_import %} </head> <body> diff --git a/tornado_main.py b/tornado_main.py index d50fae9..534a5a6 100644 --- a/tornado_main.py +++ b/tornado_main.py @@ -14,7 +14,7 @@ import tornado.web import tornado.wsgi import os -define('port', type=int, default=8000) +define('port', type=int, default=8080) # Custom settings from soc.settings import PROJECT_DIR diff --git a/website/templates/index.html b/website/templates/index.html deleted file mode 100644 index 88abbf8..0000000 --- a/website/templates/index.html +++ /dev/null @@ -1,129 +0,0 @@ -{% load static %} -{% load dajaxice_templatetags %} -<html> - <head> - <title>Scilab on Cloud</title> - <link href="{% static 'website/css/base.css' %}" rel="stylesheet"/> - <link href="{% static 'website/css/codemirror.css' %}" rel="stylesheet"/> - <link href="{% static 'website/css/fullscreen.css'%}" rel="stylesheet"/> - <link href="{% static 'website/css/monokai.css' %}" rel="stylesheet"/> - <link href="{% static 'website/css/main.css' %}" rel="stylesheet"/> - {% dajaxice_js_import %} - </head> - <body> - <div id="header-wrapper"> - <div id="header-inner"> - <div id="topbar"> - <img id="home-logo" src="{% static 'website/images/home-logo.png' %}"> - <span id="title"> - Scilab on Cloud - </span> - <div id="navlinks"> - <ul> - <li><a class="node" data-key="about" href="#">About</a></li> - <li><a class="node" data-key="invitation" href="#">Invitation</a></li> - <li><a class="node" data-key="contact" href="#">Contact Us</a></li> - <img id="scilab-logo" src="{% static 'website/images/scilab-logo.png'%}" width="100px"> - </ul> - <div class="clearfix"></div> - </div> <!-- /#navlinks --> - </div> <!-- /#topbar --> - </div> <!-- /#header-inner --> - </div> <!-- /#header-wrapper --> - <div id="content-wrapper"> - <div id="content-inner"> - <div id="selectors"> - <div id="category-wrapper"> - <label>Category: </label> - <select id="categories"> - <option value="">Select Category</option> - <option value="10">Analog Electronics</option> - <option value="3">Chemical Engineering</option> - <option value="12">Computer Programming</option> - <option value="2">Control Theory & Control Systems</option> - <option value="7">Digital Communications</option> - <option value="11">Digital Electronics</option> - <option value="8">Electrical Technology</option> - <option value="1">Fluid Mechanics</option> - <option value="9">Mathematics & Pure Science</option> - <option value="5">Mechanical Engineering</option> - <option value="6">Signal Processing</option> - <option value="4">Thermodynamics</option> - <option value="13">Others</option> - </select> - <a href="#" class="extra-link" id="contributor">+Contributor</a> - </div> - <div id="books-wrapper"></div> - <div id="chapters-wrapper"></div> - <div id="examples-wrapper"></div> - </div> - <div id="content"> - <div id="input"> - <label> - Scilab Code - <span id="controls"> - <a href="#" id="toggle-code"> - <img src="{% static 'website/images/icon-toggle.png'%}"> - </a> - <a href="#" id="fullscreen-code"> - <img src="{% static 'website/images/icon-fullscreen.png'%}"> - </a> - </span> <!-- /#controls --> - </label> - <form> - <textarea id="code" placeholder="Write a new code or select existing from above category..."></textarea> - </form> - </div><!-- /#input --> - <a id="execute" class="button"><span id="execute-inner">Execute</span></a> - - <div id="output"> - <label> - Result - <span id="controls"> - <a href="#" id="toggle-result"> - <img src="{% static 'website/images/icon-toggle.png'%}"> - </a> - <a href="#" id="fullscreen-result"> - <img src="{% static 'website/images/icon-fullscreen.png'%}"> - </a> - </span> <!-- /#controls --> - </label> - <textarea id="result"></textarea> - </div> <!-- /#output --> - <a id="bug" class="button">Report bug / Give Feedback</a> - - <div id="credits"> - <small> - Disclaimer: Scilab is a trademark of Inria - (registered at the INPI for France and the rest of the World) - and Scilab Enterprises is granted exclusive rights for - Scilab Trademark. - </small> - Copyright IIT Bombay - </div> <!-- /#credits --> - </div> <!-- /#content --> - </div> <!-- /#content-inner --> - </div> <!-- /#content-wrapper --> - - <div id="plotbox-wrapper"> - <div id="plotbox"></div> - </div> <!-- /#plotbox-wrapper --> - - <div id="databox-wrapper"> - <div id="databox"></div> - </div> <!-- /#databox-wrapper --> - - <div id="bug-form-wrapper"> - </div> <!-- /#databox-wrapper --> - - <script src="{% static 'website/js/jquery-1.10.2.min.js' %}"></script> - <script src="{% static '/static/dajax/jquery.dajax.core.js' %}"></script> - <script src="{% static 'website/js/codemirror.js'%}"></script> - <script src="{% static 'website/js/javascript.js'%}"></script> - <script src="{% static 'website/js/fullscreen.js'%}"></script> - <script src="{% static 'website/js/placeholder.js'%}"></script> - <script src="{% static 'website/js/lightbox_me.js'%}"></script> - <script src="{% static 'website/js/cloud.js'%}"></script> - {% csrf_token %} - </body> -</html> |