Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / templates / partials / machines_single.html @ 91c7b930

History | View | Annotate | Download (9.2 kB)

1
{% load i18n %}
2
<div id="machinesview-single" class="single">
3
    <div class="large-spinner"></div>
4
    <div class="single-container single-container-template" id="machine-container-template" style="display:none;" >
5
        <div class="upper clearfix">
6
            <div class="column1">
7
                <div class="connect-border" title="{% trans 'Connect to machine' %}"></div>
8
                <div class="connect-arrow" title="{% trans 'Connect to machine' %}"></div>
9
                <div class="single-image logo"></div>
10
                <div class="state">
11
                    <span class="state-label">{% trans "Running" %}</span>
12
                    <div class="indicators">
13
                        <div class="indicator1"></div>
14
                        <div class="indicator2"></div>
15
                        <div class="indicator3"></div>
16
                        <div class="indicator4"></div>
17
                    </div>
18
                    <div class="project-name-cont">
19
                      <span class="project-name"></span>
20
                    </div>
21
                    <div class="action-indicator" style="display:none">empty</div>
22
                    <img class="spinner" style="display:none" src="{{ SYNNEFO_IMAGES_URL }}icons/indicators/medium/progress.gif" />
23
                    <img class="wave" style="display:none" src="{{ SYNNEFO_IMAGES_URL }}icons/indicators/medium/wave.gif" />
24
                </div>
25
                <div class="progress-message">
26
                        <div class="build-progress">
27
                          <span class="message"></span>
28
                          <span class="btn">details</span>
29
                        </div>
30
                </div>
31
            </div>
32
            <div class="title machine-detail name">My Desktop</div>
33
            <div class="suspended-notice">SUSPENDED</div>
34
            <div class="column2">
35
                <div class="fqdn"></div>
36
                <div class="machine-labels">
37
                    <div class="machine-label cpus">{% trans "CPUs" %}:</div>
38
                    <div class="machine-label ram">{% trans "RAM (MB)" %}:</div>
39
                    <div class="machine-label disk">{% trans "System Disk (GB)" %}:</div>
40
                    <div class="machine-label image-name">{% trans "Image Name" %}:</div>
41
                    <div class="machine-label image-size">{% trans "Image Size (MB)" %}:</div>
42
                </div>
43
                <div class="machine-details">
44
                    <div class="machine-detail cpus trigger-resize">4</div>
45
                    <div class="machine-detail ram trigger-resize">2048</div>
46
                    <div class="machine-detail disk">100</div>
47
                    <div class="machine-detail image-name">windos_XP_blah_blah</div>
48
                    <div class="machine-detail image-size">2.3</div>
49
                </div>
50
                <div class="tags machine">
51
                  <div class="togglers clearfix">
52
                    <div class="tags-header toggler-header">
53
                        <span class="info-header cont-toggler toggler">
54
                            <span class="label">{% trans "tags" %}</span>
55
                        </span>
56
                    </div>
57
                    <div class="cont-toggler-wrapper toggler-header ips">
58
                      <span class="info-header cont-toggler toggler">
59
                        <span class="label">{% trans "IP addresses" %}</span>
60
                      </span>
61
                    </div>
62
                  </div>
63
                  <div class="togglers-content">
64
                    <div class="tags-content toggler-content">
65
                      <div class="metadata-keys-container">
66
                        <div class="items">
67
                        </div>
68
                      </div>
69
                      <a href="#" class="manage-metadata">{% trans "Manage Tags" %}</a>
70
                    </div>
71
                    <div class="ips-content toggler-content hidden info-content">
72
                    </div>
73
                  </div>
74
                </div>
75
            </div>
76
            <div class="col3">
77
                <div class="vm-actions single-actions">
78
                    <div class="action-container start">
79
                        <a class="single-action action-start">{% trans "Start" %}</a>
80
                        <div class="confirm_single">
81
                            <button class="yes">{% trans "Confirm" %}</button>
82
                            <button class="no">X</button>
83
                        </div>
84
                    </div>
85
                    <div class="action-container reboot">
86
                        <a class="single-action action-reboot">{% trans "Reboot" %}</a>
