diff options
author | prashantsinalkar | 2019-06-28 21:44:43 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-06-28 21:44:43 +0530 |
commit | 1473227a75101f5b76d6b522da5737df2f5eb058 (patch) | |
tree | dab59c0b7970a0b059d4eeb84aafd54e14ed47e9 /static/website/templates/review-interface.html | |
parent | 459d1aec769f62570af51a3a53ebe0bce4a6754c (diff) | |
download | R_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.tar.gz R_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.tar.bz2 R_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.zip |
added basic interface for development
Diffstat (limited to 'static/website/templates/review-interface.html')
-rw-r--r-- | static/website/templates/review-interface.html | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/static/website/templates/review-interface.html b/static/website/templates/review-interface.html new file mode 100644 index 0000000..19b4fd9 --- /dev/null +++ b/static/website/templates/review-interface.html @@ -0,0 +1,111 @@ +{% load static %} +{% load dajaxice_templatetags %} +<html> + {% include 'website/templates/head.html' %} + <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> + {% if user and not user.is_anonymous %} + {% if user.is_staff %} + <li><a data-key="index" href="/">Go Back</a></li> + <li><a data-key="logout" href="/logout">Log out</a></li> + {% endif %} + {% endif %} + <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="review-revisions-wrapper"> + {% if revisions %} + <label>Revisions pending review: </label> + <select id="review-revisions"> + <option value="">Select a revision</option> + {% for revision in revisions %} + <option value="{{ revision.id }}">{{ revision.example_file.filepath }} - {{ revision.timestamp }}</option> + {% endfor %} + </select> + {% endif %} + + <div id="revision-details-wrapper"> + <!-- <p>random</p> --> + <div id="category"></div> + <div id="book"></div> + <div id="chapter"></div> + <div id="example"></div> + <div id="commit-message"></div> + + </div> + </div> + + <div id="content"> + <div id="input"> + <label> + Scilab Code + <span id="controls"> + <a href="#" id="review-toggle-code"> + <img src="{% static 'website/images/icon-toggle.png'%}"> + </a> + <a href="#" id="review-fullscreen-code"> + <img src="{% static 'website/images/icon-fullscreen.png'%}"> + </a> + </span> <!-- /#controls --> + </label> + <form> + <textarea id="review-code"></textarea> + </form> + </div><!-- /#input --> + + <div id="review-control-buttons"> + <a id="execute-revision" class="button"><span id="execute-inner">Execute</span></a> + <a id="push" class="button"><span id="push-inner">Push revision</span></a> + <a id="remove" class="button"><span id="remove-inner">Remove revision</span></a> + </div> + + <div id="output"> + <label> + Result + <span id="controls"> + <a href="#" id="review-toggle-result"> + <img src="{% static 'website/images/icon-toggle.png'%}"> + </a> + <a href="#" id="review-fullscreen-result"> + <img src="{% static 'website/images/icon-fullscreen.png'%}"> + </a> + </span> <!-- /#controls --> + </label> + <textarea id="review-result"></textarea> + </div> <!-- /#output --> + + <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 --> + + {% include 'website/templates/footer.html' %} + <script src="{% static 'website/js/review.js'%}"></script> + + {% csrf_token %} + </body> +</html> |