updateInstanceProfile.html 1.72 KB
Newer Older
Łukasz Nowak's avatar
Łukasz Nowak committed
1
{% extends "layout.html" %}
2
{% block title %}Update instance profile{% endblock %}
3 4
{% block head %}
  {{ super() }}
5
    <script src="{{ url_for('static', filename='js/ace/ace.js') }}" type="text/javascript" charset="utf-8"></script>
6 7 8
    <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/scripts/editor.js') }}" type="text/javascript" charset="utf-8"></script>
9
{% endblock %}
Łukasz Nowak's avatar
Łukasz Nowak committed
10
{% block body %}
11
<form method=post class=add-entry>
12
    <dl>
Alain Takoudjou's avatar
Alain Takoudjou committed
13
        <dd><h2>Edit instance profile <a href='#' id="editOption" rel="tooltip" title='Show more option'>[More]</a>:</h2></dd>
14
        <dd><div class='md5sum' id='md5sum'></div></dd>
15
        <dd>
16
            <div class="main_content">
17 18
<pre id="editor"></pre>
            <input type="hidden" name="profile" id="profile" value="{{ profile|safe }}" />
19
	    <input type="hidden" name="workdir" id="workdir" value="{{workDir}}"/>
20 21
            </div>
        </dd>
22
        <dd><input type=submit value=Save id="save" class="button"></dd>
23 24
    </dl>
</form>
Alain Takoudjou's avatar
Alain Takoudjou committed
25 26
<div id="tooltip-editOption" style="display:none">
  <span class="list">MD5 SUM for the current file</span>
27
    <a id='getmd5' href="#">Get or Update md5sum</a>
28 29
    <div class="sep"></div>
    <span class="list">Add Project to Develop</span><br/>
30 31
    <ul id="plist">
    {% for name in projectList%}
Alain Takoudjou's avatar
Alain Takoudjou committed
32 33
  <li><input type="checkbox" name="develop" value="{{name}}" id="{{name}}">
	<label>{{name}}</label></li>
34 35 36 37
    {% endfor %}
    </ul>
    <a href="#" id="adddevelop" class="lshare">Add to profile</a>
</div>
Łukasz Nowak's avatar
Łukasz Nowak committed
38 39
{% endblock %}