87
                        <div class="confirm_single">
88
                            <button class="yes">{% trans "Confirm" %}</button>
89
                            <button class="no">X</button>
90
                        </div>
91
                    </div>
92
                    <div class="action-container shutdown">
93
                        <a class="single-action action-shutdown">{% trans "Shutdown" %}</a>
94
                        <div class="confirm_single">
95
                            <button class="yes">{% trans "Confirm" %}</button>
96
                            <button class="no">X</button>
97
                        </div>
98
                    </div>
99
                    <div class="action-container console">
100
                        <a class="single-action action-console">{% trans "Console" %}</a>
101
                        <div class="confirm_single">
102
                            <button class="yes">{% trans "Confirm" %}</button>
103
                            <button class="no">X</button>
104
                        </div>
105
                    </div>
106
                    <div class="action-container resize">
107
                        <a class="single-action action-resize">{% trans "Resize" %}</a>
108
                        <div class="confirm_single">
109
                            <button class="yes">{% trans "Confirm" %}</button>
110
                            <button class="no">X</button>
111
                        </div>
112
                    </div>
113
                    <div class="action-container destroy">
114
                        <a class="single-action action-destroy">{% trans "Destroy" %}</a>
115
                        <div class="confirm_single">
116
                            <button class="yes">{% trans "Confirm" %}</button>
117
                            <button class="no">X</button>
118
                        </div>
119
                    </div>
120
                </div>
121
                <div class="action-error hidden action_error" align="center">
122
                    <div class="action-error-msg">
123
                        {% trans "<span>Error</span> on" %} <span class="action">{% trans "error action" %}</span>
124
                        <span class="code"></span>
125
                        <span class="message"></span>
126
                    </div>
127
                    <button class="show-action-error details">{% trans "Details" %}</button>
128
                    <button class="close-action-error"></button>
129
                </div>
130
                <div class="vms-menu-cont">
131
                </div>
132
            </div>
133
        </div>
134
        <div class="lower clearfix">
135
            <div class="stats-select clearfix">
136
                <span class="stats-select-option stats-hourly">{% trans "Hourly" %}</span>
137
                <span class="stats-select-option stats-weekly selected">{% trans "Weekly" %}</span>
138
            </div>
139
            <div class="single-cpu">
140
                <div class="cpu-usage">
141
                    {% trans "CPU Utilization" %}
142
                </div>
143
                <div class="cpu-graph">
144
                    <img src="{{ SYNNEFO_IMAGES_URL }}placeholder.png" class="stat-img stats series" />
145
                    <img src="{{ SYNNEFO_IMAGES_URL }}icons/indicators/small/progress.gif" class="stat-busy" />
146
                    <div class='stat-error'>{% trans "Could not fetch CPU stats graph." %}</div>
147
                </div>
148
            </div>
149
            <div class="single-network">
150
                <div class="network-usage">
151
                    {% trans "Network Utilization" %}
152
                </div>
153
                <div class="network-graph">
154
                    <img src="{{ SYNNEFO_IMAGES_URL }}placeholder.png" class="stat-img stats series" />
155
                    <img src="{{ SYNNEFO_IMAGES_URL }}icons/indicators/small/progress.gif" class="stat-busy" />
156
                    <div class='stat-error'>{% trans "Could not fetch Net stats graph." %}</div>
157
                </div>
158
            </div>
159
        </div>
160
    </div>
161
    <div class="column3" style="display:none;">
162
        <div class="controls clearfix">
163
            <div class="previous vm-control" style="display:block;">
164
                <div class="prev-arrow"></div>
165
                <div class="prev-label">
166
                    {% trans "previous" %}
167
                </div>
168
            </div>
169
            <div class="next vm-control" style="display:block;">
170
                <div class="next-arrow"></div>
171
                <div class="next-label">
172
                    {% trans "next" %}
173
                </div>
174
            </div>
175
        </div>
176
        <div class="servers" id="single-servers-list">
177
            <div class="server-name" id="servers-widget-template" style="display:none;">server1</div>
178
        </div>
179
    </div>
180
</div>