Revision a09987c3 ui/templates/machines_icon.html

b/ui/templates/machines_icon.html
77 77
                    <div class="vm-stats metadata-column">
78 78
                        <div class='stat-label'>{% trans "CPU" %}</div>
79 79
                        <div class='stat-content cpu-cont'>
80
                            <img src="./static/icons/indicators/small/progress.gif" class="cpu bar" />
80
                            <img src="./static/placeholder.png" class="cpu bar" />
81 81
                            <img src="./static/icons/indicators/small/progress.gif" class="stat-busy" />
82 82
                            <div class='stat-error'>{% trans "Could not fetch CPU stats graph." %}</div>
83 83
                        </div>
84 84
                        <div class='stat-label'>{% trans "Net" %}</div>
85 85
                        <div class='stat-content net-cont'>
86
                            <img src="./static/icons/indicators/small/progress.gif" class="net bar" />
86
                            <img src="./static/placeholder.png" class="net bar" />
87 87
                            <img src="./static/icons/indicators/small/progress.gif" class="stat-busy" />
88 88
                            <div class='stat-error'>{% trans "Could not fetch Net stats graph." %}</div>
89 89
                        </div>
......
266 266
    } else {
267 267
        // reset stats
268 268
        $(this).closest('.machine-container').find('.vm-stats div.stat-error').hide();
269
        $(this).closest('.machine-container').find('.vm-stats img.cpu').attr('src', './static/icons/indicators/small/progress.gif').show();
270
        $(this).closest('.machine-container').find('.vm-stats img.net').attr('src', './static/icons/indicators/small/progress.gif').show();
271 269
        // get new stats
272 270
        var serverID = $(this).closest('.machine-container').attr('id');
273 271
        get_server_stats(serverID);

Also available in: Unified diff