{% extends "layout.html" %} {% block title %}Your current software folder{% endblock %} {% block head %} {{ super() }} <link href="{{ url_for('static', filename='css/jqueryFileTree.css', _external=False) }}" rel="stylesheet" type="text/css" media="screen" /> <script src="{{ url_for('static', filename='js/jquery/jqueryFileTree.js') }}" type="text/javascript" charset="utf-8"></script> <script src="{{ url_for('static', filename='js/scripts/softwareFolder.js') }}" type="text/javascript" charset="utf-8"></script> <script src="{{ url_for('static', filename='js/ace/ace-uncompressed.js') }}" type="text/javascript" charset="utf-8"></script> <script src="{{ url_for('static', filename='js/ace/theme-crimson_editor.js') }}" type="text/javascript" charset="utf-8"></script> <script src="{{ url_for('static', filename='js/ace/mode-buildout.js') }}" type="text/javascript" charset="utf-8"></script> <script src="{{ url_for('static', filename='js/ace/mode-python.js') }}" type="text/javascript" charset="utf-8"></script> <script src="{{ url_for('static', filename='js/ace/mode-php.js') }}" type="text/javascript" charset="utf-8"></script> {% endblock %} {% block body %} <form action="" method=post> <input type="hidden" name="project" id="project" value="{{project}}" /> <input type="hidden" name="workdir" id="workdir" value="{{workDir}}" /> <input type="hidden" name="subfolder" id="subfolder" value="" /> <div id="software_folder"> <h2 class="hight show" id="details_head">Current software file content</h2> <div class="software_details" id="details_box"> <div id="fileTree" class="file_tree_short"></div> <div class="box_software"> <h2>Add new file or folder</h2> <input type="text" name="file" id="file" size='22' value="Enter name here..." /> <select name="type" id="type"> <option value="file">file</option> <option value="folder">folder</option> </select> <input type="submit" name="add" id ="add" value="Add" class="button"/> <br/><br/> <a href="#" id="switch" class="lshare">Switch to Project files</a> <a href="" id="clearselect" class="lshare">Clear selection</a><br/><br/> <div id="file_info" class="file_info"><span id="info">Select parent directory or nothing for root...</span></div> </div> <div class="clear"></div> </div> <div id="code" style="margin-top:10px"> <h2 id="edit_info">Edit your selected file</h2> <div class="main_content"> <pre id="editor"> </pre> </div> <input type=submit value=Update id="save" class="button"> </div> </div> </form> {% endblock %}