Statistics
| Branch: | Tag: | Revision:

root / ui / templates / list.html @ ffe60d9d

History | View | Annotate | Download (1.7 kB)

1
<div id="instancesview" class="list">
2

    
3
    <div class="actions">
4
        <a>Start</a>
5
        <a>Reboot</a>
6
        <a>Shutdown</a>
7
        <br />
8
        <a>Destroy</a>
9
        <br />
10
        <a>Show Details</a>
11
        <a>Add to group</a>
12
        <br />
13
        <a>Out of band</a>
14
        <br />
15
        <a>Attach disk</a>
16
        <a>Detach disk</a>
17
        <br />
18
        <a>Connect to network</a>
19
        <a>Disconnect from net</a>
20
    </div>
21
    <div class="active">
22
        {% for node in nodes %}
23
            {% if node.state == '3' %}
24
                <div class="running">
25
                    <label> 
26
                        <input type="checkbox" class="instance" id={{ node.id }} />
27
                        <img src={{ node.thumb }} width="16" height="16" />
28
                        <span>{{ node.name }}</span> | 
29
                        <span>{{ node.public_ip }}</span> | 
30
                        group
31
                    </label>
32
                    <div class="state">Running</div>
33
                </div>
34
            {% endif %}
35
        {% endfor %}
36
    </div>
37
    <div id="mini" class="seperator"></div>
38
    <div class="inactive">
39
        {% for node in nodes %}
40
            {% if node.state == '0' %}
41
                <div class="stopped">
42
                    <label> 
43
                        <input type="checkbox" class="instance" id={{ node.id }} />
44
                        <img src={{ node.thumb }} width="16" height="16" />
45
                        <span>{{ node.name }}</span> | 
46
                        <span>{{ node.public_ip }}</span> | 
47
                        group
48
                    </label>
49
                    <div class="state">Terminated</div>
50
                </div>
51
            {% endif %}
52
        {% endfor %}
53
    </div>
54
</div>